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
|
' Clear previous scene from group stack
|
||||||
sub clearPreviousScene()
|
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
|
end sub
|
||||||
|
|
||||||
'
|
'
|
||||||
|
|
|
@ -420,7 +420,7 @@ sub Main (args as dynamic) as void
|
||||||
if m.selectedItemType = "TvChannel" and node.state = "finished"
|
if m.selectedItemType = "TvChannel" and node.state = "finished"
|
||||||
video = CreateVideoPlayerGroup(node.id)
|
video = CreateVideoPlayerGroup(node.id)
|
||||||
m.global.sceneManager.callFunc("pushScene", video)
|
m.global.sceneManager.callFunc("pushScene", video)
|
||||||
m.global.sceneManager.callFunc("clearPreviousScene")
|
m.global.sceneManager.callFunc("deletePreviousScene", 2)
|
||||||
else if node.state = "finished"
|
else if node.state = "finished"
|
||||||
node.control = "stop"
|
node.control = "stop"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user