diff --git a/bin/android_arm/torrent2http.size.txt b/bin/android_arm/torrent2http.size.txt deleted file mode 100644 index 7ecc11a..0000000 --- a/bin/android_arm/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -30366960 \ No newline at end of file diff --git a/bin/android_arm/torrent2http.zip b/bin/android_arm/torrent2http.zip deleted file mode 100644 index 92af4e0..0000000 Binary files a/bin/android_arm/torrent2http.zip and /dev/null differ diff --git a/bin/darwin_x64/torrent2http.size.txt b/bin/darwin_x64/torrent2http.size.txt deleted file mode 100644 index b5f1bc5..0000000 --- a/bin/darwin_x64/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -26146540 \ No newline at end of file diff --git a/bin/darwin_x64/torrent2http.zip b/bin/darwin_x64/torrent2http.zip deleted file mode 100644 index 1cf8a53..0000000 Binary files a/bin/darwin_x64/torrent2http.zip and /dev/null differ diff --git a/bin/linux_arm/torrent2http.size.txt b/bin/linux_arm/torrent2http.size.txt deleted file mode 100644 index 90259e1..0000000 --- a/bin/linux_arm/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -24466041 \ No newline at end of file diff --git a/bin/linux_arm/torrent2http.zip b/bin/linux_arm/torrent2http.zip deleted file mode 100644 index 4354c34..0000000 Binary files a/bin/linux_arm/torrent2http.zip and /dev/null differ diff --git a/bin/linux_armv6/torrent2http.size.txt b/bin/linux_armv6/torrent2http.size.txt deleted file mode 100644 index f01a36f..0000000 --- a/bin/linux_armv6/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -24522477 \ No newline at end of file diff --git a/bin/linux_armv6/torrent2http.zip b/bin/linux_armv6/torrent2http.zip deleted file mode 100644 index 8659f46..0000000 Binary files a/bin/linux_armv6/torrent2http.zip and /dev/null differ diff --git a/bin/linux_x64/torrent2http.size.txt b/bin/linux_x64/torrent2http.size.txt deleted file mode 100644 index 44006aa..0000000 --- a/bin/linux_x64/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -29381937 \ No newline at end of file diff --git a/bin/linux_x64/torrent2http.zip b/bin/linux_x64/torrent2http.zip deleted file mode 100644 index 0feeb02..0000000 Binary files a/bin/linux_x64/torrent2http.zip and /dev/null differ diff --git a/bin/linux_x86/torrent2http.size.txt b/bin/linux_x86/torrent2http.size.txt deleted file mode 100644 index 7a66716..0000000 --- a/bin/linux_x86/torrent2http.size.txt +++ /dev/null @@ -1 +0,0 @@ -25228652 \ No newline at end of file diff --git a/bin/linux_x86/torrent2http.zip b/bin/linux_x86/torrent2http.zip deleted file mode 100644 index e6cd4be..0000000 Binary files a/bin/linux_x86/torrent2http.zip and /dev/null differ diff --git a/bin/public.py b/bin/public.py deleted file mode 100644 index 753ec4c..0000000 --- a/bin/public.py +++ /dev/null @@ -1,63 +0,0 @@ -#-*- coding: utf-8 -*- -''' - Torrenter v2 plugin for XBMC/Kodi - Copyright (C) 2015 srg70, RussakHH, DiMartino -''' - -import os - -def get_libname(platform): - return ["torrent2http" + (".exe" if 'windows' in platform else "")] - -class Public: - def __init__( self ): - self.platforms=[] - self.root=os.path.dirname(__file__) - for dir in os.listdir(self.root): - if os.path.isdir(os.path.join(self.root,dir)): - self.platforms.append(dir) - self._generate_size_file() - - def _generate_size_file( self ): - for platform in self.platforms: - for libname in get_libname(platform): - self.libname=libname - self.platform=platform - self.libdir = os.path.join(self.root, self.platform) - self.libpath = os.path.join(self.libdir, self.libname) - self.sizepath=self.libpath+'.size.txt' - self.zipname=self.libname+'.zip' - zippath=os.path.join(self.libdir, self.zipname) - system=platform+'/' - if os.path.exists(self.libpath): - if not os.path.exists(self.sizepath): - print system+self.libname+' NO SIZE' - self._makezip() - elif not os.path.exists(zippath): - print system+self.libname+' NO ZIP' - self._makezip() - else: - size=str(os.path.getsize(self.libpath)) - size_old=open( self.sizepath, "r" ).read() - if size_old!=size: - print system+self.libname+' NOT EQUAL' - self._makezip() - else: - print system+self.libname+' NO ACTION' - else: - print system+self.libname+' NO LIB' - - def _makezip(self): - open( self.sizepath, "w" ).write( str(os.path.getsize(self.libpath)) ) - os.chdir(self.libdir) - os.system('del %s' % (self.zipname)) - os.system('"C:\\Program Files\\7-Zip\\7z.exe" a %s.zip %s' % - (self.libname, self.libname)) - os.chdir(self.root) - #os.system('"C:\\Program Files\\7-Zip\\7z.exe" a %s.zip %s' % - # (self.platform['system']+os.sep+self.libname, self.platform['system']+os.sep+self.libname)) - -if ( __name__ == "__main__" ): - # start - #TODO: publicate - Public() \ No newline at end of file diff --git a/bin/windows_x86/torrent2http.exe.size.txt b/bin/windows_x86/torrent2http.exe.size.txt deleted file mode 100644 index 6b58432..0000000 --- a/bin/windows_x86/torrent2http.exe.size.txt +++ /dev/null @@ -1 +0,0 @@ -22362887 \ No newline at end of file diff --git a/bin/windows_x86/torrent2http.exe.zip b/bin/windows_x86/torrent2http.exe.zip deleted file mode 100644 index 6747b31..0000000 Binary files a/bin/windows_x86/torrent2http.exe.zip and /dev/null differ