05-02-2021, 02:59 PM
(05-02-2021, 08:20 AM)adrii Wrote: Hi officialsm
There was an issue that mpd_oled would not start when using the Moode ALSA loopback if MPD had not started.
Check if you have a recent copy of mpd_oled that includes the launch test script
Code:pi@moode:~ $ which mpd_oled_launch_test
/usr/bin/mpd_oled_launch_test
If not, install the latest mpd_oled and see if this fixes the issue.
However, if you do have this script then please post the contents of the mpd_oled service file
Code:cat /etc/systemd/system/mpd_oled.service
Adrian.
Yes i have launch test script:
pi@Simoode-audio:~ $ which mpd_oled_launch_test
/usr/bin/mpd_oled_launch_test
Here mped_oled.service output:
pi@Simoode-audio:~ $ cat /etc/systemd/system/mpd_oled.service
[Unit]
Description=MPD OLED Display
[Service]
ExecStartPre=/usr/bin/mpd_oled_launch_test
ExecStart=/usr/bin/mpd_oled -o 6 -b 10 -g 1 -f 20 -c alsa,hw:Loopback,1
[Install]
WantedBy=multi-user.target