[Bug]: MPRIS: precise-volume: Volume property unsyncs if set through MPRIS #3225
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3225
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?
Preflight Checklist
YouTube Music (Application) Version
master
Checklists
What operating system are you using?
Other Linux
Operating System Version
NixOS 25.05 (Warbler) x86_64 [nixpkgs rev: github:NixOS/nixpkgs/2c8d3f4]
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
likely introduced in
9da0e43
(not entirely sure, I didn't bisect, just git blame)Reproduction steps
playerctl --player=YoutubeMusic volume 0.5
)playerctl --player=YoutubeMusic volume
)Expected Behavior
Each call to set the
volume
property through mpris should update thevolume
property in the mpris object.So we should see something like:
Actual Behavior
It doesn't update the mpris object, so when we ask the
volume
property, it returns an outdated value.The volume in the actual player does update (in most cases*), it's just the mpris object that doesn't. So we should hear the volume changing in the application, but mpris says otherwise:
*: There's a case where it does not update the actual player's volume:
Let's suppose MPRIS volume froze on
1.0
, like in the case above, if we try to set the volume to 1.0 through mpris, it'll not update the actual player's volume.Enabled plugins
Additional Information
Another side consequence is that this doesn't work
(it gets the current volume and adds 0.1 to it)