05-09-2021, 06:39 PM
(05-04-2021, 07:14 PM)adrii Wrote: Hi officialsmAt the moment works as expected (upgraded yesterday to 7.2.1.)
I have made a new launch test for mpd_oled on Moode. If you would like to test it then remove 'snd-aloop' from '/etc/modules', and replace the contents of '/usr/bin/mpd_oled_launch_test' with
Code:#!/bin/bash
sysname="unknown"
moodeutl_path="/usr/local/bin/moodeutl"
volumio_path="/volumio"
raudio_path="/srv/http/command/rune_shutdown"
if test -f "$moodeutl_path" ; then
sysname="moode"
# wait for worker to start to ensure start flag is set to 0
until ps -C worker.php > /dev/null; do
sleep 2
done
sleep 1 # extra time allow to set flag
until test $(moodeutl -q "select value from cfg_system where param='wrkready'") = "1"; do
sleep 4
done
elif test -f "$volumio_path" ; then
sysname="volumio"
until ps -C mpd > /dev/null; do
sleep 10
done
elif test -f "$raudio_path" ; then
sysname="raudio"
until ps -C mpd > /dev/null; do
sleep 10
done
fi
If this is working for you I will update the mpd_oled repository with the change.
Thank you for reporting the issue, and all your help to track down the cause!
Adrian.