Torrent: in caso di cartella di rete
This commit is contained in:
@@ -6011,6 +6011,10 @@ msgctxt "#70806"
|
|||||||
msgid "Changing this parameter permanently overwrites the Elementum settings.\nDo you want to continue?"
|
msgid "Changing this parameter permanently overwrites the Elementum settings.\nDo you want to continue?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#70807"
|
||||||
|
msgid "Elementum does not support network folder downloads, do you want to change the download location?"
|
||||||
|
msgstr "Elementum non supporta i download su cartella di rete, vuoi cambiare il percorso di download?"
|
||||||
|
|
||||||
# DNS start [ settings and declaration ]
|
# DNS start [ settings and declaration ]
|
||||||
msgctxt "#707401"
|
msgctxt "#707401"
|
||||||
msgid "Enable DNS check alert"
|
msgid "Enable DNS check alert"
|
||||||
|
|||||||
@@ -6011,6 +6011,10 @@ msgctxt "#70806"
|
|||||||
msgid "Changing this parameter permanently overwrites the Elementum settings.\nDo you want to continue?"
|
msgid "Changing this parameter permanently overwrites the Elementum settings.\nDo you want to continue?"
|
||||||
msgstr "Modificando questo parametro vengono sovrascritte permanentemente le impostazioni di Elementum.\nVuoi continuare?"
|
msgstr "Modificando questo parametro vengono sovrascritte permanentemente le impostazioni di Elementum.\nVuoi continuare?"
|
||||||
|
|
||||||
|
msgctxt "#70807"
|
||||||
|
msgid "Elementum does not support network folder downloads, do you want to change the download location?"
|
||||||
|
msgstr "Elementum non supporta i download su cartella di rete, vuoi cambiare il percorso di download?"
|
||||||
|
|
||||||
# DNS start [ settings and declaration ]
|
# DNS start [ settings and declaration ]
|
||||||
msgctxt "#707401"
|
msgctxt "#707401"
|
||||||
msgid "Enable DNS check alert"
|
msgid "Enable DNS check alert"
|
||||||
|
|||||||
@@ -73,6 +73,11 @@ def elementum_download(item):
|
|||||||
if elementum_setting:
|
if elementum_setting:
|
||||||
set_elementum(True)
|
set_elementum(True)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
if config.get_setting('downloadpath').startswith('smb'):
|
||||||
|
select = platformtools.dialog_yesno('Elementum', config.get_localized_string(70807))
|
||||||
|
if select:
|
||||||
|
xbmc.executebuiltin("RunPlugin(plugin://plugin.video.kod/?eyJjaGFubmVsIjoic2hvcnRjdXRzIiwgImFjdGlvbiI6IlNldHRpbmdPblBvc2l0aW9uIiwgImNhdGVnb3J5Ijo2LCAic2V0dGluZyI6MX0=)")
|
||||||
|
else:
|
||||||
TorrentName = match(item.url, patron=r'btih(?::|%3A)([^&%]+)', string=True).match
|
TorrentName = match(item.url, patron=r'btih(?::|%3A)([^&%]+)', string=True).match
|
||||||
post = 'uri=%s&file=null&all=1' % urllib.quote_plus(item.url)
|
post = 'uri=%s&file=null&all=1' % urllib.quote_plus(item.url)
|
||||||
match(elementum_host + 'add', post=post, timeout=5, alfa_s=True, ignore_response_code=True)
|
match(elementum_host + 'add', post=post, timeout=5, alfa_s=True, ignore_response_code=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user