Fix trailers for widget items with resume point
This commit is contained in:
parent
66cdd4b176
commit
b4f8b435fb
1 changed files with 2 additions and 1 deletions
|
@ -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?"
|
||||||
|
|
Loading…
Reference in a new issue