INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: TMA-1 on April 22, 2012, 03:20:28 pm

Title: Trubble with space chracters in MCWS function GetInfo XML response
Post by: TMA-1 on April 22, 2012, 03:20:28 pm
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?
Title: Re: Trubble with space chracters in MCWS function GetInfo XML response
Post by: Matt 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.
Title: Re: Trubble with space chracters in MCWS function GetInfo XML response
Post by: TMA-1 on April 23, 2012, 01:16:30 am
Roger that.
I'll find a way around it.