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'?> <?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> <requires>
<import addon='xbmc.python' version='2.1.0'/> <import addon='xbmc.python' version='2.1.0'/>
</requires> </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 Added windows 0.16.19, OS X 0.16.19, Android ARM 0.16.19
Automatic download system Automatic download system

View File

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

View File

@ -34,7 +34,7 @@ log('platform ' + str(platform))
try: try:
if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']: if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']:
import libtorrent import libtorrent
elif platform['system'] == 'android_armv7': elif platform['system'] in ['android_armv7', 'android_x86']:
import imp import imp
from ctypes import * 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'},
{'system':'linux_x86_64'}, {'system':'linux_x86_64'},
{'system':'windows'}, {'system':'windows'},
{'system':'android_armv7'}] {'system':'android_armv7'},
{'system':'android_x86'}]
self.root=os.path.dirname(__file__) self.root=os.path.dirname(__file__)
self._generate_size_file() self._generate_size_file()