fix readme
parent
089c41e07b
commit
6572b1b8db
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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>
|
|
@ -2,7 +2,7 @@
|
|||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<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" />
|
||||
</component>
|
||||
<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
|
||||
|
||||
**Support**
|
||||
- English forum: https://forums.tvaddons.ag/addon-releases/29224-torrenter-v2.html
|
||||
- Russian forum: http://xbmc.ru/forum/showthread.php?t=4728
|
||||
|
||||
**Used in projects**
|
||||
|
@ -13,15 +12,14 @@ script.module.libtorrent is a Kodi module that makes easy import of python-libto
|
|||
|
||||
**Usage**
|
||||
|
||||
Add module in requires of your addon.xml:
|
||||
Add module to your repository and requires in addon.xml:
|
||||
```python
|
||||
<import addon="script.module.libtorrent"/>
|
||||
```
|
||||
|
||||
Use it in any python file:
|
||||
```python
|
||||
from python_libtorrent import get_libtorrent
|
||||
libtorrent=get_libtorrent()
|
||||
from python_libtorrent import libtorrent
|
||||
```
|
||||
|
||||
**License**
|
||||
|
|
Loading…
Reference in New Issue