From cf02d31e71346d7086eedd27f57e75a56d3312fe Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Tue, 14 Jul 2015 23:02:05 +0300 Subject: [PATCH] -arm +64 --- python_libtorrent/__init__.py | 4 ++-- .../libtorrent-rasterbar.so.7.size.txt | 0 .../libtorrent-rasterbar.so.7.zip | Bin .../libtorrent.so.size.txt | 0 .../{linux_arm => linux_x86_64}/libtorrent.so.zip | Bin 5 files changed, 2 insertions(+), 2 deletions(-) rename python_libtorrent/{linux_arm => linux_x86_64}/libtorrent-rasterbar.so.7.size.txt (100%) rename python_libtorrent/{linux_arm => linux_x86_64}/libtorrent-rasterbar.so.7.zip (100%) rename python_libtorrent/{linux_arm => linux_x86_64}/libtorrent.so.size.txt (100%) rename python_libtorrent/{linux_arm => linux_x86_64}/libtorrent.so.zip (100%) diff --git a/python_libtorrent/__init__.py b/python_libtorrent/__init__.py index 1715126..8ede0ce 100644 --- a/python_libtorrent/__init__.py +++ b/python_libtorrent/__init__.py @@ -32,9 +32,9 @@ if __settings__.getSetting('plugin_name')!=__plugin__: log('platform ' + str(platform)) try: - if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']: + if platform['system'] in ['darwin', 'linux_x86', 'windows']: import libtorrent - elif platform['system'] in ['linux_arm']: + elif platform['system'] in ['linux_x86_64']: from ctypes import * dll_path=os.path.join(dest_path, 'libtorrent-rasterbar.so.7') log('CDLL path = ' + dll_path) diff --git a/python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.size.txt b/python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.size.txt similarity index 100% rename from python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.size.txt rename to python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.size.txt diff --git a/python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.zip b/python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.zip similarity index 100% rename from python_libtorrent/linux_arm/libtorrent-rasterbar.so.7.zip rename to python_libtorrent/linux_x86_64/libtorrent-rasterbar.so.7.zip diff --git a/python_libtorrent/linux_arm/libtorrent.so.size.txt b/python_libtorrent/linux_x86_64/libtorrent.so.size.txt similarity index 100% rename from python_libtorrent/linux_arm/libtorrent.so.size.txt rename to python_libtorrent/linux_x86_64/libtorrent.so.size.txt diff --git a/python_libtorrent/linux_arm/libtorrent.so.zip b/python_libtorrent/linux_x86_64/libtorrent.so.zip similarity index 100% rename from python_libtorrent/linux_arm/libtorrent.so.zip rename to python_libtorrent/linux_x86_64/libtorrent.so.zip