From c48061089744a53d4d952965d4a116f30dcf067b Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Sat, 23 Dec 2023 17:44:41 -0500 Subject: [PATCH] Fix OK button not playing episode from episode list --- components/tvshows/TVEpisodes.bs | 2 ++ source/ShowScenes.bs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/tvshows/TVEpisodes.bs b/components/tvshows/TVEpisodes.bs index ffc225cd..57164ceb 100644 --- a/components/tvshows/TVEpisodes.bs +++ b/components/tvshows/TVEpisodes.bs @@ -93,6 +93,8 @@ function onKeyEvent(key as string, press as boolean) as boolean focusedItem = getFocusedItem() if isValid(focusedItem) m.top.selectedItem = focusedItem + 'Prevent the selected item event from double firing + m.top.selectedItem = invalid end if return true end if diff --git a/source/ShowScenes.bs b/source/ShowScenes.bs index 353ee136..3610b249 100644 --- a/source/ShowScenes.bs +++ b/source/ShowScenes.bs @@ -811,7 +811,7 @@ function CreateSeasonDetailsGroupByID(seriesID as string, seasonID as string) as group.objects = TVEpisodes(seriesID, seasonID) group.episodeObjects = group.objects ' watch for button presses - group.observeField("episodeSelected", m.port) + group.observeField("selectedItem", m.port) group.observeField("quickPlayNode", m.port) ' don't wait for the extras button stopLoadingSpinner()