Let Kodi decide whether an item is resumable
This commit is contained in:
parent
f32d2cfcfc
commit
15f6d7bf18
1 changed files with 1 additions and 3 deletions
|
@ -131,10 +131,8 @@ def playback_init(plex_id, plex_type, playqueue):
|
||||||
# "Play error"
|
# "Play error"
|
||||||
dialog('notification', lang(29999), lang(30128), icon='{error}')
|
dialog('notification', lang(29999), lang(30128), icon='{error}')
|
||||||
return
|
return
|
||||||
api = API(xml[0])
|
|
||||||
resume, _ = api.getRuntime()
|
|
||||||
trailers = False
|
trailers = False
|
||||||
if (plex_type == v.PLEX_TYPE_MOVIE and not resume and
|
if (plex_type == v.PLEX_TYPE_MOVIE and not state.RESUMABLE and
|
||||||
settings('enableCinema') == "true"):
|
settings('enableCinema') == "true"):
|
||||||
if settings('askCinema') == "true":
|
if settings('askCinema') == "true":
|
||||||
# "Play trailers?"
|
# "Play trailers?"
|
||||||
|
|
Loading…
Reference in a new issue