mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Revert "Added support for youtube trailers"
This reverts commit ac95b1ce23
.
This commit is contained in:
parent
ac95b1ce23
commit
874aab05d5
1 changed files with 0 additions and 5 deletions
|
@ -123,11 +123,6 @@ 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:
|
||||
trailerUrl = MBitem.get("RemoteTrailers")[0].get("Url")
|
||||
if trailerUrl.startswith("http"):
|
||||
trailerId = trailerUrl.split('=')[1]
|
||||
trailerUrl = "plugin://plugin.video.youtube/play/?video_id=%s" % trailerId
|
||||
|
||||
if MBitem.get("DateCreated") != None:
|
||||
dateadded = MBitem["DateCreated"].split('.')[0].replace('T', " ")
|
||||
|
|
Loading…
Reference in a new issue