Release 1.0.0

Update the major version because the external API to play videos
received non-backward compatible changes.
This commit is contained in:
Thomas 2021-04-08 22:05:12 +00:00
parent a86f2b8f09
commit 77ce68a637
3 changed files with 21 additions and 21 deletions

View File

@ -1,13 +1,15 @@
A Kodi add-on for watching content hosted on [Peertube](http://joinpeertube.org/). A Kodi add-on for watching content hosted on [PeerTube](http://joinpeertube.org/).
This code is still proof-of-concept but it works, and you're welcome to improve This code is under development but some basic features work, and you're welcome
it. to improve it.
[[_TOC_]]
# Features # Features
* Browse all videos on a PeerTube instance * Browse all videos on a PeerTube instance
* Search for videos on a PeerTube instance * Search for videos on a PeerTube instance
* Select Peertube instance to use (Doesn't work yet) * Select PeerTube instance to use (**doesn't work yet**)
* Select the preferred video resolution: the plugin will try to play the select * Select the preferred video resolution: the plugin will try to play the select
video resolution. video resolution.
If it's not available, it will play the lower resolution that is the closest If it's not available, it will play the lower resolution that is the closest
@ -47,14 +49,12 @@ the add-on with:
# Limitations # Limitations
* This add-on doesn't support Webtorrent yet. So, it cannot download/share * This add-on doesn't support Webtorrent yet. So, it cannot download/share
from/to regular PeerTube clients. The reason is that it uses the libtorrent from/to regular PeerTube clients.
python library which doesn't support it yet (see
https://github.com/arvidn/libtorrent/issues/223)
* The add-on doesn't delete the downloaded files at the moment. So, it may fill * The add-on doesn't delete the downloaded files at the moment. So, it may fill
up your disk. up your disk.
# Requirements # Installation and requirements
* Kodi 17 (Krypton) or above Please read the
* [libtorrent](https://libtorrent.org/) python bindings must be installed on [wiki](https://framagit.org/StCyr/plugin.video.peertube/-/wikis/home)
your machine (on Debian type `apt install python-libtorrent` as root). for more information.

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.peertube" name="PeerTube" version="0.3.2" provider-name="Cyrille B. + Thomas B."> <addon id="plugin.video.peertube" name="PeerTube" version="1.0.0" provider-name="Cyrille B. + Thomas B.">
<requires> <requires>
<import addon="xbmc.python" version="2.25.0"/> <import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.addon.signals" version="0.0.3"/> <import addon="script.module.addon.signals" version="0.0.3"/>
@ -19,16 +19,16 @@
<forum></forum> <forum></forum>
<website>https://joinpeertube.org</website> <website>https://joinpeertube.org</website>
<source>https://framagit.org/StCyr/plugin.video.peertube</source> <source>https://framagit.org/StCyr/plugin.video.peertube</source>
<news> <news>1.0.0
0.3.2
Bug fixes and improvements Important note: if you are migrating from a version older than 1.x.x, ensure the URL of your preferred instance is not prefixed with "https://" (you may reset the add-on settings to default to use a valid initial value).
Fixes:
- the search filter 'all-local' was selected by default which resulted in errors New features:
* Provide an external API requiring only the instance and the id of the video
* Guide the user when libtorrent cannot be imported
Improvements: Improvements:
- Replace urllib with requests to simplify the code * Speed up the listing of videos when searching or browsing (the resolution and the full URL are now defined only when the user plays a video)
- Handle better the errors when sending requests to the PeerTube instance
- Create a logging function to improve maintainability
- Warn the user that the 'all-local' filter requires admin privileges
</news> </news>
<assets> <assets>
<icon>icon.png</icon> <icon>icon.png</icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB