Skip to content

A Soundcloud Server that can stream your SoundCloud Library from your Raspberry Pi

Notifications You must be signed in to change notification settings

nbrons/RPi_SoundCloudServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi SoundCloud Server

A Soundcloud Server that can stream your SoundCloud Library from your Raspberry Pi

Setup Instructions

  1. Set up a working web server with mysql and php. I decided to run a server through DigitalOcean, running Ubuntu and LAMP
  2. Upload "Server" files onto the server
  3. Create a new SoundCloud application and specify the Redirect URL (which will be the location of callback.html)
  4. Set up a new mySQL database on your server. The database should be called "songs", with a table called "songs"
    • Run the following MySQL command once the database has been created: "CREATE TABLE songs (id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, trackid INT (6) NOT NULL, title VARCHAR(60) NOT NULL, artwork_url VARCHAR (200), duration INT (10));
  5. Go to the location of index.html on your server, click through the login scenario, and then click on the button to load your songs into SoundCloud
  6. Install the following on your Raspberry Pi device:
    • python, gstreamer, soundcloud, mysql
    • you might need to run the command "pip install requests[security]"
    • you may also need to run the command "pip install soundcloud"
  7. Update all occurences of host, user, pass, your client id, your callback URL, and clientid to reflect the appropriate information
  8. Run the Python script on the Pi and enjoy

To-Do list

  • Remove SoundCloud references in Python by adding url to database instead
  • Replace command line interface with a simple GUI
  • Display artwork on GUI
  • Consider the possibility of ditching the web server and hosting all content locally on Raspberry Pi
  • Implement some sort of remote system using and iPhone or Android
  • Allow two-way song movement (next and previous). Perhaps use a two-way linked list

Possible Remote Ideas

  • Bluetooth
  • IR
  • SSH
  • Port listening
  • Node.js or some other type of live server mechanism

About

A Soundcloud Server that can stream your SoundCloud Library from your Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published