INTERACT FORUM

Please login or register.

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

Author Topic: new request for MCWS  (Read 1550 times)

principal_X

  • Junior Woodchuck
  • **
  • Posts: 79
new request for MCWS
« on: December 28, 2010, 01:41:15 pm »

Would it be easy to add an additional optional parameter when calling the Info method.  I am looking at getting some info on the next item in the current playlist to show the user on what song/item is coming up next.  Would that be possible?  Great for music listeners who shuffle their playlists.

Thanks in advance.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: new request for MCWS
« Reply #1 on: December 28, 2010, 06:35:15 pm »

Good idea.
Logged
Matt Ashland, JRiver Media Center

principal_X

  • Junior Woodchuck
  • **
  • Posts: 79
Re: new request for MCWS
« Reply #2 on: December 29, 2010, 06:55:11 pm »

Thanks.  One other thing (request)...Most people I know like to use "play shuffled" for their playlists. Is there a way to start playing a playlist "shuffled" using the MCWS?  If not, could you consider adding this in one of your future updates?

Thanks
Logged

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: new request for MCWS
« Reply #3 on: December 30, 2010, 07:33:53 am »

Thanks.  One other thing (request)...Most people I know like to use "play shuffled" for their playlists. Is there a way to start playing a playlist "shuffled" using the MCWS?  If not, could you consider adding this in one of your future updates?

Thanks

Already there, check the docs on MCWS.  Here's how it's done for example, using ID to a specified zone (with token):

http://localhost:52198/MCWS/V1/Playlist/Files?Action=Play&Playlist=1002937904&Shuffle=1&Zone=0&ZoneType=index&Token=WEvQWUZo
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

principal_X

  • Junior Woodchuck
  • **
  • Posts: 79
Re: new request for MCWS
« Reply #4 on: April 09, 2012, 01:13:53 pm »

Just to bump this one for an update.  It's been a while.  Looking through the current MCWS documentation.  Is there currently any way to get track/file info on the next item up in the current playlist?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: new request for MCWS
« Reply #5 on: April 10, 2012, 03:23:47 pm »

In a coming build:
SDK: Added NextFileKey to MCWS/v1/Playback/Info to allow easily getting the next file to play.
SDK: Added MCWS function File/GetInfo to make getting information about a single file easier.
Logged
Matt Ashland, JRiver Media Center

principal_X

  • Junior Woodchuck
  • **
  • Posts: 79
Re: new request for MCWS
« Reply #6 on: April 10, 2012, 03:34:56 pm »

Very nice!   Using the MCWS is much better way than writing a Display plugin for this info.

Thanks.
Logged
Pages: [1]   Go Up