small fix for trailers

This commit is contained in:
Shaun
2019-02-09 19:26:27 +11:00
parent bd7e95bdf0
commit 98ebb9792b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.embycon"
name="EmbyCon"
version="1.8.8"
version="1.8.9"
provider-name="Team B">
<requires>
<import addon="xbmc.python" version="2.25.0"/>

View File

@@ -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: