Don't play trailer if we got items queued
This commit is contained in:
parent
c45250e74f
commit
4086482991
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue