fix fix
parent
a0241cd23a
commit
b7bab5a42d
|
@ -1,5 +1,5 @@
|
|||
<?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>
|
||||
<import addon='xbmc.python' version='2.1.0'/>
|
||||
</requires>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
'''
|
||||
|
||||
from functions import *
|
||||
import xbmc, xbmcgui, xbmcvfs, xbmcaddon
|
||||
import xbmc, xbmcaddon
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
@ -49,7 +49,7 @@ try:
|
|||
finally:
|
||||
if fp: fp.close()
|
||||
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')
|
||||
log('CDLL path = ' + dll_path)
|
||||
liblibtorrent=cdll(dll_path)
|
||||
|
@ -57,7 +57,7 @@ try:
|
|||
import libtorrent
|
||||
elif platform['system'] in ['android_armv7', 'android_x86']:
|
||||
import imp
|
||||
from ctypes import cdll
|
||||
from ctypes import *
|
||||
|
||||
dll_path=os.path.join(dest_path, 'liblibtorrent.so')
|
||||
log('CDLL path = ' + dll_path)
|
||||
|
|
Loading…
Reference in New Issue