Fix per Ricerca e Novità per Sub-ITA

con selezione auto o ita in impostazioni
This commit is contained in:
Alhaziel
2019-11-04 19:20:08 +01:00
parent c20c73bb96
commit b444b07d68
3 changed files with 5 additions and 5 deletions

View File

@@ -149,7 +149,7 @@ def get_channels_list():
continue
# No incluir si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in channel_parameters["language"] \
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
continue
@@ -624,7 +624,7 @@ def setting_channel(item):
continue
# No incluir si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in channel_parameters["language"] \
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
continue

View File

@@ -256,7 +256,7 @@ def setting_channel_old(item):
continue
# No incluir si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in channel_parameters["language"] \
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
continue
@@ -524,7 +524,7 @@ def do_search(item, categories=None):
continue
# No busca si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in channel_parameters["language"] \
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
logger.info("%s -idioma no válido-" % basename_without_extension)
continue

View File

@@ -705,7 +705,7 @@ def do_channels_search(item):
continue
# No busca si el canal es en un idioma filtrado
if channel_language != "all" and channel_parameters["language"] != channel_language:
if channel_language != "all" and channel_language not in str(channel_parameters["language"]):
continue
# No busca si es un canal excluido de la busqueda global