diff --git a/channelselector.py b/channelselector.py index 8e7cc875..5cd94b8f 100644 --- a/channelselector.py +++ b/channelselector.py @@ -16,14 +16,10 @@ def getmainlist(view="thumb_"): logger.info() itemlist = list() - ################################################################ - ################################################################ - # Questa voce è per TESTING e NON DOVRà MAI andare in stable - itemlist.append(Item(title="Redirect", channel="checkhost", action="check_channels", - thumbnail='', - category=config.get_localized_string(30119), viewmode="thumbnails")) - ################################################################ - ################################################################ + if config.dev_mode(): + itemlist.append(Item(title="Redirect", channel="checkhost", action="check_channels", + thumbnail='', + category=config.get_localized_string(30119), viewmode="thumbnails")) # Añade los canales que forman el menú principal if addon.getSetting('enable_news_menu') == "true": itemlist.append(Item(title=config.get_localized_string(30130), channel="news", action="mainlist", diff --git a/platformcode/launcher.py b/platformcode/launcher.py index f40abfbb..bac2046c 100644 --- a/platformcode/launcher.py +++ b/platformcode/launcher.py @@ -34,9 +34,11 @@ def start(): # se lo ha: non lo fa entrare nell'addon # se ha problemi di DNS avvia ma lascia entrare # se tutto ok: entra nell'addon - from specials.checkhost import test_conn, check_channels - check_adsl = test_conn(is_exit = True, check_dns = True, view_msg = True, - lst_urls = [], lst_site_check_dns = [], in_addon = True) + from specials.checkhost import test_conn + import threading + threading.Thread(target=test_conn, args=(True, True, True, [], [], True)).start() + # check_adsl = test_conn(is_exit = True, check_dns = True, view_msg = True, + # lst_urls = [], lst_site_check_dns = [], in_addon = True) def run(item=None): diff --git a/platformcode/updater.py b/platformcode/updater.py index c3013186..a6e9c4a7 100644 --- a/platformcode/updater.py +++ b/platformcode/updater.py @@ -145,7 +145,7 @@ def check_addon_init(): nCommitApplied += 1 if addon.getSetting("addon_update_message"): time = nCommitApplied * 2000 if nCommitApplied < 10 else 20000 - platformtools.dialog_notification('Kodi on Demand', changelog, time) + platformtools.dialog_notification('Kodi on Demand', 'Aggiornamenti applicati:\n' + changelog[:-3], time) localCommitFile.seek(0) localCommitFile.truncate() diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index aa3c200b..cd261204 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -5594,11 +5594,11 @@ msgid "I can't automatically find the special episode number, please enter it ma msgstr "" msgctxt "#70720" -msgid "Dear User\n,You are currently not connected to any modem/router. You cannot access KOD because the channels will not be reachable! We advise you to check at least that the modem/router is switched on and/or your device is connected.\n" +msgid "Dear User\n,You are currently not connected to any modem/router. We advise you to check at least that the modem/router is switched on and/or your device is connected.\nKoD WONT FIND ANYTHING until the problem is resolved". msgstr "" msgctxt "#70721" -msgid "Dear user, you seem to have problems with ADSL! You cannot access KOD because the channels will not be accessible! We suggest you call your manager's toll-free number or check it out at least that the modem/router is on and/or your device is connected." +msgid "Dear user, you seem to have problems with ADSL! We suggest you call your manager's toll-free number or check it out at least that the modem/router is on and/or your device is connected.\nKoD WONT FIND ANYTHING until the problem is resolved" msgstr "" msgctxt "#70722" diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index cebf13ab..8a966110 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -5594,12 +5594,12 @@ msgid "I can't automatically find the special episode number, please enter it ma msgstr "Non riesco a trovare automaticamente il numero dell'episodio speciale, per favore inseriscilo manualmente" msgctxt "#70720" -msgid "Dear User\n,You are currently not connected to any modem/router. You cannot access KOD because the channels will not be reachable! We advise you to check at least that the modem/router is switched on and/or your device is connected.\n" -msgstr "Gentile Utente,\nAttualmente non risulti connesso a nessun Modem/Router.\nNON POTRAI ACCEDERE A KOD!\npoichè i canali non saranno raggiungibili, finchè non risolverai il problema. Controlla quanto meno che il modem/router sia acceso e/o il tuo dispositivo connesso.\n" +msgid "Dear User\n,You are currently not connected to any modem/router. We advise you to check at least that the modem/router is switched on and/or your device is connected.\nKoD WONT FIND ANYTHING until the problem is resolved." +msgstr "Gentile Utente,\nAttualmente non risulti connesso a nessun Modem/Router.\nControlla quanto meno che il modem/router sia acceso e/o il tuo dispositivo connesso.\nKoD NON TROVERA NIENTE finchè non risolverai il problema." msgctxt "#70721" -msgid "Dear user, you seem to have problems with ADSL! You cannot access KOD because the channels will not be accessible! We suggest you call your manager's toll-free number or check it out at least that the modem/router is on and/or your device is connected." -msgstr "Gentile Utente, sembra tu abbia problemi con l'ADSL! NON POTRAI ACCEDERE A KOD!\npoichè i canali non saranno raggiungibili, finchè non risolverai il problema. Controlla quanto meno che il modem/router sia acceso e/o il tuo dispositivo connesso." +msgid "Dear user, you seem to have problems with ADSL! We suggest you call your manager's toll-free number or check it out at least that the modem/router is on and/or your device is connected.\nKoD WONT FIND ANYTHING until the problem is resolved" +msgstr "Gentile Utente, sembra tu abbia problemi con l'ADSL! Controlla quanto meno che il modem/router sia acceso e/o il tuo dispositivo connesso.\nKoD NON TROVERA NIENTE finchè non risolverai il problema." msgctxt "#70722" msgid "Dear User, your current DNS do not allow you to reach all ergo sites, not all Channels will work. We recommend that you set up your DNS to take advantage of more channels. Search your favorite search engine how to set them up on your device."