mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Quick correction for youtube trailer
This commit is contained in:
parent
56c2c9aef2
commit
fc7916c69b
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class WriteKodiVideoDB():
|
|||
if(jsonData != ""):
|
||||
trailerItem = jsonData
|
||||
trailerUrl = "plugin://plugin.video.emby/trailer/?id=%s&mode=play" % trailerItem[0][u'Id']
|
||||
elif MBitem.get("RemoteTrailers") != None:
|
||||
elif MBitem.get("RemoteTrailers"):
|
||||
try:
|
||||
trailerUrl = MBitem.get("RemoteTrailers")[0].get("Url")
|
||||
trailerId = trailerUrl.split('=')[1]
|
||||
|
|
Loading…
Reference in a new issue