INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: mattkhan on June 24, 2023, 01:08:07 pm

Title: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: mattkhan on June 24, 2023, 01:08:07 pm
this appears to be possible via the UI (right click menu) but there is no equivalent MCC or MCWS command to move to a specific chapter, it means there is no way to interact with the ChapterList field provided by PlaybackInfo

as a minor sidebar, it would be handy if the structure of that field was easier to parse, currently it is a pipe separated list of these tokens

<trackNumber><space><hyphen><space><chapterName><space><hh:mm:ss.FFF starttime>

this can be parsed but it is a little clumsy to do so

imv it would be better to use some child elements (if it has to be xml) or some unique delimiter (if it has to be a custom text encoding)
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: mattkhan on June 24, 2023, 01:10:06 pm
I seem to be asking for quite a few such requests recently :)

as a general overarching request, I think MCWS should have a command for every playback interaction you can do via the UI. I would think a consolidated effort on that for a couple of days could knock all of those out (and then commit to maintaining feature parity going forward) would be a great addition to MC.
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: Hendrik on June 25, 2023, 07:15:22 am
I added chapter jumping to Playback/Position using the new Mode parameter, eg. Playback/Position?Mode=Chapter&Position=10 for absolute, or Playback/Position?Mode=Chapter&Relative=1&Position=1 to jump one chapter ahead, etc.
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: Peter M on June 26, 2023, 01:07:11 am
On a related matter - any chance of implementing this -

https://yabb.jriver.com/interact/index.php/topic,120543.msg924432.html#msg924432 (https://yabb.jriver.com/interact/index.php/topic,120543.msg924432.html#msg924432)
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: mattkhan on June 26, 2023, 03:52:43 am
I added chapter jumping to Playback/Position using the new Mode parameter, eg. Playback/Position?Mode=Chapter&Position=10 for absolute, or Playback/Position?Mode=Chapter&Relative=1&Position=1 to jump one chapter ahead, etc.
great, thanks

is that coming soon or is already in a build?

if the latter, the docs need updating as it currently says

            Mode: 'ms' for milliseconds. '%' for percent. (default: ms)
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: Hendrik on June 26, 2023, 04:08:12 am
Don't have the tech to make features appear in past builds quite yet. :D
Title: Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
Post by: MrBiff on December 20, 2023, 06:37:23 pm
I added chapter jumping to Playback/Position using the new Mode parameter, eg. Playback/Position?Mode=Chapter&Position=10 for absolute, or Playback/Position?Mode=Chapter&Relative=1&Position=1 to jump one chapter ahead, etc.

Should this be working on the macOS version?