Track/Directory import


 ☰  menu

Online Requests.

Setup for using the online request option.

Copy the two files Plugin_Requests.dll and Plugin_Requests.xml from c:\RadioDJv2\Disabled Plugins\Plugin Requests\ folder to the Plugins folder of radiodj (c:\RadioDJv2\Plugins\).

Start or restart radiodj.

In the radiodj screen it will shows.

online request

The screen with a request and a massage.

online request


When a error occurs after a request, a warning is showed!

The buttons.

      Auto refresh. Puts new request in the list and remove the played.

      Direct refresh (by hand).

      Remove the selected request from the list, works when history is selected to.

      Auto place the request in the playlist when a request is set in the screen.

      Place request to the bottom of the playlist.

      Place the request to the top of the playlist.

      Show request history.

      Use a sweeper on a request.

      Sweeper subcategory.

Buttons in use.

Using request sweepers.

Categories manager.

In the category Sweepers make a sub category Requests.

Import your request sweepers.

Request examples

Use of a request script on a site.

One page request script. File name request.php.

script page

The position to show the page on your website can be done by including.

The page must be a .php file not a .htm or .html file, include_once('request.php'); to place in that page with a plain editor like notepad.

For use edit the code in the request.php file, just the blue parts in it as showing here.

$mysql_server = ""; // MySQL Server's IP (and port if not default 3306). Ex: ( or
$mysql_database = "radiodj160"; // MySQL database name.
$mysql_user = "root"; // MySQL database username (usually root)..
$mysql_pass = "pass"; // MySQL database password.
$track_repeat = 120; // Don't display the track if it was played in the last X minutes.
$artist_repeat = 120; // Don't display the track if the artist was played in the last X minutes.
$def_timezone = 'Europe/Bucharest'; // Set your time-zone.

This script can be found in the download part.

There is also a script for the program Wordpress (Radiodj-for-wordpress-0.7.0.) only it's not supported by me.

Setup instructions for the wordpress plugin by Andis Grosëteins (Valdis).

Short version:

  1. Install plugin by uploading the files to your server or using Plugins → Add New screen in your WordPress dashboard.
  2. Open RadioDJ plugin options screen and enter database connection details.
  3. Add shortcodes on pages or posts.

Database settings.

This is the most important part of the RadioDJ plugin setup. Database connection details are used to connect to the RadioDJ database.

    wordpress plugin
    Database settings section

Description of entry fields

RadioDJ Server: IP address or hostname ( or www.my.database.server.com) of the RadioDJ database server.

  • Note that is a loopback address and it always points back to the computer itself. If RadioDJ database is not running on the same computer as your web server, you have to use the IP addres or hostname of that computer and not localhost or

Username: Database connection username. You may use same user credentials as RadioDJ but it is advised to create a new MySQL database user with restricted privileges. How, see movie of Marius.

Password: Database connection password.

Database name: Name of database, also called scheme name.

Verify database settings button: Allows to test provided connection details before saving options.

Offline message: This message is displayed in place of shortcodes if RadioDJ database is unreachable.

Now Playing Options

    now playing options
    Now Playing Options section

Description of entry fields

Upcoming Items Number of upcoming tracks to display in now playing view. Checkbox allows to enable display of artist and title of upcoming tracks. If unchecked, only artist names are displayed.

AJAX refresh Enable refreshing of currently playing information from RadioDJ database every 10 seconds without reloading page.

Shuffle Upcoming Display upcoming tracks in random order. May be required to make it harder to rip streamed music.

History Items How many previously played tracks to display in history list.

Top Tracks and Albums Display Options

    top track and album options
    Top Tracks and Albums Display Options section

Description of entry fields

Top Tracks Items: Number of tracks to display in top tracks lists.

Top Albums Items: Number of tracks to display in top albums lists.

Days To Build The Top: Number of days used to calculate top positions.

Requests Options

    request options
    Requests Options section

Description of entry fields

Items per Page: Number of tracks to display on one request list page.

Minimum Track Repeat: Time span during which same track can't be requested repeatedly.

Minimum Artist Repeat: Time span during which tracks by same artist can't be requested repeatedly.

Daily Request Limit: Number of allowed requests for one IP address per day.


RadioDJ WordPress plugin provides following shortcodes:

    Now Playing [now-playing]
    Top Played Tracks [top-tracks]
    Top Played Albums [top-albums]
    Top Played Artists [top-artists]
    Request Section [track-requests]
    Top Requests [top-requested]

What are shortcodes?

A short description of shortcodes:

    A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.

This page in pdf.