Wiki > CherryMusic
CherryMusic is a Python music streaming server developed on Github.
Connect to your slot through SSH
Install pip for Python 3.8
curl -s https://bootstrap.pypa.io/get-pip.py | python3 - --user
pip3.8 install cherrypy
Download the latest release of CherryMusic
git clone https://github.com/devsnd/cherrymusic.git
Start the configuration process. Port 20199 has been automatically generated for you, but you may use another 5 digit port between 10000 and 32767.
screen -mS cherrymusic python3.8 ~/cherrymusic/cherrymusic --setup --port 20199
http://server.whatbox.ca:20199in 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
dto detach from the CherryMusic screen window while leaving it running.
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 by
git pullin SSH
If you need to access your CherryMusic screen window, enter
screen -r cherrymusicin SSH