fix readme
parent
089c41e07b
commit
6572b1b8db
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7.7 (D:/Python27/python.exe)" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7.12 (D:\Python27\python.exe)" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
|
@ -2,7 +2,7 @@
|
||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$" />
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="jdk" jdkName="Python 2.7.12 (D:\Python27\python.exe)" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TestRunnerService">
|
<component name="TestRunnerService">
|
||||||
|
|
|
@ -3,7 +3,6 @@ python-libtorrent for Kodi
|
||||||
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent
|
script.module.libtorrent is a Kodi module that makes easy import of python-libtorrent
|
||||||
|
|
||||||
**Support**
|
**Support**
|
||||||
- English forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
|
|
||||||
- Russian forum: http://xbmc.ru/forum/showthread.php?t=4728
|
- Russian forum: http://xbmc.ru/forum/showthread.php?t=4728
|
||||||
|
|
||||||
**Used in projects**
|
**Used in projects**
|
||||||
|
@ -13,15 +12,14 @@ script.module.libtorrent is a Kodi module that makes easy import of python-libto
|
||||||
|
|
||||||
**Usage**
|
**Usage**
|
||||||
|
|
||||||
Add module in requires of your addon.xml:
|
Add module to your repository and requires in 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 libtorrent
|
||||||
libtorrent=get_libtorrent()
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**License**
|
**License**
|
||||||
|
|
Loading…
Reference in New Issue