fix reject
This commit is contained in:
@@ -45,6 +45,7 @@ def mainlist(item):
|
||||
|
||||
itemlist = []
|
||||
list_canales, any_active = get_channels_list()
|
||||
channel_language = config.get_setting("channel_language", default="all")
|
||||
|
||||
#if list_canales['peliculas']:
|
||||
thumbnail = get_thumb("channels_movie.png")
|
||||
@@ -88,19 +89,27 @@ def mainlist(item):
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
|
||||
# if list_canales['Castellano']:
|
||||
thumbnail = get_thumb("channels_spanish.png")
|
||||
new_item = Item(channel=item.channel, action="novedades", extra="castellano", title=config.get_localized_string(70014),
|
||||
thumbnail=thumbnail)
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
if channel_language == "all" or channel_language == "esp":
|
||||
# if list_canales['Castellano']:
|
||||
thumbnail = get_thumb("channels_spanish.png")
|
||||
new_item = Item(channel=item.channel, action="novedades", extra="castellano", title=config.get_localized_string(70014),
|
||||
thumbnail=thumbnail)
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
|
||||
# if list_canales['Latino']:
|
||||
thumbnail = get_thumb("channels_latino.png")
|
||||
new_item = Item(channel=item.channel, action="novedades", extra="latino", title=config.get_localized_string(59976),
|
||||
thumbnail=thumbnail)
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
# if list_canales['Latino']:
|
||||
thumbnail = get_thumb("channels_latino.png")
|
||||
new_item = Item(channel=item.channel, action="novedades", extra="latino", title=config.get_localized_string(59976),
|
||||
thumbnail=thumbnail)
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
if channel_language == "all":
|
||||
# if list_canales['Italiano']:
|
||||
thumbnail = get_thumb("channels_italian.png")
|
||||
new_item = Item(channel=item.channel, action="novedades", extra="italiano", title=config.get_localized_string(70563),
|
||||
thumbnail=thumbnail)
|
||||
set_category_context(new_item)
|
||||
itemlist.append(new_item)
|
||||
|
||||
# if list_canales['Torrent']:
|
||||
thumbnail = get_thumb("channels_torrent.png")
|
||||
@@ -130,7 +139,7 @@ def get_channels_list():
|
||||
logger.info()
|
||||
|
||||
list_canales = {'peliculas': [], '4k': [], 'terror': [], 'infantiles': [], 'series': [], 'anime': [],
|
||||
'castellano': [], 'latino':[], 'torrent':[], 'documentales': []}
|
||||
'castellano': [], 'latino':[], 'italiano':[], 'torrent':[], 'documentales': []}
|
||||
any_active = False
|
||||
# Rellenar listas de canales disponibles
|
||||
channels_path = os.path.join(config.get_runtime_path(), "channels", '*.json')
|
||||
|
||||
@@ -4921,12 +4921,16 @@ msgstr ""
|
||||
|
||||
msgctxt "#70560"
|
||||
msgid "Movies by Genre"
|
||||
msgstr "
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#70561"
|
||||
msgid "Search Similar
|
||||
msgid "Search Similar"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#70562"
|
||||
msgid "Autoplay (Enable autoplay on all supported channels)"
|
||||
msgstr "Autoplay (Enable autoplay on all supported channels)"
|
||||
msgstr "Autoplay (Enable autoplay on all supported channels)"
|
||||
|
||||
msgctxt "#70563"
|
||||
msgid "Italian"
|
||||
msgstr ""
|
||||
|
||||
@@ -4912,10 +4912,13 @@ msgid "Movies by Genre"
|
||||
msgstr "Per genere"
|
||||
|
||||
msgctxt "#70561"
|
||||
msgid "Search Similar
|
||||
msgid "Search Similar"
|
||||
msgstr "Cerca Simili"
|
||||
|
||||
|
||||
msgctxt "#70562"
|
||||
msgid "Autoplay (Enable autoplay in all channels)"
|
||||
msgstr "Autoplay (Abilita autoplay in tutti i canali)"
|
||||
msgstr "Autoplay (Abilita autoplay in tutti i canali)"
|
||||
|
||||
msgctxt "#70563"
|
||||
msgid "Italian"
|
||||
msgstr "Italiano"
|
||||
|
||||
@@ -4930,3 +4930,17 @@ msgstr "Buscar Similares"
|
||||
msgctxt "#70562"
|
||||
msgid "Autoplay (Enable autoplay on all supported channels)"
|
||||
msgstr "Autoplay (Habilitar autoplay en todos los canales soportados)"
|
||||
|
||||
msgctxt "#70563"
|
||||
msgid "Italian"
|
||||
msgstr "Italiano"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4930,3 +4930,15 @@ msgstr "Buscar Similares"
|
||||
msgctxt "#70562"
|
||||
msgid "Autoplay (Enable autoplay on all supported channels)"
|
||||
msgstr "Autoplay (Habilitar autoplay en todos los canales soportados)"
|
||||
|
||||
msgctxt "#70563"
|
||||
msgid "Italian"
|
||||
msgstr "Italiano"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4930,3 +4930,15 @@ msgstr "Buscar Similares"
|
||||
msgctxt "#70562"
|
||||
msgid "Autoplay (Enable autoplay on all supported channels)"
|
||||
msgstr "Autoplay (Habilitar autoplay en todos los canales soportados)"
|
||||
|
||||
msgctxt "#70563"
|
||||
msgid "Italian"
|
||||
msgstr "Italiano"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user