Use Raspberry Pi to stream to any device with SqueezePlug

Finally, after reviewing your settings, click the Finish button. You'll now be taken to LMS's main interface, which might take some time to load as it scans your music library.

The two-pane LMS admin interface is pretty straightforward to navigate. In the left pane, you can browse through your library, which LMS has already sorted into categories such as Artists, Genres and Years, based on the metadata of the files. When you hover over a track or an album, you get options to play the track, or to add it to the current playlist, which is displayed on the right pane.

Connect your speakers to the RPi and head to SqueezePlug's admin interface. Now go to Server_ and_Player > Player > AudioSettings. Here, you'll see options to select the audio device your speakers are connected to and play test sounds through them. Head to Select_Sound_Output, and select the Auto option to let SqueezePlug figure out whether you've connected your speakers to the audio-out or HDMI port.

Step 5

Like with LMS, the SqueezeSlave player will be downloaded from the internet and installed automatically. It will detect the LMS server running on the network and confirm by displaying its IP address. It will also let you select the sound card to which you've connected the speakers. So if you've connected to the audio-out on the RPi, select the RPI_ internal option.

After the player has been installed, head to LMS's web interface. In the top right-corner, you'll notice a pull-down list. This lists all the players LMS can stream to. It'll now list the Squeezeslave player as well. Now, when you play a track it'll stream to the speakers attached to the RPi. But accessing the LMS web interface whenever you wish to change tracks is tedious.

Instead, grab an Android phone or tablet, head to the Google Play Store and download an app, such as Logitech Squeezebox Controller or Squeezer, to control the streaming server. The app will automatically detect and connect to the streaming server and give you full control over playback. That's it!

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.