pull/1/head
DiMartinoXBMC 2015-07-17 20:53:52 +03:00
parent a0241cd23a
commit b7bab5a42d
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<addon id='script.module.libtorrent' version='0.6.19g' name='LibTorrent' provider-name='DiMartino, srg70, RussakHH'> <addon id='script.module.libtorrent' version='0.6.19i' name='LibTorrent' provider-name='DiMartino, srg70, RussakHH'>
<requires> <requires>
<import addon='xbmc.python' version='2.1.0'/> <import addon='xbmc.python' version='2.1.0'/>
</requires> </requires>

View File

@ -5,7 +5,7 @@
''' '''
from functions import * from functions import *
import xbmc, xbmcgui, xbmcvfs, xbmcaddon import xbmc, xbmcaddon
import sys import sys
import os import os
@ -49,7 +49,7 @@ try:
finally: finally:
if fp: fp.close() if fp: fp.close()
elif platform['system'] in ['linux_x86_64', 'linux_arm']: elif platform['system'] in ['linux_x86_64', 'linux_arm']:
from ctypes import cdll from ctypes import *
dll_path=os.path.join(dest_path, 'libtorrent-rasterbar.so.7') dll_path=os.path.join(dest_path, 'libtorrent-rasterbar.so.7')
log('CDLL path = ' + dll_path) log('CDLL path = ' + dll_path)
liblibtorrent=cdll(dll_path) liblibtorrent=cdll(dll_path)
@ -57,7 +57,7 @@ try:
import libtorrent import libtorrent
elif platform['system'] in ['android_armv7', 'android_x86']: elif platform['system'] in ['android_armv7', 'android_x86']:
import imp import imp
from ctypes import cdll from ctypes import *
dll_path=os.path.join(dest_path, 'liblibtorrent.so') dll_path=os.path.join(dest_path, 'liblibtorrent.so')
log('CDLL path = ' + dll_path) log('CDLL path = ' + dll_path)