feat: focus Plexamp when album art button pressed with no album#20
feat: focus Plexamp when album art button pressed with no album#20bigethan wants to merge 1 commit into
Conversation
When playback is stopped or idle (no album art displayed), clicking the album art button now focuses the Plexamp app via the Stream Deck openUrl event with the plexamp:// URL scheme. - Allow ALBUM_ART action through the stopped/idle guard in handleButtonAction - Add focusPlexampApp() helper that sends openUrl to Stream Deck - Maintain existing togglePlayPause behavior when music is active
|
Thank you for this, I will review soon. My Plex server is currently down because I'm transferring to a server, It's been a wild week 😅 |
|
Thanks again for the PR and for the thoughtful improvement idea. I tested this branch locally (checked out, built, installed, and verified the stopped/idle button path is hit), but on my setup openUrl with plexamp:// does not actually bring Plexamp to the foreground. Would you be open to sharing one of these so I can try to align with your environment? A short video showing end-to-end behavior: Plexamp not playing / no album art state OS/version Why openUrl worked in your setup |
Hello! I'm a big fan of AmpDeckPlus! But I don't have a lot of buttons available so mostly just use the album art button for play pause and to see what's playing. One thing that I've missed is that when playback ends the button just shows "no album". This change adds a little functionality where clicking the blank album art button will focuses the Plexamp app via the Stream Deck openUrl event with the plexamp:// URL scheme.
Happy to rework anything if you'd like!