From 9a646b6f01036fbe1ee8c4383d3efe3b2a7bc526 Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 20 Apr 2020 23:49:38 +0200 Subject: [PATCH 1/2] KoD 0.9.1 --- addon.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/addon.xml b/addon.xml index 2bb76e63..e030ec22 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -19,14 +19,7 @@ resources/media/themes/ss/2.png resources/media/themes/ss/3.png - - Nuova sezione Musica -- Download in Background -- Download dalla Videoteca e supporto file locali -- Backup e cancellazione della Videoteca -- Spostamento della Videoteca -- Migliorata integrazione con libreria di Kodi -- Gestione delle Viste Preferite -- Nuovo layout impostazioni + - fix vari ed eventuali Naviga velocemente sul web e guarda i contenuti presenti [COLOR red]The owners and submitters to this addon do not host or distribute any of the content displayed by these addons nor do they have any affiliation with the content providers.[/COLOR] [COLOR yellow]Kodi © is a registered trademark of the XBMC Foundation. We are not connected to or in any other way affiliated with Kodi, Team Kodi, or the XBMC Foundation. Furthermore, any software, addons, or products offered by us will receive no support in official Kodi channels, including the Kodi forums and various social networks.[/COLOR] From a6446fb58c19f53512eb3bd9889aef226bb4065f Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Tue, 21 Apr 2020 11:35:55 +0200 Subject: [PATCH 2/2] Fix collegamenti alle impostazioni --- channelselector.py | 8 ++++---- specials/downloads.py | 2 +- specials/news.py | 2 +- specials/search.py | 2 +- specials/videolibrary.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/channelselector.py b/channelselector.py index bfc1a764..240426d1 100644 --- a/channelselector.py +++ b/channelselector.py @@ -29,7 +29,7 @@ def getmainlist(view="thumb_"): itemlist.append(Item(title=config.get_localized_string(30130), channel="news", action="mainlist", thumbnail=get_thumb("news.png", view), category=config.get_localized_string(30119), viewmode="thumbnails", - context=[{"title": config.get_localized_string(70285), "channel": "shortcuts", "action": "SettingOnPosition", "category":5}])) + context=[{"title": config.get_localized_string(70285), "channel": "shortcuts", "action": "SettingOnPosition", "category":7, "setting":1}])) if addon.getSetting('enable_channels_menu') == "true": itemlist.append(Item(title=config.get_localized_string(30118), channel="channelselector", action="getchanneltypes", @@ -46,7 +46,7 @@ def getmainlist(view="thumb_"): thumbnail=get_thumb("search.png", view), category=config.get_localized_string(30119), viewmode="list", context = [{"title": config.get_localized_string(60412), "action": "setting_channel_new", "channel": "search"}, - {"title": config.get_localized_string(70286), "channel": "shortcuts", "action": "SettingOnPosition", "category":3}])) + {"title": config.get_localized_string(70286), "channel": "shortcuts", "action": "SettingOnPosition", "category":5 , "setting":1}])) if addon.getSetting('enable_onair_menu') == "true": itemlist.append(Item(channel="filmontv", action="mainlist", title=config.get_localized_string(50001), @@ -71,7 +71,7 @@ def getmainlist(view="thumb_"): itemlist.append(Item(title=config.get_localized_string(30131), channel="videolibrary", action="mainlist", thumbnail=get_thumb("videolibrary.png", view), category=config.get_localized_string(30119), viewmode="thumbnails", - context=[{"title": config.get_localized_string(70287), "channel": "shortcuts", "action": "SettingOnPosition", "category":2}, + context=[{"title": config.get_localized_string(70287), "channel": "shortcuts", "action": "SettingOnPosition", "category":2, "setting":1}, {"title": config.get_localized_string(60568), "channel": "videolibrary", "action": "update_videolibrary"}])) if downloadenabled != "false": # itemlist.append(Item(title=config.get_localized_string(30101), channel="downloads", action="mainlist", @@ -80,7 +80,7 @@ def getmainlist(view="thumb_"): # "action": "channel_config"}])) itemlist.append(Item(title=config.get_localized_string(30101), channel="downloads", action="mainlist", thumbnail=get_thumb("downloads.png", view), viewmode="list", - context=[{"title": config.get_localized_string(70288), "channel": "shortcuts", "action": "SettingOnPosition", "category":4}])) + context=[{"title": config.get_localized_string(70288), "channel": "shortcuts", "action": "SettingOnPosition", "category":6}])) thumb_setting = "setting_%s.png" % 0 # config.get_setting("plugin_updates_available") diff --git a/specials/downloads.py b/specials/downloads.py index 8f2c16fe..39cd1d5f 100644 --- a/specials/downloads.py +++ b/specials/downloads.py @@ -126,7 +126,7 @@ def mainlist(item): itemlist.insert(0, Item(channel=item.channel, action="browser", title=support.typo(config.get_localized_string(70222),'bold'), thumbnail=get_thumb('search.png'), url=DOWNLOAD_PATH)) if not item.contentType == "tvshow": - itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=4, setting=0, title= support.typo(config.get_localized_string(70288),'bold color kod'), thumbnail=get_thumb('setting_0.png'))) + itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=6, setting=0, title= support.typo(config.get_localized_string(70288),'bold color kod'), thumbnail=get_thumb('setting_0.png'))) # Reload if estados: diff --git a/specials/news.py b/specials/news.py index 63aad9dd..f5a06b72 100644 --- a/specials/news.py +++ b/specials/news.py @@ -119,7 +119,7 @@ def mainlist(item): set_category_context(new_item) itemlist.append(new_item) thumbnail = get_thumb("setting_0.png") - itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=5, setting=0, + itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=7, setting=1, title=typo(config.get_localized_string(70285), 'bold color kod'), thumbnail=thumbnail)) return itemlist diff --git a/specials/search.py b/specials/search.py index e38b4629..ed741354 100644 --- a/specials/search.py +++ b/specials/search.py @@ -46,7 +46,7 @@ def mainlist(item): Item(channel=item.channel, title=typo(config.get_localized_string(59994), 'color kod bold'), action='opciones', thumbnail=get_thumb('setting_0.png')), - Item(channel='shortcuts', title=typo(config.get_localized_string(70286), 'color kod bold'), action='SettingOnPosition', category=3, thumbnail=get_thumb('setting_0.png'))] + Item(channel='shortcuts', title=typo(config.get_localized_string(70286), 'color kod bold'), action='SettingOnPosition', category=5, setting=1, thumbnail=get_thumb('setting_0.png'))] itemlist = set_context(itemlist) diff --git a/specials/videolibrary.py b/specials/videolibrary.py index 5a89bd7b..60a84c06 100644 --- a/specials/videolibrary.py +++ b/specials/videolibrary.py @@ -32,7 +32,7 @@ def mainlist(item): category=config.get_localized_string(70271), thumbnail=get_thumb("videolibrary_tvshow.png"))) itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", - category=2, setting=0, title=typo(config.get_localized_string(70287),'bold color kod'), + category=2, setting=1, title=typo(config.get_localized_string(70287),'bold color kod'), thumbnail = get_thumb("setting_0.png"))) return itemlist