mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-27 08:20:47 +00:00
Don't play intro video before trailers
This commit is contained in:
parent
e2257778fb
commit
1b22959fa0
@ -325,7 +325,7 @@ sub Main (args as dynamic) as void
|
||||
|
||||
video_id = trailerData[0].id
|
||||
|
||||
video = CreateVideoPlayerGroup(video_id, mediaSourceId, audio_stream_idx)
|
||||
video = CreateVideoPlayerGroup(video_id, mediaSourceId, audio_stream_idx, false, false)
|
||||
if video <> invalid and video.errorMsg <> "introaborted"
|
||||
sceneManager.callFunc("pushScene", video)
|
||||
end if
|
||||
@ -430,12 +430,6 @@ sub Main (args as dynamic) as void
|
||||
autoPlayNextEpisode(node.id, node.showID)
|
||||
end if
|
||||
end if
|
||||
'else if isNodeEvent(msg, "selectedExtra")
|
||||
'rl = msg.getData()
|
||||
'sel = rl.rowItemSelected
|
||||
'? "msg.getfield():" + msg.getField()
|
||||
'stop
|
||||
'CreatePersonView(msg.getData())
|
||||
else if type(msg) = "roDeviceInfoEvent"
|
||||
event = msg.GetInfo()
|
||||
group = sceneManager.callFunc("getActiveScene")
|
||||
|
Loading…
Reference in New Issue
Block a user