diff --git a/addon.xml b/addon.xml index 8176394..693b47b 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/functions.py b/resources/lib/functions.py index 3a3bd21..afc271e 100644 --- a/resources/lib/functions.py +++ b/resources/lib/functions.py @@ -839,7 +839,7 @@ def playTrailer(id): info = {} info["type"] = "remote" url = trailer.get("Url", "none") - if url.lower().find("youtube"): + if url.lower().find("youtube") != -1: info["url"] = url name = trailer.get("Name") while not name or name in trailer_names: