Pira.cz Technical Forum

Radio Data System (RDS) => Control Software => Topic started by: mediaguy on January 27, 2021, 07:02:01 am

Title: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on January 27, 2021, 07:02:01 am
I am trying to get Now Playing  from an XML file from our Streaming Server Playlist. Magic RDS is not Loading the file as XML. When test as File we can see it load the Page. We also trying load directly from the Automation System http: 0.0.0.0:2000 the system send now playing as a UDP Stream that is picked upd by the streaming player. also no luck getting it to function.
 Help and tell me what I am not doing correctly

<playlist>
<output>6</output>
<station>XXX</station>
<program>PGM</program>
<media>AUD</media>
<title>Perfect Strangers</title>
<artist>Jonas Blue f./JP Cooper</artist>
<album>Perfect Strangers</album>
<cover/>
<duration>190</duration>
<campaignId/>
<fileId/>
<programStartTS>22 Jan 2021 04:12:20</programStartTS>
<adBlockPos/>
<preload>
<pProgramType>PGM</pProgramType>
</preload>
</playlist>


ENTER NAME OR FULL PATH PATH 1%  /playlist/output/station/program/media/title
ENTER NAME OR FULL PATH PATH 2%/playlist/output/station/program/media/title/artist
ENTER NAME OR FULL PATH PATH 3%/playlist/output/station/program/media/title/artist/album/album/cover

OR
http://0.0.0.0.0:2000
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on January 27, 2021, 07:08:15 am
The XML paths are not correct. They should be as follows:

/playlist/title
/playlist/artist

Note the structure:

<playlist>
   ...
   <title>...</title>
   <artist>...</artist>
  ...
</playlist>
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on January 27, 2021, 11:56:19 pm
I will try Those Thanks for your help
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on January 28, 2021, 12:25:34 am
I just change it it still is not reading the file.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on January 28, 2021, 06:43:07 am
Sorry, I'm not sure what you're doing now. Please post your current setup from the Magic RDS and from the automation and from the streaming player. The address 0.0.0.0 probably should be 127.0.0.1 when accessing the webserver.

Before making it working, select Process "Entire file as plain text" and use the Test button to see the content read.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on January 28, 2021, 10:04:33 pm
1. Sorry I will not post the actual IP address on This forum you will get 0.0.0.0:2000 as the Ip address for the automation system Now and next Port.
2. On the issue with the Streaming player.  Our Streaming Service provides us with an XML Page That  has the Now Playing Metadata that is what I am trying to get. I Notice that If I save the page as a file MagicRDS will read the file but it will not read the Live XML page. I can get you More detail if Someone From Pira will contact me thru email. Or how Can I can contact You. Below you will see how its set up in MagicRDS
Thanks
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on January 28, 2021, 10:17:10 pm
Ok, I understand it is a public URL which you don't want to mention here. Please send the URL directly to us. Click on the mail icon on the left. We will give you a working solution.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on January 30, 2021, 01:37:26 pm
The reason has been found. The Magic RDS 4 now contains corrupted "Accept:" value in the HTTP request header, that causes HTTP error 406 on some webservers. It will be fixed in next version.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on January 31, 2021, 04:09:00 am
Thanks for The Update can you tell me when you next release will be..
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on January 31, 2021, 07:31:45 am
The cycle is now about 2 weeks.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on February 06, 2021, 05:08:54 am
Thank You. I appreciate your help.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on February 14, 2021, 11:02:13 pm
I have started to test with our automation system. We know that the system sends the Now and Next data as a TCP stream on port :1000. We have a network monitor that see's the traffic going on the network. We tried hitting the test button to see if it sees the metadata and its not picking it up. Iam not sure if we have it setup right. I here is my set up. Our online streaming server picks up the data from the automation system but MagicRDS does get the data. Can you help us with this Thanks.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on February 15, 2021, 08:04:48 am
The TCP will not work with the internet website reader.


The internal channel buffer holds last line of the text (separated by Carriage Return character). Other formats are currently not supported but may be added on request.

Corresponding application scheme is showed in the Help - m4vp.pdf - Redirecting to External Text Sources
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on February 17, 2021, 05:30:11 am
Jan,
I will try these steps and let you know if we have issues. I am still getting familiarize with Magic RDS. Thanks for your help.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on February 24, 2021, 04:25:01 am
Good Evening I am just giving and update. After a few several hours of trying to get the metadata  from the server MagicRDS 4 does not pick no data. I have Monitored the network and I can see the metadata stream in the network when the playout sever sends it. Our Streaming server picks up the stream Just fine we get the metadata & album cover so we know its working. I did all the steps given. Magic4 is not picking up the stream.  We tried TCP Client, TCP server UDP Non of these receives the Stream. So without data being read from the Webstream or Directly from the Playout server we can't proceed to the next step. which is actually testing a Real RDS Unit.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on February 24, 2021, 07:50:31 am
Without exact knowing at least the network protocol type being used by the service, it would be a big coincidence to get it working. From the information provided I'm not able to give you further help.

Hope you can try another approach which is the Website URL reader in the External Text Sources. It is now working correctly with your HTTP server since version 4.0.24.

Process: As XML
Element path %1%: /playlist/title
Element path %2%: /playlist/artist
Output template: %1% by %2%
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 02, 2021, 09:27:16 pm
Jan,
 I will send you an email  where I can respond to you with any specific questions yo may have.

Also Please send me instruction on how to setup this in Magic4 I am not sure how to setup Website URL reader in the External Text Sources and where it is
Thanks

Process: As XML
Element path %1%: /playlist/title
Element path %2%: /playlist/artist
Output template: %1% by %2%
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 02, 2021, 09:56:57 pm

Jan,
 Our Main Playout system sends NOW and NEXT as a UDP String. Our Streaming Player picks up the Metadata from the play-out system.  In The test  we have done the Magic4  see's the web sever and  webpage it displayed the Page in the test so we know it see's the server. But we don't see the metadata when the song changes. With the Streaming Player we see the NOW and NEXT Metadata. We have not Activated now and Next On you Backup System. Once we get the first system running then second will work. We are trying to get both of the types of import  to work The UDP and the XML from the streaming player. We have two different locations that We may serving up the metadata so we can have a seamless transition of metadata when one system fails.

Please let me know if there is anything that I may do to make it work.

Thanks
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on March 03, 2021, 08:40:36 pm
This is the file content read:

Code: [Select]
<playlist>
<DCSoutputVersion>2</DCSoutputVersion>
<stationCallSign>****</stationCallSign>
<programType>PGM</programType>
<mediaType>AUD</mediaType>
<title>I Need Your Lovin</title>
<artist>Teena Marie</artist>
<album/>
<cover/>
<duration>338</duration>
<campaignId/>
<fileId/>
<programStartTS>03 Mar 2021 19:31:30</programStartTS>
<adBlockPos/>
</playlist>

and below is how to configure the XML parser. It works OK.

Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 11, 2021, 09:45:41 pm
Thank you for your reply I will make the proper configuration changes that you sent and I will update you on what happens.

Thanks
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 11, 2021, 11:52:48 pm
I have an Update I can see The metadata Now from the xml Feed But It does not  Push the metadata to the Demo Encoder What are the settings to have. I have tried changing the options in external Text Replacing and services tab destinations Tab.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on March 12, 2021, 06:16:15 am
In the Destinations, click on the Default button. There's no need to invent anything.

To prevent sending empty fields provided by your software, you may fill this into the Text replacing:

Change
 by

to


(space+'by'+space; nothing)

or

(space+'by'+space; Any default text)
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 16, 2021, 09:52:13 pm
 I tried putting the additional info in the the corresponding locations. I am not understanding where they go so here is part of my setup. I also noticed that when we click the radio click Test Button Nothing happens but when I click on the rest of the tests buttons the  data changes. Here is how the settings look.  Can yo see if yo can figure our whats happening,
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 16, 2021, 09:55:28 pm
Here is more of the setup.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on March 16, 2021, 10:37:08 pm
OK, again: Click on the Default button as mentioned before (the 'Destinations - Send To' must be sendto *, not only sendto without any value).

The Magic RDS 4 is a powerful software which supports multiple connections at once, so it is necessary to specify which connections will receive the external text,  the * means all connections.

You've decided to show the text as a Dynamic PS, so all the settings related to the Radiotext will have no effect.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on March 17, 2021, 07:41:22 pm
Thank you. I made the adjustment and its working now. I still don't see the changes in the demo encoder when Magic4 recievwa the metadata as you can see it does not change see Pictures I had checked - ENABLE EXTERNAL TEXT SOURCES AND PLAY OUT. and no change. These are things I tried
1. I tried Enabling External Sources
2. I tried Enabling  Send On change
3. Tried Enabling Synchronized with Dynamic PS1
 I am not sure what settings I am missing.
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: mediaguy on April 07, 2021, 08:59:50 am
I would like to let you you know that Magic 4 is finally working.I can see  the the data, I still Get The___By___ when there is no text  . I have a coupe of questions.
1. I would like to know if it can also show the picture Thumbnail.
2. How do you get it do display Program Text and Dynamic text when there is no data available.
3 Will your P164 RDS Encoder display Thumbnail Picture along with the text.

I am considering purchasing your P164 RDS Encoder since it works on IP Do you have any suggestions.
Thanks
Title: Re: Magic RDS4 Xml & Automation Now Playing
Post by: Jan on April 07, 2021, 11:16:00 am
In the Text replacing box, you may change any unwanted text to either empty string or a station slogan, for instance.

Program-related thumbnails are known from DAB but no such feature is defined in FM RDS. Graphics has been completely removed from the RDS2 standard, keeping only general ODA frame for file transfer. Thus, the future of graphics transferred over RDS is unknown. Anyway, the speed is too low to create effects like in DAB. It's because RDS2 uses obsolete sub-carrier scheme, which has poor efficiency compared to modern digital modulations.
Title: Re: Magic RDS4 Xml & Automation Now Playing **UPDATE**
Post by: mediaguy on May 06, 2021, 08:51:45 am
Magic 4 has bee working fine. we got a loner RDS to test. Bu we can seem to get to get the RDS  to see The Metadata, On magic 4 it shows its connected TCP but it does not show any packets received. Any Suggestions. The Unite is UCEP compatible.

Thanks