2016-02-03 16:37:49 +03:00
|
|
|
python-libtorrent for Kodi
|
2015-07-11 23:49:53 +03:00
|
|
|
==================
|
2016-02-03 16:37:49 +03:00
|
|
|
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent for you.
|
2015-07-11 23:49:53 +03:00
|
|
|
|
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
|
|
|
|
2016-02-03 16:37:49 +03:00
|
|
|
Used in projects
|
|
|
|
----------------
|
|
|
|
|
|
|
|
- [Torrenter v2](https://github.com/DiMartinoXBMC/plugin.video.torrenter)
|
|
|
|
- [YATP](https://github.com/romanvm/kodi.yatp)
|
2015-07-11 23:52:09 +03:00
|
|
|
|
2016-02-03 16:37:49 +03:00
|
|
|
Usage
|
|
|
|
-----
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:37:49 +03:00
|
|
|
### Add module in requires of your addon.xml: ###
|
|
|
|
```python
|
|
|
|
<import addon="script.module.libtorrent"/>
|
|
|
|
```
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:37:49 +03:00
|
|
|
### Use it in any python file: ###
|
|
|
|
```python
|
|
|
|
from python_libtorrent import get_libtorrent
|
|
|
|
libtorrent=get_libtorrent()
|
|
|
|
```
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:37:49 +03:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
[GPL v.3](http://www.gnu.org/licenses/gpl-3.0.en.html).
|