diff --git a/plugin.video.alfa/platformcode/unify.py b/plugin.video.alfa/platformcode/unify.py index 4b19a6ce..3c172fd4 100644 --- a/plugin.video.alfa/platformcode/unify.py +++ b/plugin.video.alfa/platformcode/unify.py @@ -145,6 +145,7 @@ def normalize(string): normal = ''.join((c for c in unicodedata.normalize('NFD', unicode(string)) if unicodedata.category(c) != 'Mn')) return normal + def simplify(string): #logger.info() @@ -153,6 +154,7 @@ def simplify(string): string = string.replace('-',' ').replace('_',' ') string = re.sub(r'\d+','', string) string = string.strip() + notilde = normalize(string) try: string = notilde.decode() @@ -417,7 +419,6 @@ def title_format(item): if lang: item.title = add_languages(item.title, simple_language) - # Para las busquedas por canal if item.from_channel != '': from core import channeltools