mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 22:26:14 +00:00
fix trailer playback issue, update readme to include theme music and
extrafanart info
This commit is contained in:
parent
7664e6e668
commit
de5dca04bd
2 changed files with 10 additions and 7 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue