pull/15/head
DiMartinoXBMC 2016-11-04 16:41:33 +03:00
parent 52aa170a97
commit 47093910a6
7 changed files with 1174 additions and 1147 deletions

File diff suppressed because it is too large Load Diff

View File

@ -36,7 +36,7 @@ class Core:
torrent_player = __settings__.getSetting("torrent_player")
history_bool = __settings__.getSetting('history') == 'true'
open_option = int(__settings__.getSetting('open_option'))
language = {0: 'en', 1: 'ru', 2: 'uk', 3: 'he'}.get(int(__settings__.getSetting("language")))
language = {0: 'en', 1: 'ru', 2: 'uk', 3: 'he', 4: 'hu'}.get(int(__settings__.getSetting("language")))
scrapperDB_ver = {'en':'1.1', 'ru':'1.3', 'he':'1.3'}
log('SYS ARGV: ' + str(sys.argv))

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.torrenter" name="Torrenter" version="2.5.2" provider-name="DiMartino">
<addon id="plugin.video.torrenter" name="Torrenter" version="2.5.3" provider-name="DiMartino">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.libtorrent"/>

View File

@ -1,13 +1,17 @@
English changelog at http://bit.ly/1MfSVUP
[B]Version 2.5.3[/B]
[+] Венгерский язык
[B]Version 2.5.2[/B]
[+] Упорядочивание по разверу файла.
[+] Упорядочивание по разверу файла
[B]Version 2.5.1[/B]
[+] Исправлена работа с кодировками.
[+] Исправлена работа с кодировками
[B]Version 2.5.0[/B]
[+] НОВЫЙ проигрыватель pyrrent2http от inpos! Аналог torrent2http написаный на python, а не на GO.
[+] НОВЫЙ проигрыватель pyrrent2http от inpos! Аналог torrent2http написаный на python, а не на GO
[+] Проигрыватель: Ускорена повторная работа с торрентом - resume data (спасибо srg70 и RussakHH)
[B]Version 2.4.6[/B]

View File

@ -1306,6 +1306,8 @@ class Contenters():
def first_time(self, scrapperDB_ver, language='ru'):
from resources.scrapers.scrapers import Scrapers
if language not in ['en','ru','he']:
language = 'ru'
searcher = 'metadata'
redl = False
scrapperDB_ver = scrapperDB_ver[language]

View File

View File

@ -1,6 +1,6 @@
<settings>
<category label="30101">
<setting id="language" type="enum" label="30001" default="1" values="English|Russian|Ukrainian|Hebrew|Spanish" />
<setting id="language" type="enum" label="30001" default="1" values="English|Russian|Ukrainian|Hebrew|Spanish|Hungarian" />
<setting id="metadata" type="bool" label="30014" default="false"/>
<setting id="history" type="bool" label="30020" default="true"/>
<setting id="sort_search" type="enum" label="30061" default="0" lvalues="30062|30063|30064"/>