2015-07-11 23:49:53 +03:00
Python-Libtorrent for Kodi
==================
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent for you. Example of usage is Torrenter v2 at https://github.com/DiMartinoXBMC/plugin.video.torrenter
2016-01-31 00:20:18 +03:00
- Forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
2015-07-11 23:49:53 +03:00
Usage
2015-07-11 23:52:35 +03:00
---------------
2015-07-11 23:52:09 +03:00
2015-07-11 23:55:10 +03:00
Add module in requires of your addon.xml::
2015-07-11 23:49:53 +03:00
2015-07-11 23:54:22 +03:00
< import addon = "script.module.libtorrent" / >
2015-07-11 23:49:53 +03:00
2015-07-11 23:55:10 +03:00
Use it in any python file::
2015-07-11 23:49:53 +03:00
2015-07-11 23:54:22 +03:00
from python_libtorrent import get_libtorrent
libtorrent=get_libtorrent()