Fix dooplay_menu
This commit is contained in:
@@ -424,14 +424,14 @@ def thumb(itemlist=[], genre=False, thumb=''):
|
|||||||
item.thumbnail = get_thumb(thumb + '.png')
|
item.thumbnail = get_thumb(thumb + '.png')
|
||||||
else: item.thumbnail = get_thumb(thumb + '.png')
|
else: item.thumbnail = get_thumb(thumb + '.png')
|
||||||
else:
|
else:
|
||||||
thumb = item.thumbnails
|
thumb = item.thumbnail
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for thumb, titles in icon_dict.items():
|
for thumb, titles in icon_dict.items():
|
||||||
if any(word in re.split(r'\.|\{|\}|\[|\]|\(|\)| ',item.title.lower()) for word in titles ):
|
if any(word in re.split(r'\.|\{|\}|\[|\]|\(|\)| ',item.title.lower()) for word in titles ):
|
||||||
item.thumbnail = get_thumb(thumb + '.png')
|
item.thumbnail = get_thumb(thumb + '.png')
|
||||||
else:
|
else:
|
||||||
thumb = item.thumbnails
|
thumb = item.thumbnail
|
||||||
|
|
||||||
|
|
||||||
item.title = re.sub(r'\s*\{[^\}]+\}','',item.title)
|
item.title = re.sub(r'\s*\{[^\}]+\}','',item.title)
|
||||||
|
|||||||
@@ -552,7 +552,7 @@ def dooplay_search_vars(item, blacklist):
|
|||||||
|
|
||||||
|
|
||||||
def dooplay_menu(item, type):
|
def dooplay_menu(item, type):
|
||||||
patron = '<a href="(?P<url>[^"#]+)"(?: title="[^"]+")?>(?P<title>[a-zA-Z0-9]+)'
|
patronMenu = '<a href="(?P<url>[^"#]+)"(?: title="[^"]+")?>(?P<title>[a-zA-Z0-9]+)'
|
||||||
patronBlock = '<nav class="' + item.args + '">(?P<block>.*?)</nav>'
|
patronBlock = '<nav class="' + item.args + '">(?P<block>.*?)</nav>'
|
||||||
action = 'peliculas'
|
action = 'peliculas'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user