Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Bétous 6d26b5d9c4 Add a button to open vfs.libtorrent settings 2021-11-07 22:26:15 +01:00
Thomas Bétous 506f74a9e2 Backport changes from 89675dfb 2021-11-01 19:06:49 +01:00
Thomas Bétous 108fea515d Replace python-libtorrent with vfs.libtorrent
Now torrents are downloaded with vfs.libtorrent[1].

Some parts of the code were removed as they will probably be useless
in the future. For instance, the service is disabled (temporarily?)
because the download in background/foreground is now managed by
vfs.libtorrent.

Use the Read() API of vfs.libtorrent to retrieve the path where the
torrent was downloaded.
Also:
* Display a warning if there are more than 1 file in the torrent
because the add-on will play only the first file
* Remove the "start downloading" notification since an equivalent
  message is now displayed by vfs.libtorrent

[1]:https://framagit.org/thombet/vfs.libtorrent
2021-09-27 20:20:47 +02:00
Thomas 11b92d5896 Use the new format for settings.xml
* Convert settings.xml to the new format supported in Kodi 19
* Create help strings to guide the users

Note: the translation of the new help strings in German is missing.
2021-09-03 16:47:47 +00:00
Thomas 9e79850eee Add German translation and fix encoding errors
While adding the German translation some encodings errors occurred due
to non-ASCII characters. Only these errors were fixed because a full
analysis of the strings will be performed when implementing support for
python3.
2021-05-11 20:42:50 +00:00