mpd_oled/cava problem - no spectrum - and the fix #1975
Unanswered
mariusp44
asked this question in
Fixed Issues
Replies: 1 comment
-
|
Thank you for sharing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It was working fine in i20250309 but stopped working in the latest image. MPD information is displayed but spectrum analyzer is not working. This is only relevant if you are using spectrum OLED as I do:
There is an easy fix to this problem.
mpd_oledis started every time audio is played and stopped when audio finishes. It also startscavathat shows spectrum analyzer.However,
cavais not getting started properly and shows asdefunct:mpd_oledruns undersystemdand log shows:After some digging I found out that apparently
cavarequiresHOMEenvironment variable set and it is missing.The fix is to modify
mpd_oledsystemdunit configuration addingHOME=/tmp:systemctl edit mpd_oled.servicesystemctl daemon-reloadto refreshsystemdunit configurationPlay audio as you normally would - spectrum should display properly now and processes show
cavais running as it should:Beta Was this translation helpful? Give feedback.
All reactions