There are many prepackaged audio streaming servers available for the Raspberry Pi. Between Moode, Volumio, and piCorePlayer, piCorePlayer is very rich in its capabilities. It can access local media as well as a huge list of free online streaming content including TuneIn. piCorePlayer has also been the most stable where stable is defined to the quality of having a longer uptime. Although piCorePlayer is the most stable, I have occasionally encountered a loss of connectivity to the pi system (through the web interface and SSH). piCorePlayer also touts having a fast boot due to the use of Tiny Core Linux, but I experienced boot delays of greater than 30 seconds.
Granted that I could have spent time debugging why I lost connectivity and why boots took longer than 30 seconds, I decided to take another approach. Rather than using the prepackaged piCorePlayer which is convenient with its one-button push approach, I manually installed Logitech Media Server and Squeezelite player on Raspbian.
Here are some of the differences I see versus piCorePlayer.
- I can access the LMS web interface using the hostname rather than the IP. ie. I don't need to assign a static IP to the server. See Resolve Linux Hostnames in Windows.
- Booting the system takes less than <10 seconds.
- The server has been rock solid.
Here are the steps for the setup.
Install Base Raspbian
Install Squeezelite
sudo apt-get install squeezelite
Identify the desired audio output device for Squeezelite.
Create a squeezelite service file.
Paste the following contents into the file.
Install LMS
Final Setup
sudo reboot
http://<hostname or IP>:9000
Upgrading LMS
References
Installation Instructions from John's Tech BlogInstallation Instructions from Winko Erades' Blog
Latest Squeezelite Builds
No comments:
Post a Comment