From 132301b06da1e73c708b5ca8c8cf5de49e71f474 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 8 Jul 2021 19:26:35 +0200 Subject: [PATCH] Alcuni Fix e cambiamenti --- .github/ISSUE_TEMPLATE/test-canale.md | 2 +- channels/0example.json.txt | 2 +- channels/altadefinizione01.json | 2 +- channels/altadefinizione01_link.json | 2 +- channels/altadefinizioneclick.json | 2 +- channels/animeleggendari.json | 2 +- channels/animeworld.json | 2 +- channels/casacinema.json | 2 +- channels/cb01anime.json | 2 +- channels/cineblog01.json | 2 +- channels/dreamsub.json | 2 +- channels/eurostreaming.json | 2 +- channels/fastsubita.json | 2 +- channels/guardaserieclick.json | 2 +- channels/hd4me.json | 2 +- channels/ilgeniodellostreaming.json | 2 +- channels/italiaserie.json | 2 +- channels/serietvu.json | 2 +- channels/toonitalia.json | 2 +- channels/vvvvid.json | 4 +-- channelselector.py | 37 +++++++++++++-------------- core/support.py | 2 +- platformcode/envtal.py | 2 +- platformcode/xbmc_videolibrary.py | 9 ++----- specials/downloads.py | 2 +- specials/filmontv.py | 4 +-- specials/news.py | 4 +-- specials/search.py | 4 +-- specials/tvmoviedb.py | 2 +- specials/videolibrary.py | 2 +- 30 files changed, 52 insertions(+), 58 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/test-canale.md b/.github/ISSUE_TEMPLATE/test-canale.md index dbe53325..8fa282d6 100644 --- a/.github/ISSUE_TEMPLATE/test-canale.md +++ b/.github/ISSUE_TEMPLATE/test-canale.md @@ -67,7 +67,7 @@ Controlla sia presente qualcosa, tra le " " di thumbnail e banner, e che le imma Riepilogo voci: - movie, tvshow, anime, documentary, vos, adult + movie, tvshow, anime, documentary, sub, adult (se il sito contiene film e serie, devono esserci sia movie che tvshow, se contiene solo film, solo movie) diff --git a/channels/0example.json.txt b/channels/0example.json.txt index 6e325e14..568c6405 100644 --- a/channels/0example.json.txt +++ b/channels/0example.json.txt @@ -23,7 +23,7 @@ se vanno cancellati tutti deve rimanere la voce: "active": false, "thumbnail": "", "banner": "", - "categories": ["movie", "tvshow", "anime", "vos", "documentary"], + "categories": ["movie", "tvshow", "anime", "sub, "documentary"], "not_active": ["include_in_newest"], "settings": [ { diff --git a/channels/altadefinizione01.json b/channels/altadefinizione01.json index 3fc2ef26..cc01b726 100644 --- a/channels/altadefinizione01.json +++ b/channels/altadefinizione01.json @@ -5,6 +5,6 @@ "active": true, "thumbnail": "altadefinizione01.png", "banner": "altadefinizione01.png", - "categories": ["movie", "vos"], + "categories": ["movie", "sub"], "settings": [] } diff --git a/channels/altadefinizione01_link.json b/channels/altadefinizione01_link.json index 429fd83c..467e1cb2 100644 --- a/channels/altadefinizione01_link.json +++ b/channels/altadefinizione01_link.json @@ -5,6 +5,6 @@ "language": ["ita","sub-ita"], "thumbnail": "altadefinizione01_L.png", "banner": "altadefinizione01_L.png", - "categories": ["movie","vos"], + "categories": ["movie","sub"], "settings" :[] } diff --git a/channels/altadefinizioneclick.json b/channels/altadefinizioneclick.json index b0c115d9..663998db 100644 --- a/channels/altadefinizioneclick.json +++ b/channels/altadefinizioneclick.json @@ -5,7 +5,7 @@ "language": ["ita","sub-ita"], "thumbnail": "altadefinizioneclick.png", "bannermenu": "altadefinizioneciclk.png", - "categories": ["tvshow","movie","vos"], + "categories": ["tvshow","movie","sub"], "not_active":["include_in_newest_series"], "settings": [] } diff --git a/channels/animeleggendari.json b/channels/animeleggendari.json index ec85dc22..8ebc82ab 100644 --- a/channels/animeleggendari.json +++ b/channels/animeleggendari.json @@ -5,7 +5,7 @@ "language": ["ita", "sub-ita"], "thumbnail": "animepertutti.png", "bannermenu": "animepertutti.png", - "categories": ["anime", "vos"], + "categories": ["anime", "sub"], "not_active":["include_in_newest_peliculas", "include_in_newest_series", "include_in_newest_anime"], "settings": [] } diff --git a/channels/animeworld.json b/channels/animeworld.json index 05ccbc30..3f3d4932 100644 --- a/channels/animeworld.json +++ b/channels/animeworld.json @@ -5,7 +5,7 @@ "language": ["ita", "sub-ita"], "thumbnail": "animeworld.png", "banner": "animeworld.png", - "categories": ["anime", "vos"], + "categories": ["anime", "sub"], "settings": [ { "id": "order", diff --git a/channels/casacinema.json b/channels/casacinema.json index b7d283bd..6393c7ee 100644 --- a/channels/casacinema.json +++ b/channels/casacinema.json @@ -5,7 +5,7 @@ "active": true, "thumbnail": "casacinema.png", "banner": "casacinema.png", - "categories": ["tvshow", "movie","vos"], + "categories": ["tvshow", "movie","sub"], "settings": [ ] } diff --git a/channels/cb01anime.json b/channels/cb01anime.json index 621c7c8a..faae8b0b 100644 --- a/channels/cb01anime.json +++ b/channels/cb01anime.json @@ -1,7 +1,7 @@ { "id": "cb01anime", "name": "Cb01anime", - "language": ["ita", "vos", "sub-ita"], + "language": ["ita", "sub, "sub-ita"], "active": true, "thumbnail": "cb01anime.png", "banner": "cb01anime.png", diff --git a/channels/cineblog01.json b/channels/cineblog01.json index c97e7d66..f621a543 100644 --- a/channels/cineblog01.json +++ b/channels/cineblog01.json @@ -5,6 +5,6 @@ "active": true, "thumbnail": "cb01.png", "banner": "cb01.png", - "categories": ["tvshow", "movie", "vos", "documentary"], + "categories": ["tvshow", "movie", "sub, "documentary"], "settings": [] } \ No newline at end of file diff --git a/channels/dreamsub.json b/channels/dreamsub.json index 578ab806..01c7e61c 100644 --- a/channels/dreamsub.json +++ b/channels/dreamsub.json @@ -5,6 +5,6 @@ "active": true, "thumbnail": "dreamsub.png", "banner": "dreamsub.png", - "categories": ["anime", "vos"], + "categories": ["anime", "sub"], "settings": [] } diff --git a/channels/eurostreaming.json b/channels/eurostreaming.json index 79a3eb99..b7d37f5e 100644 --- a/channels/eurostreaming.json +++ b/channels/eurostreaming.json @@ -5,6 +5,6 @@ "language": ["ita","sub-ita"], "thumbnail": "eurostreaming.png", "banner": "eurostreaming.png", - "categories": ["tvshow","anime","vos"], + "categories": ["tvshow","anime","sub"], "settings": [] } diff --git a/channels/fastsubita.json b/channels/fastsubita.json index bcca9544..3b65618f 100644 --- a/channels/fastsubita.json +++ b/channels/fastsubita.json @@ -5,7 +5,7 @@ "active": false, "thumbnail": "fastsubita.png", "banner": "fastsubita.png", - "categories": ["tvshow", "vos"], + "categories": ["tvshow", "sub"], "not_active": ["include_in_newest_peliculas", "include_in_newest_anime"], "settings": [] } diff --git a/channels/guardaserieclick.json b/channels/guardaserieclick.json index 056097f1..79c3620d 100644 --- a/channels/guardaserieclick.json +++ b/channels/guardaserieclick.json @@ -2,7 +2,7 @@ "id": "guardaserieclick", "name": "GuardaSerie.click", "active": true, - "language": ["ita", "vos"], + "language": ["ita", "sub"], "thumbnail": "guardaserieclick.png", "bannermenu": "guardaserieclick.png", "categories": ["tvshow", "anime"], diff --git a/channels/hd4me.json b/channels/hd4me.json index e85964a0..4918284e 100644 --- a/channels/hd4me.json +++ b/channels/hd4me.json @@ -5,7 +5,7 @@ "active": true, "thumbnail": "hd4me.png", "banner": "hd4me.png", - "categories": ["movie", "vos"], + "categories": ["movie", "sub"], "not_active": ["include_in_newest"], "settings": [] } diff --git a/channels/ilgeniodellostreaming.json b/channels/ilgeniodellostreaming.json index f79c90f4..2a79e463 100644 --- a/channels/ilgeniodellostreaming.json +++ b/channels/ilgeniodellostreaming.json @@ -5,6 +5,6 @@ "language": ["ita", "sub-ita"], "thumbnail": "ilgeniodellostreaming.png", "banner": "ilgeniodellostreaming.png", - "categories": ["movie", "tvshow", "anime", "vos"], + "categories": ["movie", "tvshow", "anime", "sub"], "settings": ["include_in_newest_anime"] } diff --git a/channels/italiaserie.json b/channels/italiaserie.json index ad1b8c42..d456096b 100644 --- a/channels/italiaserie.json +++ b/channels/italiaserie.json @@ -5,7 +5,7 @@ "language": ["ita","sub-ita"], "thumbnail": "italiaserie.png", "bannermenu": "italiaserie.png", - "categories": ["tvshow", "vos"], + "categories": ["tvshow", "sub"], "not_active": ["include_in_newest_peliculas", "include_in_newest_anime"], "settings": [] } diff --git a/channels/serietvu.json b/channels/serietvu.json index e9e1ec1e..73fa9b6e 100644 --- a/channels/serietvu.json +++ b/channels/serietvu.json @@ -5,7 +5,7 @@ "language": ["ita", "sub-ita"], "thumbnail": "serietvu.png", "banner": "serietvu.png", - "categories": ["tvshow", "vos"], + "categories": ["tvshow", "sub"], "not_active": ["include_in_newest_peliculas", "include_in_newest_anime"], "settings": [] } diff --git a/channels/toonitalia.json b/channels/toonitalia.json index fad45e0f..44d43c2b 100644 --- a/channels/toonitalia.json +++ b/channels/toonitalia.json @@ -5,7 +5,7 @@ "active": true, "thumbnail": "toonitalia.png", "banner": "toonitalia.png", - "categories": ["tvshow", "movie", "vos", "anime"], + "categories": ["tvshow", "movie", "sub, "anime"], "not_active":["include_in_newest_peliculas", "include_in_newest_series"], "default_off":["include_in_newest"], "settings": [] diff --git a/channels/vvvvid.json b/channels/vvvvid.json index 4f84b77a..98681f9d 100644 --- a/channels/vvvvid.json +++ b/channels/vvvvid.json @@ -2,9 +2,9 @@ "id": "vvvvid", "name": "VVVVID", "active": true, - "language": ["ita","vos"], + "language": ["ita","sub"], "thumbnail": "vvvvid.png", "banner": "vvvvid.png", - "categories": ["anime","tvshow","movie","vos"], + "categories": ["anime","tvshow","movie","sub"], "settings": [] } \ No newline at end of file diff --git a/channelselector.py b/channelselector.py index b5733b3c..68df0020 100644 --- a/channelselector.py +++ b/channelselector.py @@ -15,46 +15,45 @@ def getmainlist(view="thumb_"): # Main Menu Channels if addon.getSetting('enable_news_menu') == "true": 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", + thumbnail=get_thumb("news.png"), category=config.get_localized_string(30119), viewmode="thumbnails", 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", - thumbnail=get_thumb("channels.png", view), view=view, category=config.get_localized_string(30119), viewmode="thumbnails")) + thumbnail=get_thumb("channels.png"), view=view, category=config.get_localized_string(30119), viewmode="thumbnails")) if addon.getSetting('enable_search_menu') == "true": itemlist.append(Item(title=config.get_localized_string(30103), channel="search", path='special', action="mainlist", - thumbnail=get_thumb("search.png", view), category=config.get_localized_string(30119), viewmode="list", + thumbnail=get_thumb("search.png"), 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":5 , "setting":1}])) if addon.getSetting('enable_onair_menu') == "true": itemlist.append(Item(channel="filmontv", action="mainlist", title=config.get_localized_string(50001), - thumbnail=get_thumb("on_air.png"), viewmode="thumbnails")) + thumbnail=get_thumb("live.png"), viewmode="thumbnails")) if addon.getSetting('enable_link_menu') == "true": - itemlist.append(Item(title=config.get_localized_string(70527), channel="kodfavorites", action="mainlist", thumbnail=get_thumb("mylink.png", view), + itemlist.append(Item(title=config.get_localized_string(70527), channel="kodfavorites", action="mainlist", thumbnail=get_thumb("mylink.png"), view=view, category=config.get_localized_string(70527), viewmode="thumbnails")) if addon.getSetting('enable_fav_menu') == "true": itemlist.append(Item(title=config.get_localized_string(30102), channel="favorites", action="mainlist", - thumbnail=get_thumb("favorites.png", view), category=config.get_localized_string(30102), viewmode="thumbnails")) + thumbnail=get_thumb("favorites.png"), category=config.get_localized_string(30102), viewmode="thumbnails")) if config.get_videolibrary_support() and addon.getSetting('enable_library_menu') == "true": 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", + thumbnail=get_thumb("videolibrary.png"), category=config.get_localized_string(30119), viewmode="thumbnails", 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", thumbnail=get_thumb("download.png", view), viewmode="list", + itemlist.append(Item(title=config.get_localized_string(30101), channel="downloads", action="mainlist", thumbnail=get_thumb("download.png"), viewmode="list", 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") itemlist.append(Item(title=config.get_localized_string(30100), channel="setting", action="settings", - thumbnail=get_thumb(thumb_setting, view), category=config.get_localized_string(30100), viewmode="list", folder=False)) + thumbnail=get_thumb('setting.png'), category=config.get_localized_string(30100), viewmode="list", folder=False)) itemlist.append(Item(title=config.get_localized_string(30104) + " (v" + config.get_addon_version(with_fix=True) + ")", channel="help", action="mainlist", - thumbnail=get_thumb("help.png", view), category=config.get_localized_string(30104), viewmode="list")) + thumbnail=get_thumb("help.png"), category=config.get_localized_string(30104), viewmode="list")) return itemlist @@ -62,7 +61,7 @@ def getchanneltypes(view="thumb_"): logger.debug() # Category List - channel_types = ["movie", "tvshow", "anime", "documentary", "vos", "live", "torrent", "music"] #, "direct" + channel_types = ["movie", "tvshow", "anime", "documentary", "sub", "live", "torrent", "music"] #, "direct" # Channel Language channel_language = auto_filter() @@ -72,17 +71,17 @@ def getchanneltypes(view="thumb_"): itemlist = list() title = config.get_localized_string(30121) itemlist.append(Item(title=title, channel="channelselector", action="filterchannels", view=view, - category=title, channel_type="all", thumbnail=get_thumb("all.png", view), + category=title, channel_type="all", thumbnail=get_thumb("all.png"), viewmode="thumbnails")) for channel_type in channel_types: title = config.get_localized_category(channel_type) itemlist.append(Item(title=title, channel="channelselector", action="filterchannels", category=title, channel_type=channel_type, viewmode="thumbnails", - thumbnail=get_thumb("%s.png" % channel_type, view))) + thumbnail=get_thumb("{}.png".format(channel_type)))) itemlist.append(Item(title=config.get_localized_string(70685), channel="community", action="mainlist", view=view, - category=config.get_localized_string(70685), channel_type="all", thumbnail=get_thumb("community.png", view), + category=config.get_localized_string(70685), channel_type="all", thumbnail=get_thumb("community.png"), viewmode="thumbnails")) return itemlist @@ -126,8 +125,8 @@ def filterchannels(category, view="thumb_"): logger.debug("channel_parameters=%s" % repr(channel_parameters)) # If you prefer the banner and the channel has it, now change your mind - if view == "banner_" and "banner" in channel_parameters: - channel_parameters["thumbnail"] = channel_parameters["banner"] + # if view == "banner_" and "banner" in channel_parameters: + # channel_parameters["thumbnail"] = channel_parameters["banner"] # if the channel is deactivated the channel is not shown in the list if not channel_parameters["active"]: @@ -181,8 +180,8 @@ def filterchannels(category, view="thumb_"): if category == "all": channel_parameters = channeltools.get_channel_parameters('url') # If you prefer the banner and the channel has it, now change your mind - if view == "banner_" and "banner" in channel_parameters: - channel_parameters["thumbnail"] = channel_parameters["banner"] + # if view == "banner_" and "banner" in channel_parameters: + # channel_parameters["thumbnail"] = channel_parameters["banner"] channelslist.insert(0, Item(title=config.get_localized_string(60088), action="mainlist", channel="url", thumbnail=channel_parameters["thumbnail"], type="generic", viewmode="list")) diff --git a/core/support.py b/core/support.py index f407f6e8..5f313e91 100755 --- a/core/support.py +++ b/core/support.py @@ -1276,7 +1276,7 @@ def channel_config(item, itemlist): title=typo(config.get_localized_string(60587), 'color kod bold'), config=item.channel, folder=False, - thumbnail=thumb('setting_0')) + thumbnail=thumb('setting')) ) diff --git a/platformcode/envtal.py b/platformcode/envtal.py index 0894d564..c21d36e7 100644 --- a/platformcode/envtal.py +++ b/platformcode/envtal.py @@ -409,7 +409,7 @@ def paint_env(item, environment={}): itemlist = [] - thumb = get_thumb("setting_0.png") + thumb = get_thumb("setting.png") cabecera = """\ It shows the [COLOR yellow] variables [/ COLOR] of the Kodi ecosystem that may be relevant to the problem diagnosis in Alpha: diff --git a/platformcode/xbmc_videolibrary.py b/platformcode/xbmc_videolibrary.py index f97d2859..630c963e 100644 --- a/platformcode/xbmc_videolibrary.py +++ b/platformcode/xbmc_videolibrary.py @@ -2,12 +2,7 @@ # ------------------------------------------------------------ # XBMC Library Tools # ------------------------------------------------------------ -# from future import standard_library -# standard_library.install_aliases() -#from builtins import str -from specials import videolibrary -from platformcode.contextmenu.update_tv_show import join -from core.item import Item + import sys, os, threading, time, re, math, xbmc, xbmcgui, sqlite3 PY3 = False if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int @@ -17,7 +12,7 @@ if PY3: else: import urllib2 # Usamos el nativo de PY2 que es más rápido -from core import filetools, jsontools, support, videolibrarydb +from core import filetools, jsontools, videolibrarydb from platformcode import config, logger, platformtools from core import scrapertools from xml.dom import minidom diff --git a/specials/downloads.py b/specials/downloads.py index 2eeded2d..2855ed22 100644 --- a/specials/downloads.py +++ b/specials/downloads.py @@ -124,7 +124,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=6, 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.png'))) # Reload if estados: diff --git a/specials/filmontv.py b/specials/filmontv.py index 3a32acbe..5cd6b4d6 100644 --- a/specials/filmontv.py +++ b/specials/filmontv.py @@ -27,7 +27,7 @@ def mainlist(item): Item(title=support.typo('Canali live', 'bold'), channel=item.channel, action='live', - thumbnail=support.thumb('tvshow_on_air')), + thumbnail=support.thumb('tvshow_live')), Item(channel=item.channel, title=config.get_setting("film1", channel="filmontv"), action="now_on_tv", @@ -83,7 +83,7 @@ def mainlist(item): action="server_config", config="filmontv", folder=False, - thumbnail=item.thumbnail)] + thumbnail=support.thumb('setting'))] return itemlist diff --git a/specials/news.py b/specials/news.py index ff6653e3..e4241fbb 100644 --- a/specials/news.py +++ b/specials/news.py @@ -551,7 +551,7 @@ def show_channels(item): def menu_opciones(item): itemlist = list() itemlist.append(Item(channel=item.channel, title=config.get_localized_string(60525), - text_bold = True, thumbnail=get_thumb("setting_0.png"), + text_bold = True, thumbnail=get_thumb("setting.png"), folder=False)) itemlist.append(Item(channel=item.channel, action="setting_channel", extra="peliculas", title=config.get_localized_string(60526), thumbnail=get_thumb("movie.png"), @@ -584,7 +584,7 @@ def menu_opciones(item): thumbnail=get_thumb("documentary.png"), folder=False)) itemlist.append(Item(channel=item.channel, action="settings", title=config.get_localized_string(60531), - thumbnail=get_thumb("setting_0.png"), + thumbnail=get_thumb("setting.png"), folder=False)) return itemlist diff --git a/specials/search.py b/specials/search.py index a9a6bfd0..2d6dca9d 100644 --- a/specials/search.py +++ b/specials/search.py @@ -50,8 +50,8 @@ def mainlist(item): itemlist += [Item(channel=item.channel, title=config.get_localized_string(59995), action='saved_search', thumbnail=get_thumb('search.png')), Item(channel=item.channel, title=config.get_localized_string(60420), action='sub_menu', thumbnail=get_thumb('search.png')), Item(channel="tvmoviedb", title=config.get_localized_string(70274), action="mainlist", thumbnail=get_thumb("search.png")), - Item(channel=item.channel, title=typo(config.get_localized_string(59994) + '{config}', 'color kod bold'), action='setting_channel_new', thumbnail=get_thumb('setting_0.png'), folder=False), - 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'), folder=False)] + Item(channel=item.channel, title=typo(config.get_localized_string(59994) + '{config}', 'color kod bold'), action='setting_channel_new', thumbnail=get_thumb('setting.png'), folder=False), + Item(channel='shortcuts', title=typo(config.get_localized_string(70286), 'color kod bold'), action='SettingOnPosition', category=5, setting=1, thumbnail=get_thumb('setting.png'), folder=False)] itemlist = set_context(itemlist) support.thumb(itemlist) diff --git a/specials/tvmoviedb.py b/specials/tvmoviedb.py index 15437b20..09f1bb53 100644 --- a/specials/tvmoviedb.py +++ b/specials/tvmoviedb.py @@ -2235,7 +2235,7 @@ def details_mal(item): token_auth = config.get_setting("token_trakt", "trakt") if token_auth and ob_tmdb.result: - itemlist.append(item.clone(title=config.get_localized_string(70323), action="menu_trakt", thumbnail=thumb('setting_0'))) + itemlist.append(item.clone(title=config.get_localized_string(70323), action="menu_trakt", thumbnail=thumb('setting'))) # Prequels, sequels and alternative series are listed prequel = match(data, patron=r'Prequel:(.*?)').match diff --git a/specials/videolibrary.py b/specials/videolibrary.py index d4fa72c3..f64c3bcd 100644 --- a/specials/videolibrary.py +++ b/specials/videolibrary.py @@ -30,7 +30,7 @@ def mainlist(item): context=[{'channel':'videolibrary', 'action':'update_videolibrary', 'title':config.get_localized_string(70269)}]), item.clone(title=typo(config.get_localized_string(70741) % config.get_localized_string(30123) + '...', 'submenu'),contentType='tvshow', action='search_list', thumbnail=thumb('search_tvshow')), item.clone(channel='shortcuts', title=typo(config.get_localized_string(70287),'bold color kod'), action='SettingOnPosition', - category=2, setting=1, thumbnail = thumb('setting_0'),folder=False)] + category=2, setting=1, thumbnail = thumb('setting'),folder=False)] support.thumb(itemlist) return itemlist