fix trailer playback issue, update readme to include theme music and

extrafanart info
This commit is contained in:
im85288 2015-03-26 10:06:59 +00:00
parent 7664e6e668
commit de5dca04bd
2 changed files with 10 additions and 7 deletions

View file

@ -58,9 +58,10 @@ class PlaybackUtils():
else:
#get the resume point from Kodi DB for an episode
episodeItem = ReadEmbyDB().getItem(id)
kodiItem = ReadKodiDB().getKodiEpisodeByMbItem(id,episodeItem["SeriesId"])
if kodiItem != None:
seekTime = int(round(kodiItem['resume'].get("position")))
if episodeItem != None and str(episodeItem["Type"]) == "Episode":
kodiItem = ReadKodiDB().getKodiEpisodeByMbItem(id,episodeItem["SeriesId"])
if kodiItem != None:
seekTime = int(round(kodiItem['resume'].get("position")))
playurl = PlayUtils().getPlayUrl(server, id, result)