trans fix
parent
344030d01f
commit
71bfd227e3
|
@ -1,4 +1,7 @@
|
|||
[B]Version 2.3.2[/B]
|
||||
[+] Поиск: Настройка количества потоков при поиске
|
||||
|
||||
[B]Version 2.3.2[/B]
|
||||
[+] Control Center: Исправлена работа без серчеров
|
||||
[+] Списки Медиа: Проверка отсутствия серчера
|
||||
[+] Списки Медиа: Исправлен ThePirateBay
|
||||
|
|
|
@ -1179,7 +1179,7 @@ def search(url, searchersList, isApi=None):
|
|||
from queue import Queue
|
||||
|
||||
num_threads=__settings__.getSetting('num_threads')
|
||||
if num_threads not in ['',None] and int(num_threads)>0:
|
||||
if num_threads and int(num_threads)>0:
|
||||
num_threads = int(num_threads)
|
||||
else:
|
||||
num_threads = 3
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<string id="30039">Sort search results by seeds</string>
|
||||
<string id="30040">Custom search option phrase</string>
|
||||
<string id="30041">Encryption</string>
|
||||
<string id="30042">Search Thread Number</string>
|
||||
<string id="30101">Interface</string>
|
||||
<string id="30102">P2P Network</string>
|
||||
<string id="30103">Advanced</string>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<string id="30039">Сортировать поиск по количеству раздающих</string>
|
||||
<string id="30040">Дополнительная фраза в вариантах поиска</string>
|
||||
<string id="30041">Шифрование</string>
|
||||
<string id="30042">Количество параллельных потоков поиска</string>
|
||||
<string id="30101">Интерфейс</string>
|
||||
<string id="30102">P2P Сеть</string>
|
||||
<string id="30103">Дополнительные</string>
|
||||
|
|
|
@ -1,149 +1,32 @@
|
|||
<settings>
|
||||
<category label="30101">
|
||||
<setting
|
||||
id="language"
|
||||
type="enum"
|
||||
values="English|Russian|Ukrainian"
|
||||
label="30001"
|
||||
default="1"
|
||||
/>
|
||||
<setting
|
||||
id="metadata"
|
||||
type="bool"
|
||||
label="30014"
|
||||
default="false"
|
||||
/>
|
||||
<setting
|
||||
id="history"
|
||||
type="bool"
|
||||
label="30020"
|
||||
default="true"
|
||||
/>
|
||||
<setting
|
||||
id="sort_search"
|
||||
type="bool"
|
||||
label="30039"
|
||||
default="true"
|
||||
/>
|
||||
<setting
|
||||
id="skin_optimization"
|
||||
type="enum"
|
||||
lvalues="30003|30018|30017|30016|30019"
|
||||
label="30002"
|
||||
default="1"
|
||||
/>
|
||||
<setting
|
||||
id="open_option"
|
||||
type="enum"
|
||||
label="30034"
|
||||
lvalues="30035|30036|30037|30038"
|
||||
default="0"
|
||||
/>
|
||||
<setting id="language" type="enum" label="30001" default="1" values="English|Russian|Ukrainian" />
|
||||
<setting id="metadata" type="bool" label="30014" default="false"/>
|
||||
<setting id="history" type="bool" label="30020" default="true"/>
|
||||
<setting id="sort_search" type="bool" label="30039" default="true"/>
|
||||
<setting id="skin_optimization" type="enum" label="30002" default="1" lvalues="30003|30018|30017|30016|30019"/>
|
||||
<setting id="open_option" type="enum" label="30034" default="0" lvalues="30035|30036|30037|30038"/>
|
||||
</category>
|
||||
<category label="30103">
|
||||
<setting
|
||||
id="delete_russian"
|
||||
type="bool"
|
||||
label="30032"
|
||||
default=""
|
||||
/>
|
||||
<setting
|
||||
type="action"
|
||||
label="30033"
|
||||
action="RunPlugin(plugin://plugin.video.torrenter/?action=returnRussian)"
|
||||
visible="eq(-1,false)"/>
|
||||
<setting
|
||||
id="timeout"
|
||||
type="enum"
|
||||
lvalues="30026|30027|30028"
|
||||
label="30025"
|
||||
default="1"
|
||||
/>
|
||||
<setting id="delete_russian" type="bool" label="30032" default=""/>
|
||||
<setting type="action" label="30033" action="RunPlugin(plugin://plugin.video.torrenter/?action=returnRussian)" visible="eq(-1,false)"/>
|
||||
<setting id="timeout" type="enum" lvalues="30026|30027|30028" label="30025" default="1"/>
|
||||
<setting id="search_phrase" type="text" label="30040"/>
|
||||
<setting
|
||||
id="debug"
|
||||
type="bool"
|
||||
label="30015"
|
||||
default="false"
|
||||
/>
|
||||
<setting id="num_threads" type="slider" label="30042" default="3" range="1,1,9" option="int"/>
|
||||
<setting id="debug" type="bool" label="30015" default="false"/>
|
||||
</category>
|
||||
<category label="30102">
|
||||
<setting
|
||||
id="torrent_player"
|
||||
type="enum"
|
||||
lvalues="30021|30022"
|
||||
label="30023"
|
||||
default="0"
|
||||
/>
|
||||
<setting
|
||||
id="storage"
|
||||
type="folder"
|
||||
label="30004"
|
||||
default=""
|
||||
/>
|
||||
<setting
|
||||
id="keep_files"
|
||||
type="bool"
|
||||
label="30008"
|
||||
default="true"
|
||||
/>
|
||||
<setting
|
||||
id="ask_dir"
|
||||
type="bool"
|
||||
label="30031"
|
||||
enable="eq(-1,true)"
|
||||
default="false"
|
||||
/>
|
||||
<setting
|
||||
id="next_dl"
|
||||
type="bool"
|
||||
label="30013"
|
||||
default="true"
|
||||
visible="eq(-4,0)"
|
||||
/>
|
||||
<setting
|
||||
id="upload_limit"
|
||||
type="number"
|
||||
label="30010"
|
||||
default="0"
|
||||
visible="eq(-5,0)"
|
||||
/>
|
||||
<setting
|
||||
id="download_limit"
|
||||
type="number"
|
||||
label="30011"
|
||||
default="0"
|
||||
visible="eq(-6,0)"
|
||||
/>
|
||||
<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,0)"
|
||||
/>
|
||||
<setting
|
||||
id="keep_seeding"
|
||||
type="bool"
|
||||
label="30030"
|
||||
default="false"
|
||||
visible="eq(-9,0)"
|
||||
enable="eq(-7,true)"
|
||||
/>
|
||||
<setting
|
||||
id="encryption"
|
||||
type="bool"
|
||||
label="30041"
|
||||
default="true"
|
||||
visible="eq(-10,0)"
|
||||
/>
|
||||
<setting id="torrent_player" type="enum" label="30023" default="0" lvalues="30021|30022" />
|
||||
<setting id="storage" type="folder" label="30004" default=""/>
|
||||
<setting id="keep_files" type="bool" label="30008" default="true"/>
|
||||
<setting id="ask_dir" type="bool" label="30031" default="false" enable="eq(-1,true)" />
|
||||
<setting id="next_dl" type="bool" label="30013" default="true" visible="eq(-4,0)"/>
|
||||
<setting id="upload_limit" type="number" label="30010" default="0" visible="eq(-5,0)"/>
|
||||
<setting id="download_limit" type="number" label="30011" default="0" visible="eq(-6,0)"/>
|
||||
<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,0)"/>
|
||||
<setting id="keep_seeding" type="bool" label="30030" default="false" visible="eq(-9,0)" enable="eq(-7,true)"/>
|
||||
<setting id="encryption" type="bool" label="30041" default="true" visible="eq(-10,0)"/>
|
||||
</category>
|
||||
<category label="Torrent-client">
|
||||
<setting id="torrent_save" type="enum" label="50301" lvalues="50302|50303" default="0"/>
|
||||
|
|
Loading…
Reference in New Issue