android x86

pull/1/head
DiMartinoXBMC 2015-07-13 00:28:44 +03:00
parent 1495a0f975
commit b1c3d29031
8 changed files with 15 additions and 5 deletions

View File

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

View File

@ -1,4 +1,7 @@
0.6.19b:
0.6.19c:
Added Android x86 0.16.19
0.6.19b:
Added windows 0.16.19, OS X 0.16.19, Android ARM 0.16.19
Automatic download system

View File

@ -17,7 +17,7 @@ def get_libname(platform):
libname=['libtorrent.so']
elif platform['system'] == 'windows':
libname=['libtorrent.pyd']
elif platform['system'] == 'android_armv7':
elif platform['system'] in ['android_armv7','android_x86']:
libname=['libtorrent.so', 'liblibtorrent.so']
return libname

View File

@ -34,7 +34,7 @@ log('platform ' + str(platform))
try:
if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']:
import libtorrent
elif platform['system'] == 'android_armv7':
elif platform['system'] in ['android_armv7', 'android_x86']:
import imp
from ctypes import *

View File

@ -0,0 +1,5 @@
#-*- coding: utf-8 -*-
'''
Torrenter v2 plugin for XBMC/Kodi
Copyright (C) 2015 srg70, RussakHH, DiMartino
'''

View File

@ -0,0 +1 @@
7145572

View File

@ -14,7 +14,8 @@ class Public:
{'system':'linux_x86'},
{'system':'linux_x86_64'},
{'system':'windows'},
{'system':'android_armv7'}]
{'system':'android_armv7'},
{'system':'android_x86'}]
self.root=os.path.dirname(__file__)
self._generate_size_file()