anteo beta2

pull/1/head
DiMartinoXBMC 2015-12-17 21:29:21 +03:00
parent 1c0a168e0e
commit 63fc8466e8
6 changed files with 13 additions and 5 deletions

View File

@ -292,6 +292,8 @@ class AnteoPlayer(xbmc.Player):
else:
connections_limit = None
use_random_port = True if self.__settings__.getSetting('use_random_port') == 'true' else False
if '1' != self.__settings__.getSetting("keep_files") and 'Saved Files' not in self.userStorageDirectory:
keep_complete = False
keep_incomplete = False
@ -303,7 +305,7 @@ class AnteoPlayer(xbmc.Player):
self.engine = Engine(uri=self.torrentUrl, download_path=self.userStorageDirectory,
connections_limit=connections_limit, download_kbps=download_limit, upload_kbps=upload_limit,
encryption=encryption, keep_complete=keep_complete, keep_incomplete=keep_incomplete,
dht_routers=dht_routers)
dht_routers=dht_routers, use_random_port=use_random_port)
def buffer(self):
self.pre_buffer_bytes = 30*1024*1024 #30 MB

View File

@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.torrenter" name="Torrenter" version="2.3.9a" provider-name="vadim.skorba, DiMartino">
<addon id="plugin.video.torrenter" name="Torrenter" version="2.4.0" provider-name="vadim.skorba, DiMartino">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.libtorrent"/>
<import addon="script.module.btclient"/>
<import addon="script.module.torrent.ts"/>
<import addon="script.module.requests"/>
<import addon="script.module.torrent2http"/>

View File

@ -1,5 +1,9 @@
English changelog at http://bit.ly/1MfSVUP
[B]Version 2.4.0[/B]
[+] Удален плеер BTclient
[+] Добавлен плеер Torrent2HTTP от anteo
[B]Version 2.3.8[/B]
[+] Добавлен АнтиЗапрет
[+] Списки Медиа: Исправлен KickAssSo

View File

@ -49,6 +49,7 @@
<string id="30049">Anti-zapret</string>
<string id="30050">Immunicity</string>
<string id="30051">Max. connections (0 - unlimited)</string>
<string id="30052">Use random ports</string>
<string id="30101">Interface</string>
<string id="30102">P2P Network</string>
<string id="30103">Advanced</string>

View File

@ -49,6 +49,7 @@
<string id="30049">Anti-zapret</string>
<string id="30050">Immunicity</string>
<string id="30051">Макс. соединений (0 - безлимит)</string>
<string id="30052">Использовать случайные порты</string>
<string id="30101">Интерфейс</string>
<string id="30102">P2P Сеть</string>
<string id="30103">Дополнительные</string>

View File

@ -24,9 +24,10 @@
<setting id="download_limit" type="number" label="30011" default="0" visible="!eq(-6,1)"/>
<setting id="blank" type="text" label="30024" default="" visible="eq(-7,1)"/>
<setting id="subs_dl" type="bool" label="30029" default="true" visible="!eq(-8,1)"/>
<setting id="keep_seeding" type="bool" label="30030" default="false" visible="!eq(-9,1)" enable="eq(-7,1)"/>
<setting id="keep_seeding" type="bool" label="30030" default="false" visible="eq(-9,0)" enable="eq(-7,1)"/>
<setting id="encryption" type="bool" label="30041" default="true" visible="!eq(-10,1)"/>
<setting id="connections_limit" type="number" label="30051" default="200" visible="eq(-11,2)"/>
<setting id="use_random_port" type="bool" label="30052" default="false" visible="eq(-12,2)"/>
</category>
<category label="Torrent-client">
<setting id="torrent_save" type="enum" label="50301" lvalues="50302|50303" default="0"/>