mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #779] playerctl volume controls not working correctly #1399
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1399
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @the-n3kk on GitHub (Jul 20, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/779
Describe the bug
playerctl volume control doesn't seem to work correctly.
When attempting to increase player volume it doesn't do anything.
Decreasing volume instead sets the volume to 100% - offset value instead of decreasing it by the offset.
Getting current volume always returns 1.0 instead of current volume.
Setting volume to specific value is the only one that seems to be working correctly.
There's no error's / warnings returned from playerctl.
To Reproduce
playerctl --player spotify_player volume 0.1+
nothing happens
playerctl --player spotify_player volume 0.1-
volume is set to 90% (it seems to always set it to 100% - offset)
playerctl --player spotify_player volume
returns 1.0000 instead of actual volume
Expected behaviour
playerctl --player spotify_player volume 0.1+
sets the volume to current volume + 10%
playerctl --player spotify_player volume 0.1-
sets the volume to current volume - 10%
playerctl --player spotify_player volume
returns current volume as a float (0.0-1.0)
Log and backtrace
Backtrace is empty after running commands above. Normal log likewise does not log any events when running those commands.
Screenshots
Probably N/A
Environment
Additional context
Not sure what else is there to mention. The playerctl seems to overall be functional in terms of being able to communicate with the app as you can set the value directly, it's just the offsets and getting value that's the issue. If I were to guess the main issue is the volume reporting given the behavior when lowering the volume.
I wanted to map my keyboards media buttons to explicitly control this app, which is where I noticed this issue.
@Dragonfly911117 commented on GitHub (Sep 29, 2025):
I've run into the same problem on Garuda Linux (6.16.9-1-cachyos) while trying to control media volume from waybar.
Interestingly, it’s not just
spotify_player. I also see the same behavior with my browser — for example:always returns
1.0000, even if I explicitly set it. That makes me suspect it’s more of aplayerctlissue than aspotify_playerone. I found this related issue: https://github.com/altdesktop/playerctl/issues/319).As a workaround, I’ve switched to:
Maybe this workaround can also help in your case.