Wiki > CherryMusic
CherryMusic is a music streaming server based on CherryPy and jPlayer.
Installation
-
Connect to your slot through SSH
-
Install and activate a Python virtualenv with the instructions from the link
-
Install the
cherrypydependencypip install cherrypy -
Download the latest release of CherryMusic
git clone https://github.com/devsnd/cherrymusic.git -
Start the configuration process. Port 21589 has been automatically generated for you, but you may use another 5 digit port between 10000 and 32767.
screen -mS cherrymusic ~/virtualenv/bin/python ~/cherrymusic/cherrymusic --setup --port 21589 -
Open
http://server.whatbox.ca:21589in your web browser -
Set the Media base directory option to
/home/user/filesor your chosen music directory. The rest can be left with default values. -
Click the Save Configuration and start CherryMusic button at the bottom of the page. The WebUI will refresh.
-
You will be asked to enter an admin username and password. This account will have full control to create non-admin user accounts that can be used for friends/family.
-
In SSH, hit
Ctrl-afollowed bydto detach from the CherryMusic screen window while leaving it running.
Usage
-
Click the menu in the top right corner to the options, including keyboard shortcuts. Admin users can also create new users and force an update of the music library.
-
Stop CherryMusic by entering
pkill cherrymusicin SSH -
Start CherryMusic again by entering
screen -dmS cherrymusic ~/cherrymusic/cherrymusicin SSH -
Upgrade CherryMusic by stopping CherryMusic then entering
cd ~/cherrymusicfollowed bygit pullin SSH -
If you need to access your CherryMusic screen window, enter
screen -r cherrymusicin SSH