Do not play trailers for resumable movies using playback via PMS
This commit is contained in:
parent
f0c1562ab5
commit
229b0491b6
1 changed files with 2 additions and 1 deletions
|
@ -105,8 +105,9 @@ def _playback_init(plex_id, plex_type, playqueue, pos):
|
||||||
# playqueues
|
# playqueues
|
||||||
# Fail the item we're trying to play now so we can restart the player
|
# Fail the item we're trying to play now so we can restart the player
|
||||||
_ensure_resolve()
|
_ensure_resolve()
|
||||||
|
api = API(xml[0])
|
||||||
trailers = False
|
trailers = False
|
||||||
if (plex_type == v.PLEX_TYPE_MOVIE and not state.RESUME_PLAYBACK and
|
if (plex_type == v.PLEX_TYPE_MOVIE and not api.resume_point() 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