Compare commits

...

2 Commits

2 changed files with 12 additions and 3 deletions

View File

@ -81,7 +81,11 @@ sub LoadItems_AddVideoContent(video as object, mediaSourceId as dynamic, audio_s
video.content.contenttype = "episode"
end if
video.content.title = meta.title
if videotype = "episode"
video.content.title = "S" + meta.json.ParentIndexNumber.ToStr() + "E" + meta.json.IndexNumber.ToStr() + " - " + meta.title
else
video.content.title = meta.title
end if
video.showID = meta.showID
user = AboutMe()

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"