Let Kodi decide whether item is resumable

This commit is contained in:
croneter 2018-01-28 13:28:05 +01:00
parent 2243bc42aa
commit d1fc9c0bff

View file

@ -132,9 +132,8 @@ def playback_init(plex_id, plex_type, playqueue):
dialog('notification', lang(29999), lang(30128), icon='{error}') dialog('notification', lang(29999), lang(30128), icon='{error}')
return return
api = API(xml[0]) 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?"