Using any audio source with HQPlayer - Spotify, Amazon, Apple Music, YouTube Music, Deezer, Soundcloud [2023]

Hi folks. It took me a while to digest the topic and got my setup to work. I wrote down the steps for my own reference, but would like to share here:


Assume the following setup:

Android Tablet -(USB)> input NAA (RPi 4) -(local network)> HQPlayer embedded

Step 1: setup input NAA

Burn NAA image to SD card (Get the latest NAA image from Index of /bins/naa/images/)

Hookup to a monitor and keyboard (only required once).

Login as root, no password required.

Write down NAA host name, “naa-XXXXXX”; will need it later

Go to /boot

Edit config.txt with nano

Go to last line of config.txt

Uncomment line: “dtoverlay=dwc2,dr_mode=peripheral”

Comment out the line above: “dtoverlay=dwc2,dr_mode=host”

Step 2: setup HQPlayer Embedded

On HQPlayer embedded computer:

add to hqplayerd.xml (hqplayerd.xml is at /etc/hqplayer)

Step 3: hardware connection

Get an externally powered USB C hub with minimum connections as below:

  1. External power input (connect to external power supply)
  2. One USB 3 connection (need that to connect to RPi 4 USB C connector with a USB 3 cable; I am using USB A to USB C cable; I will experiment a USB C to USB C cable later)
  3. USB C host connection (need that to connect to Android Tablet)

Boot up procedure (I am still experiencing whether it matters)

  1. Boot up HQPlayer embedded
  2. Make connections in step 3 (above)
  3. Go to HQPlayer Embedded page, in my case, hqplayer.local:8088
  4. Go to Input Tab
  5. Change input to “NAA USB Audio”
  6. Push “Select” link
  7. Android Tablet will have a pop up message, hit OK, the audio is now output through NAA
1 Like