Merge pull request #1529 from jimdogx/fix/jf-live-tv-rewatch-channel

Fix TV Guide bug
This commit is contained in:
1hitsong 2023-11-22 08:31:39 -05:00 committed by GitHub
commit 3da92d5cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -735,6 +735,9 @@ sub onChannelSelected(msg)
if node.watchChannel <> invalid
' Clone the node when it's reused/update in the TimeGrid it doesn't automatically start playing
m.top.selectedItem = node.watchChannel.clone(false)
' Make sure to set watchChanel to invalid in case the user hits back and then selects
' the same channel on the guide (without moving away from the currently selected channel)
m.tvGuide.watchChannel = invalid
end if
end sub