Añadido contentChannel para saber en findvideos si vengo del addon o de la videolibrary

This commit is contained in:
danielr460
2017-10-26 13:54:14 -05:00
parent 6fefc3b048
commit f37d18ee0a

View File

@@ -381,6 +381,7 @@ def findvideos(item):
item_json.show = item.library_filter_show.get(nom_canal, "")
# Ejecutamos find_videos, del canal o común
item_json.contentChannel='videolibrary'
if hasattr(channel, 'findvideos'):
from core import servertools
list_servers = getattr(channel, 'findvideos')(item_json)