INTERACT FORUM

Please login or register.

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

Author Topic: Trubble with space chracters in MCWS function GetInfo XML response  (Read 967 times)

TMA-1

  • World Citizen
  • ***
  • Posts: 107

Im using the MCWS function GetInfo but Im having trubble with the space in the field names
like: "<Field Name="Sample Rate">44100</Field>".

In the function respons of http://localhost:52199/MCWS/v1/Playback/Info?Zone=-1 the Sample Rate is named "SampleRate" but in GetInfo it is called "Sample Rate".

Whould it be possible to remove those spaces in the field names in the new GetInfo function?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Trubble with space chracters in MCWS function GetInfo XML response
« Reply #1 on: April 22, 2012, 03:43:03 pm »

GetInfo will use the field names exactly as found in the database.  Spaces are used in many field names, including Sample Rate.

The Playback/Info function does not map directly to library fields, hence the difference.
Logged
Matt Ashland, JRiver Media Center

TMA-1

  • World Citizen
  • ***
  • Posts: 107
Re: Trubble with space chracters in MCWS function GetInfo XML response
« Reply #2 on: April 23, 2012, 01:16:30 am »

Roger that.
I'll find a way around it.
Logged
Pages: [1]   Go Up