small fix for trailers
This commit is contained in:
@@ -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"/>
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user