INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [REQ] Provide an MCWS command to jump to a chapter in a video track  (Read 765 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226

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)
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #1 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.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #2 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.
Logged
~ nevcairiel
~ Author of LAV Filters

Peter M

  • Recent member
  • *
  • Posts: 43
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #3 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
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4226
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #4 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)
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #5 on: June 26, 2023, 04:08:12 am »

Don't have the tech to make features appear in past builds quite yet. :D
Logged
~ nevcairiel
~ Author of LAV Filters

MrBiff

  • World Citizen
  • ***
  • Posts: 151
Re: [REQ] Provide an MCWS command to jump to a chapter in a video track
« Reply #6 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?
Logged
Pages: [1]   Go Up