update from deprecated youtube playback url (#44)
This commit is contained in:
@@ -890,7 +890,7 @@ def playTrailer(id):
|
||||
elif trailer.get("type") == "remote":
|
||||
youtube_id = trailer.get("url").rsplit('=', 1)[1]
|
||||
log.debug("YoutubeID: {0}", youtube_id)
|
||||
youtube_plugin = "PlayMedia(plugin://plugin.video.youtube/?action=play_video&videoid=%s)" % youtube_id
|
||||
youtube_plugin = "PlayMedia(plugin://plugin.video.youtube/play/?video_id=%s)" % youtube_id
|
||||
xbmc.executebuiltin(youtube_plugin)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user