Did You know: RadioDJ has the ability to take online listener requests? Well it does …
We thought we would do a short tutorial on how to setup RadioDJ Online Requests.
To get the request system working with RadioDJ you need to do the following.
1) Create a new MySQL user that isn’t “root” You can find out how to do that HERE
TIP: When setting MariaDB up choose a strong password with lots of number and symbols.
2) Make sure you have the latest version of RadioDJ
3) Place the Plugin_Requests.dll file in the plugin folder within RadioDJ. (This file can be found in the disabled plugins folder)
Please Note: The RadioDJ WordPress plugin may not function properly with the new v2.0.0 database as columns have been changed in the database with the upgrade.
5) Upload the demo script file to your web-server via FTP or upload the WordPress plugin to your WP installation.
Then edit the details so it points to your MySQL database and also points to Your external IP address.
(In the WordPress plugin activate and then click on RadioDJ settings from the settings menu)
$dataip = Your external IP address – You can find that Here
$database = The name of your RadioDJ database.
$username = The username you chose on step 1 (root is the default user don’t use root for requests)
$userpass = The password you chose when you installed MySQL/MariaDB
$dataport = This should be 3306 unless you’ve specified another port when setting up MariaDB
$timezone = Your time zone
The rest of the options are pretty straight foward make sure that $track_repeat & $artist_repeat match your rules in RadioDJ.
6) Make sure your web host/server host allows connections on the port you want to use (Usually the same port as SQL 3306). Any good web-host will have these ports available. Ask before you sign up to any service.
7) Open the SQL port usually 3306 on your broadband router. Make sure that it points to the internal IP of the computer (e.g 192.168.0.3) of the machine running RadioDJ and the SQL server.
If you have done all the above and configured everything properly, You should now be able to take online requests from your website.
Support for this web script isn’t available AFAIK, Its a basic starting point for you to code a website around
“This script is for entertainment purposes only, Use/modify at own risk”
1The RadioDJ request demo has been tested on PHP7
Last updated on: February 23rd, 2018
at 09:41 AM Europe/London