INTERACT FORUM

Please login or register.

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

Author Topic: Retrieving Chapters Of Current Item?  (Read 1953 times)

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Retrieving Chapters Of Current Item?
« on: June 09, 2023, 12:25:01 pm »

I must be missing something but I can't seem to find how to return the 'chapters' of the currently playing item.

http://xxx:52199/MCWS/v1/Files/Current?Action=json&ActiveFile=-1&Zone=-1&ZoneType=ID&ActiveFileOnly=1

Gets most of the 'static' metadata I need but lacks chapter information. I'm mostly interested in titles and timestamps.


Any idea how to do this?

Cheers,

Eve

Logged

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: Retrieving Chapters Of Current Item?
« Reply #1 on: June 16, 2023, 09:36:57 am »

Anyone?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Retrieving Chapters Of Current Item?
« Reply #2 on: June 16, 2023, 11:13:30 am »

Next build we'll add this:
NEW: Added the chapter list to Playback/Info.

Thanks for the suggestion :)
Logged
Matt Ashland, JRiver Media Center

eve

  • Citizen of the Universe
  • *****
  • Posts: 689
Re: Retrieving Chapters Of Current Item?
« Reply #3 on: June 16, 2023, 01:02:59 pm »

Next build we'll add this:
NEW: Added the chapter list to Playback/Info.

Thanks for the suggestion :)

Beautiful. That saves me an extra step / database request.

I'm just 'listing' chapters to make navigation a little easier (I'll probably use placeholder images culled from the art assets for the item) but I might mess around with ChapterDb to try and pull fitting names when they don't exist.

Being able to retrieve the parsed media info like audio and subtitle tracks has been a massive help too by the way.
Logged
Pages: [1]   Go Up