Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
Hi officialsm

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.
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 05-04-2021, 07:14 PM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: