WIP - display progress when ok button is pressed

This commit is contained in:
Lee Gladsden 2023-11-01 23:27:39 -04:00
parent cbccc08cea
commit 5ac297cf53

View File

@ -151,7 +151,8 @@ sub onVideoContentLoaded()
showPlaybackErrorDialog(tr("There was an error retrieving the data for this item from the server."))
return
end if
m.top.trickplaybarvisibilityauto = true
m.top.trickplaybar.translation = [110, 900]
m.top.content = videoContent[0].content
m.top.PlaySessionId = videoContent[0].PlaySessionId
m.top.videoId = videoContent[0].id
@ -271,7 +272,7 @@ sub onState(msg)
m.top.control = "stop"
m.top.backPressed = true
else if m.top.state = "playing"
m.top.trickPlayBar.visible = false
' Check if next episde is available
if isValid(m.top.showID)
if m.top.showID <> "" and not m.checkedForNextEpisode and m.top.content.contenttype = 4
@ -289,6 +290,10 @@ sub onState(msg)
end if
m.playbackTimer.control = "start"
else if m.top.state = "paused"
if not m.top.trickPlayBar.visible
m.top.trickPlayBar.visible = true
end if
m.top.setFocus(true)
m.playbackTimer.control = "stop"
ReportPlayback()
else if m.top.state = "stopped"