2016-02-03 16:37:49 +03:00
|
|
|
python-libtorrent for Kodi
|
2015-07-11 23:49:53 +03:00
|
|
|
==================
|
2016-03-14 16:02:24 +03:00
|
|
|
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
**Support**
|
|
|
|
- English forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
|
|
|
|
- Russian forum: http://xbmc.ru/forum/showthread.php?t=4728
|
2016-02-03 16:37:49 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
**Used in projects**
|
2016-02-03 16:37:49 +03:00
|
|
|
- [Torrenter v2](https://github.com/DiMartinoXBMC/plugin.video.torrenter)
|
|
|
|
- [YATP](https://github.com/romanvm/kodi.yatp)
|
2016-03-14 16:02:24 +03:00
|
|
|
- [pyrrent2http](https://github.com/inpos/script.module.pyrrent2http)
|
2015-07-11 23:52:09 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
**Usage**
|
2016-02-03 16:42:53 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
Add module in requires of your addon.xml:
|
2016-02-03 16:37:49 +03:00
|
|
|
```python
|
|
|
|
<import addon="script.module.libtorrent"/>
|
|
|
|
```
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
Use it in any python file:
|
2016-02-03 16:37:49 +03:00
|
|
|
```python
|
|
|
|
from python_libtorrent import get_libtorrent
|
|
|
|
libtorrent=get_libtorrent()
|
|
|
|
```
|
2015-07-11 23:49:53 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
**License**
|
2016-02-03 16:42:53 +03:00
|
|
|
|
2016-02-03 16:41:45 +03:00
|
|
|
MIT License
|