58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
Official library`s website is http://www.rasterbar.com/products/libtorrent/
|
|
Plugin requires python binding
|
|
|
|
--- INSTALLATION ---
|
|
|
|
1. Windows
|
|
1.1 Download from 'http://code.google.com/p/libtorrent/downloads/list'
|
|
last version of installer for windows, at the moment
|
|
it is 'python-libtorrent-0.16.0.win32-py2.6.msi'
|
|
1.2 Run installer and point as an installation directory - directory of
|
|
python for xbmc. Usually it is 'C:\Program Files (x86)\XBMC\system\python'
|
|
1.3 Install addon and enjoy
|
|
|
|
2. Linux
|
|
2.1 Run at console 'sudo apt-get install python-libtorrent'
|
|
2.2 Install addon and enjoy
|
|
|
|
or you could compile it:
|
|
|
|
sudo apt-get install libboost-dev libboost-python-dev libboost-system-dev g++ libssl openssl autotool automake subversion
|
|
svn co https://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk/ lt/
|
|
cd lt/
|
|
./autotool.sh
|
|
./configure
|
|
make
|
|
sudo make install
|
|
sudo ldconfig
|
|
|
|
________________________________________________________________________________________________________
|
|
|
|
Вебсайт библиотеки http://www.rasterbar.com/products/libtorrent/
|
|
Для работы плагина нужен её билд под python
|
|
|
|
--- ИНСТАЛЯЦИЯ ---
|
|
|
|
1. Windows
|
|
1.1 Скачиваем отсюда 'http://code.google.com/p/libtorrent/downloads/list'
|
|
последнюю версию инсталлера библиотеки для windows, на момент написания
|
|
это была версия 'python-libtorrent-0.16.0.win32-py2.6.msi'
|
|
1.2 После запуска инсталлера нужно указать в качестве директории установки -
|
|
директорию python для xbmc. Обычно это 'C:\Program Files (x86)\XBMC\system\python'
|
|
1.3 Устанавливаем аддон в XBMC и пользуемся
|
|
|
|
2. Linux
|
|
2.1 Выполняем в терминале sudo apt-get install python-libtorrent
|
|
2.2 Устанавливаем аддон в XBMC и пользуемся
|
|
|
|
или компилируем:
|
|
|
|
sudo apt-get install libboost-dev libboost-python-dev libboost-system-dev g++ libssl openssl autotool automake subversion
|
|
svn co https://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk/ lt/
|
|
cd lt/
|
|
./autotool.sh
|
|
./configure
|
|
make
|
|
sudo make install
|
|
sudo ldconfig
|