Cyrille Bollu
0750029db7
Added a timeout of 10 seconds to download the torrent's metadata.
2018-07-31 15:16:24 +02:00
Cyrille Bollu
267e15cc0f
Do not sort addon's main menu
2018-07-31 15:08:46 +02:00
Cyrille Bollu
31e2ce12dc
Added a note about the non-deletion of downloaded files in the README.md file
2018-07-31 12:43:16 +02:00
Cyrille Bollu
c87268a005
Added a "Limitations" chapter in the README.md file to talk about the
...
fact that webtorrent isn't supported yet.
2018-07-31 12:40:56 +02:00
Cyrille Bollu
e9f81c8370
Made the items_per_page user setting configurable.
2018-07-31 12:23:16 +02:00
Cyrille Bollu
cf327ed39c
Documented addon functionalities in README.md file
2018-07-31 11:43:38 +02:00
Cyrille Bollu
382de6d954
FIxed the test used to decide whether to display a 'Next' button or not.
2018-07-31 10:43:17 +02:00
Cyrille Bollu
d41c770f41
Removed the "Previous" button as the ".." link already does the same
...
(It's how the youtube-dl addon does it actualy)
2018-07-31 10:36:55 +02:00
Famille Bollu
0ad354fb0d
Fixed some bugs due to latest commit
2018-07-30 21:24:41 +02:00
Famille Bollu
d648fd7728
Prepared for the 'select other instance' functionality
2018-07-30 21:17:08 +02:00
Famille Bollu
d4ca543e39
Bumped revision number to 0.2.1
2018-07-30 21:06:50 +02:00
Famille Bollu
33ce01e69a
Added a 'video sort method' setting
2018-07-30 21:04:15 +02:00
Famille Bollu
4ab6cef360
Added basic error handling around ithe two calls to urllib2.urlopen
2018-07-30 20:42:03 +02:00
Famille Bollu
3debccfea7
Fixed some bugs. "Search" functionality still doesn't work though
2018-07-30 12:33:37 +02:00
Famille Bollu
3ed67098eb
Bumped to version 0.2.0
2018-07-30 12:02:23 +02:00
Famille Bollu
ac976ab8cf
Implemented 'search video on selected instance' functionality
2018-07-30 12:00:27 +02:00
Famille Bollu
0f11b12350
Corrected a bug where I used the 'start' parameter as an int when it was a str
2018-07-30 11:28:27 +02:00
Famille Bollu
4916d6a757
Do not sort videos alphabeticaly
2018-07-30 11:19:58 +02:00
Famille Bollu
ffead3ee69
Implemented navigation in 'browse selected instance' menu
2018-07-29 22:15:06 +02:00
Famille Bollu
4b9e5a26b4
Started implementing the items_per_page functionality
2018-07-28 13:54:19 +02:00
Famille Bollu
9351feff80
Added an items_per_page setting to allow user to specify the number of videos
...
she wants to display per page.
Functionality not implemented yet though.
2018-07-28 13:44:57 +02:00
Famille Bollu
8f1749b8ef
Added a main menu + started implementing paginated video list
2018-07-28 13:35:28 +02:00
Famille Bollu
864a0ffa1d
Updated addon.xml vor version 0.1.1 of the addon
2018-07-27 18:43:32 +02:00
Famille Bollu
2d02a5c8ed
Had forgot a 'self' as argument of the play_video_continue function.
...
Addon seems to work now
2018-07-27 18:40:24 +02:00
Famille Bollu
0d63448e8f
Fixed a bug in PeertubeDownloader.run() where I was refering to variable 'torrent'
...
instead of 'self.torrent'
2018-07-27 17:37:48 +02:00
Cyrille Bollu
4c47e8e382
Limit the number of results from the GET /videos API call.
2018-07-27 15:05:09 +02:00
Cyrille Bollu
fe91fa4e90
Added the 'preferred_instance" setting to allow the user to specify a
...
preferred peerinstance to connect to (defaults to 'https://framatube.org ')
2018-07-27 14:43:21 +02:00
Cyrille Bollu
98fb894ab3
Updated requirements (script.module.addon.signals is part of Kodi 17+ and automaticaly installed.
...
So, no need to specify it)
2018-07-27 11:38:37 +02:00
Cyrille Bollu
143e066fbc
Changed logging level to LOGDEBUG as requested by https://kodi.wiki/view/Add-on_rules
2018-07-27 11:26:40 +02:00
Cyrille Bollu
fbd6a0599e
Fixed file permission
2018-07-27 11:24:08 +02:00
Cyrille Bollu
cea68a9bcd
Added README.md file
2018-07-27 11:05:13 +02:00
Cyrille Bollu
ef8f704e25
Put addon in version 0.1.0
2018-07-27 10:58:27 +02:00
Cyrille Bollu
3cbf940e82
Updated code to use torrent files rather than magnets (For some reason magnet files
...
provided by peerTube don't work) + refactored code related to the management of the
addon's temporary directory
2018-07-27 10:55:50 +02:00
Famille Bollu
914bcb9234
Added logging
2018-07-27 07:40:45 +02:00
Famille Bollu
8110fa2b7d
Fixed a typo to get the state of a torrent'status
2018-07-26 22:34:26 +02:00
Famille Bollu
f2dd0e0a3a
forgot a "self" argument to the peertubeService's init function
2018-07-26 22:23:31 +02:00
Famille Bollu
c9d9b9e868
fixed a typo in call to torrent_handle.status()
2018-07-26 22:22:07 +02:00
Famille Bollu
55aa736e97
Fixed the PeertubeService's init function + added code to create our temporary directory
2018-07-26 22:20:43 +02:00
Famille Bollu
338f1cae9a
icon.png was bad
2018-07-26 22:08:38 +02:00
Famille Bollu
dcddedf299
in classes, callback functions should be specified self.callbackfunction and not just
...
callbackfunction (this time in the peertubeAddon class)
2018-07-26 21:59:50 +02:00
Famille Bollu
d38abc0bf6
Fixed a typo and an error in PeertubeDownloader's init function
2018-07-26 21:59:05 +02:00
Famille Bollu
db7984431b
write() can only use buffers of type strings or bytearrays, not buffers of unicode type
2018-07-26 21:54:59 +02:00
Famille Bollu
119667789d
Added the <icon> asset in addon.xml
2018-07-26 21:46:03 +02:00
Famille Bollu
37f1b91d54
Fixed an indentation issue in peertube.py + fixed an error when parsing the json result
...
of the call to api/v1/videos
2018-07-26 21:44:13 +02:00
Famille Bollu
4729397b16
in classes, callback functions should be specified self.callbackfunction and not just
...
callbackfunction
2018-07-26 21:37:08 +02:00
Famille Bollu
e54fedbf94
Added dependency on script.module.addon.signals
...
x
2018-07-26 21:26:23 +02:00
Famille Bollu
9b79c9dfa1
Cleaned import stanzas
2018-07-26 20:03:32 +02:00
Famille Bollu
1f1132f4fc
Refactored code to let the downloader thread be started by the service
2018-07-26 19:59:47 +02:00
Famille Bollu
c3271551f3
removed a redundant </extension> tag in addon.xml
2018-07-26 19:58:12 +02:00
Famille Bollu
9b140a77d3
Revert "Will use a downloader thread directly from peertube.py. Will not use a service anymore."
...
This reverts commit 5f590f48cd
.
In the end, a service is needed: The addon is ended when kodi starts playing the file, so the
downloader thread would be ended also. I need to launch the downloader thread from something that
isn't expected to end, which is why services exist.
2018-07-26 19:32:37 +02:00