Don't play trailer if we got items queued

This commit is contained in:
tomkat83 2017-01-02 19:16:35 +01:00
parent c45250e74f
commit 4086482991

View file

@ -132,8 +132,8 @@ class PlaybackUtils():
# Where will the player need to start?
# Do we need to get trailers?
trailers = False
if (api.getType() == 'movie' and not seektime and
settings('enableCinema') == "true"):
if (api.getType() == 'movie' and not seektime and sizePlaylist < 2
and settings('enableCinema') == "true"):
if settings('askCinema') == "true":
trailers = xbmcgui.Dialog().yesno(
addonName,