Release 0.3.2

This commit is contained in:
Thomas 2021-04-08 21:04:46 +00:00
parent d657480eab
commit d14bf5b094
2 changed files with 28 additions and 47 deletions

View File

@ -1,13 +1,13 @@
A kodi addon 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 it.
# Functionalities
# Features
* Browse all videos on a PeerTube instance
* Search for videos on a PeerTube instance (Only supported by 1.0.0-beta10+ instances)
* Search for videos on a PeerTube instance
* Select Peertube instance to use (Doesn't work yet)
* Select the preferred video resolution; The plugin will try to play the select video resolution.
* Select the preferred video resolution: the plugin will try to play the select video resolution.
If it's not available, it will play the lower resolution that is the closest from your preference.
If not available, it will play the higher resolution that is the closest from your preference.
@ -16,15 +16,21 @@ If not available, it will play the higher resolution that is the closest from yo
* Preferred PeerTube instance
* Preferred video resolution
* Number of videos to display per page
* Sort method to be used when listing videos (Currently, only 'views' and 'likes')
* Sort method to be used when listing videos (Currently, only 'views' and
'likes')
* Select the filter to use when browsing the videos on an instance:
* local will only display the videos which are local to the selected instance
* all-local will only display the videos which are local to the selected
instance plus the private and unlisted videos **(requires admin privileges)**
# Limitations
* This addon doesn't support Webtorrent yet. So, it cannot download/share from/to regular PeerTube clients.
The reason is that it uses the libtorrent python libray which doesn't support it yet (see https://github.com/arvidn/libtorrent/issues/223)
* The addon doesn't delete the downloaded files atm. So, it may fills up your disk
* 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 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 fills up your disk.
# Requirements
* Kodi 17 or above
* libtorrent python bindings (https://libtorrent.org/). On Debian type `apt install python-libtorrent` as root.
* Kodi 17 (Krypton) or above
* [libtorrent](https://libtorrent.org/) python bindings must be installed on
your machine (on Debian type `apt install python-libtorrent` as root).

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.peertube" name="PeerTube" version="0.3.1.1" provider-name="Cyrille Bollu">
<addon id="plugin.video.peertube" name="PeerTube" version="0.3.2" provider-name="Cyrille B. + Thomas B.">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.addon.signals" version="0.0.3"/>
@ -18,45 +18,20 @@
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license>
<forum></forum>
<website>https://joinpeertube.org</website>
<email>cyrille.bollu2@gmail.com</email>
<source>https://github.com/StCyr/plugin.video.peertube</source>
<source>https://framagit.org/StCyr/plugin.video.peertube</source>
<news>
0.3.1.1
Add local videos only browsing
0.3.1
Fixed some bugs
The 'change current instance" functionality currently doesn't work because
the addon exits after every screen displayed. I must persist this value on
disk.
0.3.0
Implemented the 'Browse instances' functionality
0.2.2
Implemented the 'video sort method' functionality
0.2.1
Fixed some bugs
Added a 'video sort method' setting (functionality not implemented yet though)
0.2.0
Implemented 'browse selected instance' functionality
Implemented 'search videos on selected instance' functionality
0.1.1
4th PoC.
First functional PoC with background download
0.1.0
Third PoC (download in background should work. Needs testing though)
Downloader uses torrent files exclusively; magnet links don't work
0.0.3
Second PoC (download in background is almost there)
0.0.2
First PoC (download not in background)
0.0.1
Hello world
0.3.2
Bug fixes and improvements
Fixes:
- the search filter 'all-local' was selected by default which resulted in errors
Improvements:
- Replace urllib with requests to simplify the code
- 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>
<assets>
<icon>icon.png</icon>
<fanart></fanart>
<banner></banner>
<clearlogo></clearlogo>
<screenshot></screenshot>
<icon>icon.png</icon>
</assets>
</extension>
</addon>