For Pi MusicBox to function, it needs to be online with your network. There are two ways to go about connecting your Pi.
Plug a live ethernet cable into your Raspberry Pi. Insert the SD card into the Raspberry Pi.
If you’re using Wifi, you’ll need to manually add your wifi information to the written image on the SD card. Open the
/config/settings.ini file in a text editor. There are two lines near the top in which you can enter your wireless network name and password. Save this file and insert the SD card into the Raspberry Pi.
MusicBox is designed to automatically detect USB devices to use as speaker output. If no devices are found, it moves to HDMI output and finally analog.
If your preferred audio output method isn’t working, you can manually set the output device by accessing Pi MusicBox in a browser. Audio output devices are set under Settings > Audio > Audio Output.
The coolest part about Pi MusicBox is its streaming service compatibility. You can add so many accounts to many different leading music streaming services.
To add your accounts, access your Pi MusicBox in the browser. Choose Settings in the sidebar menu. Scroll down and add any relevant account information to your favorite streaming services.
Saving your changes will prompt the Raspberry Pi to restart.
Now it’s time to jam! This is your opportunity to go crazy customizing your music box with all of your favorite songs, playlists, and more. The menu is rather self explanatory, but here are the basics you need to get started:
- Add individual songs by going to Queue in the sidebar menu.
- Switch to a specific streaming service by selecting Streams in the sidebar menu.
- Access currently playing media by choosing Now Playing in the sidebar menu.
It’s not a Raspberry Pi project without at least one or two hiccups. Here are some of the most common issues you’ll run into while setting up this project.
No network connection
Without the internet, our Pi MusicBox is rather silent. Make sure your device is configured with appropriate wifi credentials or otherwise connected with an ethernet cable. If you log into your router, you should be able to see your Raspberry Pi on the list of available devices.
You may need to log into your Music Box terminal, the default userID and password are very useful in this situation.
Default Authentication Information
Username: root Password: musicbox
This is the worst problem to run into! What's a music box without any sound? The audio output device is set to Auto by default. It looks for any USB devices that are connected first. I had to unplug my keyboard before the audio would push to HDMI output. You can manually adjust output settings under Settings > Audio > Audio Output
The Raspberry Pi is a wonderfully flexible SBC and easily one of our favorite open-source boards on the market today.