A How-To Geek writer had kept an LG surround system through three TVs and liked its sound better than that of the living room’s smart speakers. Streaming music to the LG with Music Assistant meant leaving the TV on. A spare Raspberry Pi let the writer bypass the TV and play music through the LG over AirPlay.
The writer had owned the LG HT805PH since 2010. Its DVD player had failed years earlier, but the 5.1 system still played audio from the TV over an optical cable. The LG lacked AirPlay, which the writer already used to stream Apple Music to other speakers at home.
The first test was whether the Raspberry Pi 3B+ could send audio to the receiver at all. The writer loaded Raspberry Pi OS Lite onto a microSD card, enabled SSH for remote access and ran a 3.5mm-to-RCA cable from the Pi’s headphone jack to the LG’s AUX inputs. From the remote session, the writer checked that the Pi listed the headphone output, raised its volume in the mixer and played a test signal that alternated between left and right. With AUX selected on the LG, the signal came through on both sides. Even at full volume on the Pi, it was quiet, so the writer turned up the LG as well.
Two programs turned the Pi into an AirPlay receiver: Shairport Sync receives the audio, while nqptp keeps time for AirPlay 2. The writer installed the build dependencies, then built nqptp first and Shairport Sync second. On Debian 13 (Trixie) and later, the tools also need the systemd-dev package to start when the Pi boots.
In the Shairport Sync configuration file, the writer enabled two settings by removing the leading // marks and edited their values. After saving the file, the writer started the service and disabled Wi-Fi power saving to keep the connection active.
While a track was playing in Apple Music on the writer’s iPhone, the AirPlay menu showed a new destination: LG Surround. Selecting it sent the track to the speakers. The cable carried stereo rather than 5.1 surround, but the headphone output sounded better than the writer expected. A USB digital-to-analog converter might improve the sound further, the writer suggested.
The setup took about 20 minutes and cost nothing because the writer already owned the gear. Turning on the LG and selecting AUX were still manual steps. The writer’s next plan was to have the system do both whenever a stream started.




Discussion