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? # Where will the player need to start?
# Do we need to get trailers? # Do we need to get trailers?
trailers = False trailers = False
if (api.getType() == 'movie' and not seektime and if (api.getType() == 'movie' and not seektime and sizePlaylist < 2
settings('enableCinema') == "true"): and settings('enableCinema') == "true"):
if settings('askCinema') == "true": if settings('askCinema') == "true":
trailers = xbmcgui.Dialog().yesno( trailers = xbmcgui.Dialog().yesno(
addonName, addonName,