This tutorial will guide you on how to install Raveberry on your Ubuntu server. Raveberry is a music player software based on Raspberry Pi that lets you play music from different sources.
sudo apt-get update
sudo apt-get install git python3-pip libcryptsetup-dev libssl-dev libffi-dev python3-dev
git clone https://github.com/raveberry/raveberry
cd raveberry
sudo pip3 install -r requirements.txt
Next, set up your music sources. You can add your music collection to Raveberry using any of the following sources:
To add a music source, you need to edit the configuration file located in the "raveberry" directory:
nano config.yaml
usb:
name: My USB Drive
path: /media/pi/USB Drive
Replace "name" and "path" with the name and file path of your USB drive.
smb:
name: My Network Share
path: /mnt/my_network_share
user: my_user
password: my_password
Replace "name", "path", "user" and "password" with the appropriate values for your network share.
spotify:
name: Spotify
client_id: your_client_id
client_secret: your_client_secret
Replace "name", "client_id" and "client_secret" with the appropriate values for your Spotify app.
Save the changes to the configuration file by pressing "Ctrl-O" and then "Ctrl-X" to exit the editor.
Finally, start Raveberry by running the following command:
sudo python3 raveberry.py
Raveberry should start playing music from your configured sources.
Congratulations, you have successfully installed Raveberry on your Ubuntu server and configured music sources. Enjoy listening to music!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!