Update Libtorrent installation

Thomas 2021-05-19 19:16:19 +02:00
parent 729e6b2d56
commit e5efbe9a3e
1 changed files with 4 additions and 16 deletions

@ -1,18 +1,6 @@
This add-on uses the [libtorrent](https://libtorrent.org/) library to download and play videos using the BitTorrent so the python bindings of libtorrent must be installed on your machine.
The PeerTube add-on uses the [libtorrent](https://libtorrent.org/) library to download and play videos using the BitTorrent protocol so the python bindings of libtorrent are required.
This library is imported only via the add-on [script.module.libtorrent](https://github.com/thombet/script.module.libtorrent) so this add-on is required.
The installation steps depend on your operating system.
The script.module.libtorrent add-on may not work on all the systems: you will find more information in [the wiki](https://github.com/thombet/script.module.libtorrent/wiki) of the add-on.
# Debian and associated (like OSMC)
On Debian, there are pre-compiled and ready to use python bindings which can be easily installed with the command `apt install python-libtorrent` (as root).
The add-on was successfully tested with python-libtorrent 1.1.11.0.
# Other OS
It is not clear yet whether other OS provides pre-compiled python bindings of libtorrent.
Any help is welcome to add information about other OS in this page :)
Note: a script add-on which contains pre-compiled python bindings exists: https://github.com/DiMartinoXBMC/script.module.libtorrent/
It is not maintained anymore but some forks were updated in 2020 so maybe this add-on will be supported in the future.
Using script.module.libtorrent is a temporary solution for Kodi 18 and a more stable solution will be developped for Kodi 19 (more information [here](https://framagit.org/StCyr/plugin.video.peertube/-/issues/14)).