A social jukebox built with PHP on the Rdio API.
- Download the code to your own PHP hosting environment.
- Copy
configuration-dist.php
toconfiguration.php
- Create your own Rdio API keys and plug the Client ID and Client Secret values into the first lines of your
configuration.php
script - Put your Rdio user key in the
$rdio_collection_userkey
variable. This can be found by using the Rdio API console to query your Rdio username - Set up your MySQL database and add the login credentials to the
$db_host
,$db_username
,$db_password
, and$db_database
variables. - Import the database structure found in the
database/structure.sql
file - Run the script found in
script/searchindex.php
to populate the database with the music in your Rdio collection - Set up a cron job to run
script/searchindex.php
daily (to keep your collection up-to-date) and to runscript/monitor.php
every two minutes (to add newly requested tracks to the queue and add new random tracks)