INTERACT FORUM

Please login or register.

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

Author Topic: MCWS... THANK YOU ....+ may we further request a tiny further add-on  (Read 1938 times)

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469

Quote
21.0.87 (6/3/2016)

1. Fixed: The chapter returned by MCWS/v1/Playback/Info would always be zero.


THANK YOU !!

Any chance (whilst we're at it) to further "upgrade" the playback/info function if possible??

A. Additional field returned : <Item Name="Chapter Name">(...)</Item> => the same string as shown by the OSD ??

B. a new function which instead of the playback/info's returned <Item Name="ImageURL">MCWS/v1/File/GetImage?File=75788</Item> would just return the thumbnail image of any currently now playing file ?



 

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42002
  • Shoes gone again!
Re: MCWS... THANK YOU ....+ may we further request a tiny further add-on
« Reply #1 on: June 14, 2016, 11:38:07 am »

B. a new function which instead of the playback/info's returned <Item Name="ImageURL">MCWS/v1/File/GetImage?File=75788</Item> would just return the thumbnail image of any currently now playing file ?

You just call File/GetImage with Type=Thumbnail to get the thumbnail.  And you can specify ThumbnailSize to dial it in more.
Logged
Matt Ashland, JRiver Media Center

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: MCWS... THANK YOU ....+ may we further request a tiny further add-on
« Reply #2 on: June 14, 2016, 12:13:22 pm »

am i not supposed to specify the file key in the file/getimage?

I'm still figuring out what all the parameters in the function can do...so...Sorry..don't want to waste your time...

Parameters:
            File: The key of the file. (default: -1)

does this mean a parameter -1 = generally for "now playing" stuff ?

with the right file key it works perfectly of course but not with -1

Thanks for all
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42002
  • Shoes gone again!
Re: MCWS... THANK YOU ....+ may we further request a tiny further add-on
« Reply #3 on: June 14, 2016, 12:21:58 pm »

Just call:
http://localhost:52199/MCWS/v1/Playback/Info?Zone=-1

It has:
<Item Name="FileKey">2906803</Item>

In other words that's the key of the playing file.
Logged
Matt Ashland, JRiver Media Center

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: MCWS... THANK YOU ....+ may we further request a tiny further add-on
« Reply #4 on: June 14, 2016, 12:27:31 pm »

OK

yes I know... I was in fact wondering if I can get to the thumbnail of a now playing file with a single MCWS function call.

A two step process is also fine of course but bit more cumbersome to have it integrated on my remotes.

Thanks Matt

Logged
Pages: [1]   Go Up