Now Playing Info
Using this plugin, RadioDJ is able to export the playing track information outside of the program, using plain text file, by sending the information to a web page, or by using a serial connection.
In the first tab, named “Custom Title”, we can override the title that is sent. We can enter any text we want and on each track change the text will be sent as the title.
Now Playing Info plugin
The “File Export” tab allows you to export the playing track information as a plain text file, that can be used by many stream encoders. For this, you will need to set the filename and path to the target text file that it will be written with the title information.
NOTE: Please make sure that the new path and file is writeable by the program. Setting the path to a Program Files folder or to Windows is not recommended as they are usually protected!
File Export Tab.
Using the “Web Export” section you can send the information to a web page, or to devices which accepts this kind of data.
NOTE: When using auto title (no data, or “-” added to the Custom Data), the following parameters are sent to the target page/device:
A sample php script can be found in the “Docs\Now Playing Plugin Help\PHP Script”. It will work only with the auto title (no custom data). The “song_update.php” and “data.txt” must be uploaded to a web server (which supports php). You will need to set “data.txt” as writeable (777). For using this script, use the POST method in the Web Export settings.
NOTE: For security reasons, it is recommended to rename both files, just make sure that you make the changes also in “song_update.php”. Also you will need to change the password and make sure that in both places (RadioDJ > Now Playing plugin > Web Export tab and the “song_update.php”) the password is the same.
After uploading the files to your server and the php file is accessible from the web (try http://yourdomain.com/song_update.php) you will need to enter this address to the URL field of the plugin and check the enable box. Now, if you change the track the “data.txt” file will contain the playing track information and if you access http://yourdomain.com/song_update.php you should be able to see the played tracks, including the playing one.
Make sure that you customize the “song_update.php” file, by opening it in text editor.
The first lines are the customizable settings:
date_default_timezone_set(‘Europe/Bucharest’); //Change this to your time/zone
After these changes, you can include this file to your web page by simply using the code (the php file must be in the same folder as your website pages and your page must have .php extension):
Web Export Tab
The Serial Export is self explanatory and in order to use it, you will need to consult your device’s manual to make sure that you correctly use the settings.
Serial Export Tab
Source: Marius ad http://www.radiodj.ro