Revert "Added support for youtube trailers"

This reverts commit ac95b1ce23.
This commit is contained in:
angelblue05 2015-06-17 00:32:10 -05:00
parent ac95b1ce23
commit 874aab05d5

View file

@ -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', " ")