MIT license
parent
2aa2eab12a
commit
ef3eb2a7b7
21
README.md
21
README.md
|
@ -2,28 +2,25 @@ python-libtorrent for Kodi
|
||||||
==================
|
==================
|
||||||
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent for you.
|
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent for you.
|
||||||
|
|
||||||
- Forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
|
**Support**
|
||||||
|
- English forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
|
||||||
Used in projects
|
- Russian forum: http://xbmc.ru/forum/showthread.php?t=4728
|
||||||
----------------
|
|
||||||
|
|
||||||
|
**Used in projects**
|
||||||
- [Torrenter v2](https://github.com/DiMartinoXBMC/plugin.video.torrenter)
|
- [Torrenter v2](https://github.com/DiMartinoXBMC/plugin.video.torrenter)
|
||||||
- [YATP](https://github.com/romanvm/kodi.yatp)
|
- [YATP](https://github.com/romanvm/kodi.yatp)
|
||||||
|
|
||||||
Usage
|
**Usage**
|
||||||
-----
|
Add module in requires of your addon.xml:
|
||||||
|
|
||||||
### Add module in requires of your addon.xml: ###
|
|
||||||
```python
|
```python
|
||||||
<import addon="script.module.libtorrent"/>
|
<import addon="script.module.libtorrent"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Use it in any python file: ###
|
Use it in any python file:
|
||||||
```python
|
```python
|
||||||
from python_libtorrent import get_libtorrent
|
from python_libtorrent import get_libtorrent
|
||||||
libtorrent=get_libtorrent()
|
libtorrent=get_libtorrent()
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
**License**
|
||||||
-------
|
MIT License
|
||||||
[GPL v.3](http://www.gnu.org/licenses/gpl-3.0.en.html).
|
|
Loading…
Reference in New Issue