Plugin 'Essentials for Spotify' works, but just after a little kick
Hi. My armory: OpenDeck 2.7.0 (via install script), Ubuntu 24.04, Gnome, Essentials for Spotify 1.1.0.4. OpenDeck and Spotify running in background. OpenDeck is registered in dev-portal of Spotify (working client ID and secret key).
The Spotify plugin is working 100%, but only after I give it a little kick when PC is rebooted.
After reboot it shows like first image, speaker with green question mark. Buttons do nothing on Spotify.
It just need a tiny kick: move a Spotify button to another square (see 2nd image) and all is working in good order after that kick. After that, I can move the button to the previous location without any further disturbances.
It's a simple workaround. But I wonder if this is expected behaviour? Or can I tweak something on my side, so the kick is not needed anymore?
Deleted the logfiles and created new ones. These are the logfiles just after reboot when it still needs that kick.


10 Replies
Something about EventEmitter getting sick on something...
maarten@Ubuntu:~$ node -v
v24.11.1Hello!
let me clarify: the plugin works fine, but after every reboot of the PC, none of the buttons work, but after you move just one of the buttons, all of the buttons start working?
if that is the case, does this happen after every restart of OpenDeck, or only after restarting the PC?
Thank you for these excellent questions. It makes me sharp and precise to exactly describe how to reproduce. I pinpointed it to these exact steps.
1. Reboot. OpenDeck autostarts on booting.
2. Manually start Spotify.
3. On StreamDeck, push a 'Spotify'-button. I did the Play button, with connected action 'Play/Pause'. It gives an orange sign, and no reaction to Spotify.
4. Push that same Spotify-button again, and now Spotify is connected.
PS.
a. I didnt check if it needs to be the exact same button to push it twice. Will verify that.
b. In my original posting, I moved a Spotify button to another place. I guess that's the same thing as pushing the same button 'twice'.
c. It's only on reboot. Fully killing OpenDeck (pkill -f opendeck) and manually restarting it (stay in same session, no reboot I mean), keeps the buttons working.
huh, interesting
Update: among the 4 Spotify-buttons I am using, only pushing the Play/Pause-button twice is fixing it. The three other buttons does nothing to solve it.
OK, it's much less bad a problem if you can just press it twice and don't have to go into OpenDeck to move it
only pushing the Play/Pause-button twice is fixing itbut does it fix the other buttons when you do it?
Once pressing Play/Pause twice, the other buttons are working too then.
Guess there's some 'reconnect' thingy going on under the hood... 🤔
Maybe the way OpenDeck autostarts, matters? I am checking now when I start OpenDeck manually after booting up, if that matters.
I find it very weird that it only happens on PC restart and not OpenDeck restart
Same behaviour when manually start OpenDeck on booting (i.e.: not autostart).
Yeah, it is. Let me know if I can check something. As said, for me it is workable, now I discovered pushing it twice solves it. But I agree, its wierd. Let me know if I can do anything.
I almost feel I have to apologize for my wierd situation... 😂