You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The player I am using is Spotify v1.2.37.701.ge66eb7bc.
playerctl v2.4.1
kernel 6.1.92-1-MANJARO (64-bit)
KDE Plasma v6.0.5
KDE Frameworks v6.2.0
X11
When I run the playlist, then execute playerctl next from my terminal, the song is skipped to the next song, as expected, but if I run playerctl previous, Spotify ignores it. However, if I run playerctl -p spotify previous, Spotify responds correctly. I spotted the same issue with playerctl play-pause command. Strangely, only next works with Spotify without specifying the player, so I created a temporary workaround for my Previous media key on my keyboard:
if [[ $(playerctl -p spotify status) =~ ^(Playing)$ ]]; then playerctl -p spotify previous; else playerctl previous; fi
... and my Play/Pause media key:
if [[ $(playerctl -p spotify status) =~ ^(Playing|Paused)$ ]]; then playerctl -p spotify play-pause; else playerctl play-pause; fi
The above workaround works well, but I wonder if that could be avoided: is it due to the issue with playerctl or Spotify vs. MPRIS implementation perhaps?
The text was updated successfully, but these errors were encountered:
I also faced this problem: prev and next works well but not for play/pause/pause-play, and using --player spotify can temporally fix it. It may similar to #261
playerctl v2.4.1
kernel Linux 6.10.0-arch1-2
hyprland-git 0.41.2.r45.8e15f91c-1
wayland
The player I am using is
Spotify v1.2.37.701.ge66eb7bc
.When I run the playlist, then execute
playerctl next
from my terminal, the song is skipped to the next song, as expected, but if I runplayerctl previous
, Spotify ignores it. However, if I runplayerctl -p spotify previous
, Spotify responds correctly. I spotted the same issue withplayerctl play-pause
command. Strangely, onlynext
works with Spotify without specifying the player, so I created a temporary workaround for myPrevious
media key on my keyboard:... and my
Play/Pause
media key:The above workaround works well, but I wonder if that could be avoided: is it due to the issue with
playerctl
orSpotify
vs. MPRIS implementation perhaps?The text was updated successfully, but these errors were encountered: