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

Again, that all seems fine. In which case, I can think of two possibilities to test: 1. the launch test script is failing to wait until mpd has started, 2. mpd has started without the loopback device being loaded.

Could you 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"
   until ps -C mpd > /dev/null; do
      sleep 10
   done
   lsmod | grep snd
   ps ax | grep mpd
   moodeutl -l

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

This will log whether mpd is running, and whether the loopback module is loaded, and whether the Moode log says the loopback device is loaded, all immediately before mpd_oled is started.

After updating the script, next time mpd_oled fails to start, please post the output of the following commands


Code:
systemctl status mpd_oled
journalctl -u mpd_oled.service -b

Adrian.
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 05-04-2021, 12:04 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: