INTERACT FORUM

Please login or register.

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

Author Topic: WSDL - Get non-playing track info  (Read 1454 times)

cliff_g

  • Recent member
  • *
  • Posts: 19
WSDL - Get non-playing track info
« on: July 28, 2010, 07:02:39 am »

I've started working on a controller web page using the Media Server services, so far all working well and I can play, pause, increase volume, show current track.

However what I would like to be able to do is pass through a file id (returned from the Playlist function) and then go to another service to look up the specific file information so I can show the current playlist on the screen.  Is it possible to use the Search facility to search by file id?

Also are there services available to add/remove tracks to/from a playlist and also create a new playlist?

Cheers
Cliff
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: WSDL - Get non-playing track info
« Reply #1 on: July 28, 2010, 09:17:59 am »

Is it possible to use the Search facility to search by file id?

Our search language supports [Key]=[...] (i.e. [Key]=[1234]) to find a file.

It might also be good to have a File/GetInfo type function that returns artist, album, and any other metadata.


Quote
Also are there services available to add/remove tracks to/from a playlist and also create a new playlist?

Not currently.  What functions do you propose?

Thanks.
Logged
Matt Ashland, JRiver Media Center

cliff_g

  • Recent member
  • *
  • Posts: 19
Re: WSDL - Get non-playing track info
« Reply #2 on: July 28, 2010, 11:56:27 am »

Hi Matt

Thanks for the reply.  I've got this now working with this example: http://localhost:52199/MCWS/v1/Files/Search?Query=([Key]=[890])&Output=mpl

I'm guessing [Key] can be replaced with any other item in the return values such as [Media Type] etc or are their only certain fields that can be searched on?

With regards to other functionality it would be good to be able to:

  • Create a new playlist
  • Add a track to a playlist
  • Delete a track from a playlist
  • Delete a playlist
  • Get Album Info (including cover image link)

Cheers
Cliff
Logged
Pages: [1]   Go Up