Compare commits
2 Commits
57405edf2a
...
5ac297cf53
Author | SHA1 | Date | |
---|---|---|---|
5ac297cf53 | |||
cbccc08cea |
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user