[RPi4] Multimedia Tools: How to configure Squeezelite?

  • Hello,

    I run LibreELEC on a Raspberry Pi 4 with a HiFiBerry DAC+ ADC Pro V1.0.1 (two chich-outputs). The name of the computer is "SmartTVHiFiBerry". This name is configured within KODI. KODI works fine. I want to use this computer also together with my LMS-Server (Lyrion Music Server), so that I don't have two pairs of loudspeakers in the living room.

    I installed the add on "Multimedia Tools". It contains squezzelite. I want to configure this squeezelite instance, so that it works together with my LMS-Server, which is installed on another Raspberry Pi 4. If possible, I want to configure a hard and not an automatic detection of the LMS' IP adress. My network is IP 4 based.

    If I log onto "SmartTVHiFiBerry" via console, I can start "squeezelite" and stop it by CTRL+C. If started, in LMS a new player called "SqueezeLite" appears. But I do not have a sound output on this player. Other players work fine.

    In the WWW I looked already for hints for this problem. Unfortunately I did not find anything.

    Stand alone (standard Raspberry Pi OS + squeezelite) I have a couple of Raspberry Pis configured with squeezelite. They work fine. Now I want to do the same with the LibeELEC Raspberry Pi. Can someone tell my how to configure the LibreELEC Raspberry Pi, so that ...

    - ... there is a sound output?

    - ... another self choosen name appears for this player?

    - ... squezzelite starts automatically when the Raspberry Pi boots?

    - ... I have a permanent defined IP 4 adress in squezzelite(!!!) for the LMS server?

    Sincerely Klaus

  • I have LibreELEC + Squeezelite on the same RPi 4B+, so I can watch videos uisng LibreELEC and play music using Squeezelite.

    First you need some tools. If you don't know how to use these tools, please Google.

    1. FileZilla or other ftp client to send files to RPi

    2. PuTTY or other SSH client.

    Then

    1. Download the latest version from https://sourceforge.net/projects/lmscl…eezelite/linux/
    use aarch64 version for RPi4. Don't use that one in "Multimedia Tools"

    2. Extract the file and copy to /storage/ of RPi using FileZilla.

    3. Make squeezelite executable by issuing "chmod a+x squeezelite" on PuTTY terminal.

    4. Setup auto start. Create autostart.sh by issuing "nano /storage/.config/autostart.sh" on PuTTY terminal. Then copy and paste the following,

    (
    /storage/squeezelite -o default:CARD=sndrpihifiberry -a 65536:4::1:1 -b 20000:300000 -r 44100,48000,88200,96000,176400,192000,352800 -R vE:1A:1:32:95.4:104.6:46 -n 'Kodi-Squeezelite' -C 3
    )&

    and then Ctrl+O / Ctrl+X to save and exit.

    where -o default:CARD=sndrpihifiberry, your sound card's name. You can get it by issuing "aplay -l". You need to change it accordingly.

    -n 'Kodi-Squeezelite', the player's name shown in LMS. Change to your favorite name.

    -C 3 close the sound card after 3 seconds of idle.

    Go to squeezelite man page - General Commands | ManKier and also soundcheck's - audio@vise: introduction if you are interested to learn more.

    5. Setup to close LibreELEC sound card when idle. Settings->System->Audio->Keep audio device alive, Select "off".

    6. Restart LibreELEC.

    This should work and good luck.

  • Thank you very much!

    It worked fine AT ONCE!!!

    Just three VERY(!) small addons:

    1) at sourceforge - do NOT download the "-pulse-" version of squezzelight.

    (I hove no clue whats the different and if the pulse version works, too, but the non pulse version worked fine!)

    2) the command for unpacking is: tar -xvzf filename.tar.gz

    3) I had already installed the "Multimedia Tools" on my LibreELEC, but not configured. Nevertheless, aboves installation description worked fine without deinstallation.

    Sincerely!