Fix Cinema Mode Intro bug
This commit is contained in:
parent
a146ea7ee2
commit
4ce9f18152
|
@ -146,7 +146,13 @@ end sub
|
|||
'
|
||||
' Clear previous scene from group stack
|
||||
sub clearPreviousScene()
|
||||
m.groups.Delete(2)
|
||||
m.groups.pop()
|
||||
end sub
|
||||
|
||||
'
|
||||
' Delete X number of scenes from group stack
|
||||
sub deletePreviousScene(sceneLength = 1)
|
||||
m.groups.Delete(sceneLength)
|
||||
end sub
|
||||
|
||||
'
|
||||
|
|
|
@ -420,7 +420,7 @@ sub Main (args as dynamic) as void
|
|||
if m.selectedItemType = "TvChannel" and node.state = "finished"
|
||||
video = CreateVideoPlayerGroup(node.id)
|
||||
m.global.sceneManager.callFunc("pushScene", video)
|
||||
m.global.sceneManager.callFunc("clearPreviousScene")
|
||||
m.global.sceneManager.callFunc("deletePreviousScene", 2)
|
||||
else if node.state = "finished"
|
||||
node.control = "stop"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user