Posts: 31,445
Joined: Jan 2011
2013-06-01, 10:18
(This post was last modified: 2015-06-04, 13:02 by Ned Scott.)
Anyone ever notice that we don't have a dedicated actionID for going to the next video in a playlist? All the options we have now won't skip the video itself if there are chapters. I understand sharing bigstepforward and next chapter, but next video and next chapter should be separate.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
If there are chapters is the key here. We do actually have NextItem/PrevItem functions, but perhaps they're overridden to perform chapter duty? IMO chapter duty is better to override the large skip forward/back.
Posts: 31,445
Joined: Jan 2011
2013-06-02, 06:05
(This post was last modified: 2013-06-02, 06:08 by Ned Scott.)
From
Action IDs (wiki) we have:
Code:
SkipNext Skip to the next item in a playlist or scene in a video.
SkipPrevious Skip to the previous item in a playlist or scene in a video.
BigStepForward Step forward 10min in video.
BigStepBack Step back 10min in video.
nextscene ? (ACTION_NEXT_SCENE)
previousscene ? (ACTION_PREV_SCENE)
The last two don't seem to do anything during playback. I'm not sure what they do.
Playing videos on a playlist without chapters:
Code:
SkipNext Next video in playlist
SkipPrevious Previous video in playlist
BigStepForward Step forward 10min in video.
BigStepBack Step back 10min in video.
Playing videos on a playlist with chapters:
Code:
SkipNext Next chapter
SkipPrevious Previous chapter
BigStepForward Next chapter
BigStepBack Previous chapter
I even tried PlayerControl(Next) and PlayerControl(Previous), but they simply do the same thing as SkipNext and SkipPrevious.
So if you're in a playlist and you're on a video with chapters, you then have no way to go to the next video in the playlist.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
So we already override BigStep* -> Next/Prev Chapter.
The trick now is to make sure we don't override SkipNext/Previous.
Posts: 31,445
Joined: Jan 2011