win fix
parent
a08becfe74
commit
57c518129e
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<addon id='script.module.libtorrent' version='0.6.19c' name='LibTorrent' provider-name='DiMartino'>
|
||||
<addon id='script.module.libtorrent' version='0.6.19g' name='LibTorrent' provider-name='DiMartino, srg70, RussakHH'>
|
||||
<requires>
|
||||
<import addon='xbmc.python' version='2.1.0'/>
|
||||
</requires>
|
||||
|
|
|
@ -31,10 +31,14 @@ if __settings__.getSetting('plugin_name')!=__plugin__:
|
|||
lm.update()
|
||||
|
||||
log('platform: ' + str(platform))
|
||||
log('os: '+str(os.uname()))
|
||||
if platform['system'] not in ['windows']:
|
||||
log('os: '+str(os.uname()))
|
||||
|
||||
try:
|
||||
if platform['system'] in ['darwin', 'linux_x86', 'windows']:
|
||||
if platform['system'] in ['linux_x86', 'windows']:
|
||||
import libtorrent
|
||||
elif platform['system'] in ['darwin']:
|
||||
from darwin import *
|
||||
elif platform['system'] in ['linux_x86_64', 'linux_arm']:
|
||||
from ctypes import *
|
||||
dll_path=os.path.join(dest_path, 'libtorrent-rasterbar.so.7')
|
||||
|
|
Loading…
Reference in New Issue