Fix trailers for widget items with resume point

This commit is contained in:
croneter 2018-02-05 19:40:49 +01:00
parent 66cdd4b176
commit b4f8b435fb

View file

@ -129,7 +129,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
trailers = False trailers = False
if (plex_type == v.PLEX_TYPE_MOVIE and not state.RESUMABLE and api = API(xml[0])
if (plex_type == v.PLEX_TYPE_MOVIE and not api.getResume() and
settings('enableCinema') == "true"): settings('enableCinema') == "true"):
if settings('askCinema') == "true": if settings('askCinema') == "true":
# "Play trailers?" # "Play trailers?"