fix(mpris): keep MPRIS volume in sync with the actual volume #3226
No reviewers
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#3226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/mpris-sync-volume"
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?
Fixes #3225 by reverting some of the modifications from
9da0e43
The code introduced in that commit was meant to prevent a supposed recursion described in https://github.com/th-ch/youtube-music/pull/1005#issuecomment-1415717977, but I don't think it happens anymore (at least not in the current codebase, maybe it did in the past)
Now we can call this multiple times and it'll increment the volume properly (+10% volume per call)
playerctl --player=YoutubeMusic volume 0.1+
Before, it would always get the same frozen volume and add 0.1 to it, so it would stop incrementing after the first call.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Thanks!