A social jukebox built with PHP on the Rdio API.
- Download the code to your own PHP hosting environment.
- Copy
configuration-dist.phptoconfiguration.php - Create your own Rdio API keys and plug the Client ID and Client Secret values into the first lines of your
configuration.phpscript - Put your Rdio user key in the
$rdio_collection_userkeyvariable. 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_databasevariables. - Import the database structure found in the
database/structure.sqlfile - Run the script found in
script/searchindex.phpto populate the database with the music in your Rdio collection - Set up a cron job to run
script/searchindex.phpdaily (to keep your collection up-to-date) and to runscript/monitor.phpevery two minutes (to add newly requested tracks to the queue and add new random tracks)