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 »

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: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: RDS - To text file

Post by radio42 »

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 »

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