forked from openlp/openlp
Fix up auto start
This commit is contained in:
parent
e79250c06b
commit
a235602acb
@ -410,10 +410,7 @@ class MediaController(object):
|
|||||||
if not controller.isLive:
|
if not controller.isLive:
|
||||||
autoplay = True
|
autoplay = True
|
||||||
# Visible or background requested or Service Item wants to autostart
|
# Visible or background requested or Service Item wants to autostart
|
||||||
elif serviceItem.will_auto_start:
|
elif not hidden or controller.media_info.is_background or serviceItem.will_auto_start:
|
||||||
autoplay = True
|
|
||||||
# Visible or background requested or Service Item wants to autostart
|
|
||||||
elif (not hidden or controller.media_info.is_background) and not serviceItem.will_auto_start:
|
|
||||||
autoplay = True
|
autoplay = True
|
||||||
# Unblank on load set
|
# Unblank on load set
|
||||||
elif Settings().value(u'general/auto unblank', False):
|
elif Settings().value(u'general/auto unblank', False):
|
||||||
|
Loading…
Reference in New Issue
Block a user