Tuesday, October 28, 2014

Build your own music streaming website with cherrymusic

So I heard that you want to build a music streaming website and share your music with friends? Oh right, oh right, oh right, here you go: Cherry Music:

Official website: http://www.fomori.org/cherrymusic/
Github repository: https://github.com/devsnd/cherrymusic

1. Install dependencies and all extra codec libs:

$ sudo pip install cherrypy
$ sudo apt-get install vorbis-tools flac lame imagemagick

Note: If you get into trouble when installing imagemagick, please read this forum thread for the resolution: http://askubuntu.com/questions/471045/14-04-doesnt-have-package-imagemagick

2. Clone the cherrymusic repository:

$ git clone https://github.com/devsnd/cherrymusic.git

3. Start the server:

$ cd cherrymusic
$ python cherrymusic --setup --port 8080

4. Open your browser, go to localhost:8080, and set the initial configurations including:

* Media base directory
* Server port

Then click Save... and Create admin user:

 5. Login using the account you just created at the previous step. Now you can enjoy your music library, and share them to your friends with this url: