RDS - To text file

You are missing a feature or need an enhancement? Post your suggestion here!
Post Reply
grebda
Posts: 53
Joined: 21 Apr 2012 14:03

RDS - To text file

Post by grebda » 25 Feb 2013 22:02

Hi Brend,

I question whether you do not make the names of songs that go to the server and give the "nowonair.txt" so that it could then put on FTP, and from there on the web?

RDS = To text file = "Nowonair.txt" - > FTP - > WEBSITE

Thank you
SORRY FOR MY VERY BAD ENGLISH !! :-( :-(

User avatar
radio42
Site Admin
Posts: 5628
Joined: 05 Apr 2012 16:26

Re: RDS - To text file

Post by radio42 » 26 Feb 2013 19:06

You can use a system event to fire a control-command to do this.
Open the general settings and go to the 'Events/Commands' section.
In the tree on the right select and expand the "Playlist" node.
There you'll find the "OnTrackPlay" event, which is being raised everytime a playlist window starts playing a new track. To this 'OnTrackPlay' event should already be a control-command "EXEC_WRITE_PLAYLIST_LOG ${yyyy}${MM}${dd}_${plsname}" being assigned.
Alternatively you might also use the "Streaming.OnSongTitleChanged" event.

Click to the text and you'll see an 'Edit' button - click on that to open the Control-Command-Builder, which allows you define additional commands to be executed with that event.
The control-command you might use to write a 'NowPlaying' text file is "EXEC_WRITE_FILE" - see the user manual appendix for a complete list of available commands and their syntax.
E.g. specify something like this: "EXEC_WRITE_FILE c:\nowplaying.txt|nd|${trackname}"

In addition you might use the "EXEC_UPLOAD_FILE" control-command to upload that local file to the web.

DennisdeWit
Posts: 35
Joined: 10 Mar 2013 14:22

Re: RDS - To text file

Post by DennisdeWit » 29 Mar 2013 16:56

Yep, and if you want to put it on your website directly, you might want to use NetDrive. It gives you the opportunity to connect to your FTP server, and map it as a network drive. So you can use Bernd's script and use X: instead of C:.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests