Cinemalibero ricerca: identificazione tipo da tmdb

This commit is contained in:
mac12m99
2021-04-03 11:45:39 +02:00
parent 8b6f6bf2c8
commit 6791954287

View File

@@ -77,8 +77,8 @@ def peliculas(item):
item.title += support.typo(item.lang2, '_ [] color kod')
if item.args == 'update':
item.title = item.title.replace('-', ' ')
if item.args == 'search':
item.contentType = 'tvshow' if 'serie-' in item.url else 'movie'
# if item.args == 'search':
# item.contentType = 'tvshow' if 'serie-' in item.url else 'movie'
return item