mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 22:29:43 +00:00
Avoid double processing of options key after certain video types
This commit is contained in:
parent
9b6023253d
commit
641056435e
@ -139,6 +139,7 @@ sub Main (args as dynamic) as void
|
||||
' play episode
|
||||
' todo: create an episode page to link here
|
||||
video_id = selectedItem.id
|
||||
m.scene.unobserveField("optionsPressed")
|
||||
video = CreateVideoPlayerGroup(video_id)
|
||||
if video <> invalid
|
||||
group.lastFocus = group.focusedChild
|
||||
@ -184,6 +185,7 @@ sub Main (args as dynamic) as void
|
||||
dialog.title = tr("Loading Channel Data")
|
||||
m.scene.dialog = dialog
|
||||
|
||||
m.scene.unobserveField("optionsPressed")
|
||||
video = CreateVideoPlayerGroup(video_id)
|
||||
dialog.close = true
|
||||
|
||||
@ -258,6 +260,7 @@ sub Main (args as dynamic) as void
|
||||
' If you select a TV Episode from ANYWHERE, follow this flow
|
||||
node = getMsgPicker(msg, "picker")
|
||||
video_id = node.id
|
||||
m.scene.unobserveField("optionsPressed")
|
||||
video = CreateVideoPlayerGroup(video_id)
|
||||
if video <> invalid
|
||||
group.lastFocus = group.focusedChild
|
||||
|
Loading…
Reference in New Issue
Block a user