[PLUGIN] MPD OLED - installation & configuration plugin

This repeating message is because the mpd_oled program polls MPD for the current song info. It’s totally normal :slight_smile:

There is something strange happening in the system. I can have a look at the logs to see if the plugin is OK. Are you getting anything on the display at all?

Cheers

here is a log immediately after startup mpd does not turn on and pressed play once.



info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
......................................................................................................................................................................................................................................................................++++
......++++
e is 65537 (0x010001)
writing RSA key
info: CoreCommandRouter::executeOnPlugin: system , getSystemVersion
info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
error: MyVolumio Plugin failed to authenticate in a timely fashion
info: Completed starting MyVolumio Plugin
info: BOOT COMPLETED
e[34m [Metrics] e[39m CommandRouter: e[31m 40s 6.78ms e[39m
info: CoreCommandRouter::volumiosetStartupVolume
info: CoreCommandRouter::executeOnPlugin: alsa_controller , getConfigParam
info: VolumeController:: Setting startup Volume 100
info: VolumeController::SetAlsaVolume100
info: CoreCommandRouter::executeOnPlugin: system , getConfigParam
info: CoreCommandRouter::Close All Modals sent
info: CoreCommandRouter::Close All Modals sent
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: alsa_controller , checkAudioDeviceAvailable
info: CoreCommandRouter::executeOnPlugin: i2s_dacs , getI2sStatus
info: CoreCommandRouter::executeOnPlugin: system , versionChangeDetect
Soliciting pool server 213.154.236.182
Soliciting pool server 194.104.0.153
Soliciting pool server 185.45.112.121
Soliciting pool server 188.165.11.86
Soliciting pool server 54.39.23.64
Soliciting pool server 5.39.184.5
Soliciting pool server 45.85.15.35
Soliciting pool server 45.32.4.67
Soliciting pool server 13.55.50.68
Soliciting pool server 83.137.149.135
Soliciting pool server 94.228.220.14
Soliciting pool server 83.98.155.30
Soliciting pool server 78.46.60.40
Soliciting pool server 94.198.159.15
Soliciting pool server 5.79.108.34
Soliciting pool server 2001:49f0:d00a:1::a
receive: Unexpected origin timestamp 0xe6a4be36.d1d25cb7 does not match aorg 0000000000.00000000 from server@213.154.236.182 xmt 0xe6a4be6a.40c7677e
receive: Unexpected origin timestamp 0xe6a4be36.d1cf9b6e does not match aorg 0000000000.00000000 from server@45.85.15.35 xmt 0xe6a4be6a.4181c3dc
receive: Unexpected origin timestamp 0xe6a4be36.d1c72e09 does not match aorg 0000000000.00000000 from server@5.79.108.34 xmt 0xe6a4be6a.411d2b50
receive: Unexpected origin timestamp 0xe6a4be36.d1ce3a30 does not match aorg 0000000000.00000000 from server@83.137.149.135 xmt 0xe6a4be6a.4158e3a3
receive: Unexpected origin timestamp 0xe6a4be36.d1cce228 does not match aorg 0000000000.00000000 from server@45.32.4.67 xmt 0xe6a4be6a.4ae36f88
receive: Unexpected origin timestamp 0xe6a4be36.d1cb741d does not match aorg 0000000000.00000000 from server@13.55.50.68 xmt 0xe6a4be6a.647d37d9
info: CALLMETHOD: system_controller system sendBugReport [object Object]
info: CoreCommandRouter::executeOnPlugin: system , sendBugReport
Soliciting pool server 2001:7b8:3:32:213:136:0:252
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/iwconfig
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
Soliciting pool server 162.159.200.123
 volumio : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl -p 7
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
info: Log sent successfully, reply: {"status":"OK","link":"http://logs.volumio.org/volumio/9VEz1cH.html"}
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::volumioPlay

info: CoreStateMachine::play index undefined
info: CoreStateMachine::setConsumeUpdateService undefined
info: CorePlayQueue::getTrack 0
info: CoreStateMachine::startPlaybackTimer
info: CorePlayQueue::getTrack 0

info: sendMpdCommand stop took 1 milliseconds

info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: sendMpdCommand clear took 2 milliseconds

info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
error: updateQueue error: null
info:
---------------------------- MPD announces state update: options
error: updateQueue error: null
info: ------------------------------ 6ms
info: sendMpdCommand consume 1 took 4 milliseconds
info: ControllerMpd::getState

info: ------------------------------ 4ms
info: [1660567726635] [RadioParadise] set to consume mode, adding url: https://stream.radioparadise.com/mellow-flac

info:
---------------------------- MPD announces state update: options
info: ControllerMpd::getState

error: Upnp client error: Error: This socket has been ended by the other party
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: sendMpdCommand status took 6 milliseconds
info: sendMpdCommand add "https://stream.radioparadise.com/mellow-flac" took 5 milliseconds
info: sendMpdCommand status took 3 milliseconds



info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ------------------------------ 35ms
info: ------------------------------ 42ms
info:
---------------------------- MPD announces system playlist update
info: Ignoring MPD Status Update
info: ------------------------------ 43ms
info: sendMpdCommand play took 35 milliseconds
info: ------------------------------ 4ms
info: [1660567726684] [RadioParadise] getMetadata started with url https://api.radioparadise.com/api/now_playing?chan=1
info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState

info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState

info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState


info: sendMpdCommand status took 10 milliseconds


info:
---------------------------- MPD announces state update: player
info: ControllerMpd::getState


info: sendMpdCommand status took 24 milliseconds

info: sendMpdCommand status took 25 milliseconds
info: sendMpdCommand clearerror took 18 milliseconds
info: sendMpdCommand playlistinfo took 17 milliseconds
info: sendMpdCommand status took 15 milliseconds







info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ------------------------------ 46ms
info: sendMpdCommand clearerror took 25 milliseconds
info: sendMpdCommand clearerror took 24 milliseconds
info: sendMpdCommand playlistinfo took 13 milliseconds
info: sendMpdCommand playlistinfo took 13 milliseconds
info: sendMpdCommand playlistinfo took 11 milliseconds



info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CorePlayQueue::getTrack 0
info: Received update from a service different from the one supposed to be playing music. Skipping notification.Current radio_paradise Received mpd
info: ------------------------------ 59ms
info: ------------------------------ 58ms
info: ------------------------------ 47ms
info: [1660567727190] [RadioParadise] received new metadata: {"time":45,"artist":"Ben Harper","title":"Gold To Me","album":"Fight for your mind","year":"1995","cover":"https://img.radioparadise.com/covers/l/B000000W9M.jpg","cover_med":"https://img.radioparadise.com/covers/m/B000000W9M.jpg","cover_small":"https://img.radioparadise.com/covers/s/B000000W9M.jpg"}
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::servicePushState
info: CorePlayQueue::getTrack 0


info: CoreStateMachine::syncState   stateService play
info: CoreStateMachine::syncState   currentStatus stop
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: [1660567727224] [RadioParadise] setting new timer with duration of 50000 seconds.
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: touch_display: Setting screensaver timeout to 0 seconds.
info: CorePlayQueue::getTrack 0
info: CorePlayQueue::getTrack 1
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: touch_display: Using Xserver unix domain socket /tmp/.X11-unix/X0
info: touch_display: Setting screensaver timeout to 0 seconds.

I mean Sending logs for troubleshooting - Volumio Documentation

here you go.

http://logs.volumio.org/volumio/9VEz1cH.html

info: [MPD_OLED Plugin] Stopping mpd_oled: /usr/bin/sudo /usr/bin/killall mpd_oled

I think you’re using a slightly older version of the plugin, as V1.0.13+ uses a service instead of creating and killing mpd_oled processes :smiley:

also could you try running this, you should see mpd_oled running regardless of my plugin or mpd running

mpd_oled -o 3 -b 16 -g 1 -f 50 -s 8,5 -C 0 -P s -c fifo,/tmp/mpdoledfifo -B 1 -r 25 -D 24 -S 0

you might all have to run killall mpd_oled first to kill any running processes too.

it just didn’t go any further than version 1.0.12 now it did :thinking:

i will install 1.0.14.

That’s the magic of technology :joy:

version 1.0.14 installed now also the mpd oled does not turn on again that alsa error.

Schermafbeelding 2022-08-15 om 14.51.24

Does this work? mpd_oled -o 3

where do I enter/check that via ssh?

Just into the SSH terminal. I want to check that mpd_oled actually runs. You can copy and paste the command into a terminal window.

nothing happens, not even with sudo in front of it.

Schermafbeelding 2022-08-15 om 15.31.02

Nothing happens on your OLED? You should see a clock on it.

yes the screen turns on (clock) after that command.
after that command volumio is playing again but with stutters.

yes this works too.

Does the oled work with the plugin?

no it won’t turn on with version 1.0.14.
well after the ssh command he wakes up and plays.

maybe my oled screen is broken or is about to break.
I use the 5 volts of an audiophonics power module, maybe this is just a bit too much voltage, but according to the specification OLED should be possible.

i have tried all mpd oled versions from the plugin store but all with the same result except the first beta 1.0.8 works well the screen just turns on after every boot.

Weird. It works for me. Not sure why it wouldn’t work for and your screen seems to be ok. It works for me v1.0.12 uses a service to run mp_oled and before that it starts and kills the process manually