Can't start squeezelite with autostart.sh

  • Hi there.

    I installed squeezelite using the multimedia addon from the libreelec repo.

    Calling the binary directly squeezelite starts up and plays music from my LMS. I use this command in CLI:

    Code
    /storage/.kodi/addons/virtual.multimedia-tools/bin/squeezelite -o sysdefault:CARD=sndrpihifiberry -r 384000 -n antipop -C 10 -f /storage/squeezelite.log 

    What I would like to achieve is to auto start squeezelite on system startup. Therefor I use "/storage/.config/autostart.sh" as described in the Libreelec wiki. The file looks like this

    Bash
    #!/bin/sh
    (
     exec /storage/.kodi/addons/virtual.multimedia-tools/bin/squeezelite -o sysdefault:CARD=sndrpihifiberry -r 384000 -n antipop -C 10 -f /storage/squeezelite.log;
    ) &

    I would expect squeezelite to auto start once the system is booted. But that doesn't happen. The log file is being creating but nothing is written into it.

    Can anybody please give me a little hint where to go now?

    Help is very much appreciated!

    ran