Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50396 - [mpv] Provide a default "input.conf" so that it works with pulseaudio

Attached to Project: Community Packages
Opened by Mark (markg85) - Sunday, 14 August 2016, 21:41 GMT
Last edited by Christian Hesse (eworm) - Monday, 15 August 2016, 14:30 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

"But mpv works with pulseaudio, right? What are you talking about?"

Well, that changed since the last release.
The default is now handled by "softvol". The audio (when oa=pulse) is still being send to pulseaudio, but the volume keys and default volume are not.

So that can end up in the situation that:
- start mpv (pulseaudio restores the volume to whatever it was, say 30%)
- softvol always starts at 100% which is 100% of that 30%.
- if you now use the "/" key to decrease volume then it's decreased from the softvol value, not pulseaudio. Same with increase.

That's not what you'd want and most certainly not what you'd expect in this time where everything at the very least works somewhat ok with pulsaudio.
MPV also added now key commands that you can bind to get the old behavior back, but they are not setting it for you. So the user either has to do that, or the distribution has.

I'd like to request Arch to provide default bindings for the default volume keys of mpv.
SHIFT + * is by default used to increase volume
/ is by default used to decrease volume

This can be set in input.conf (system wide would be at /etc/mpv/input.conf)
It should contains the following entries at the very least:

/ add ao-volume -2
SHIFT+* add ao-volume 2

There are probably more volume keys.
I know Arch is all about sticking to upstream and leaving all config up to the user, but this one is quite vital and difficult to discover and correct.

Cheers,
Mark
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 15 August 2016, 14:30 GMT
Reason for closing:  Won't fix
Additional comments about closing:  We keep upstream defaults.
Comment by Christian Hesse (eworm) - Monday, 15 August 2016, 14:29 GMT
I do not see any issue here. This is intended behaviour from upstream and I think it makes sense.
You have two options here:

1. Add the settings to /etc/mpv/input.conf (or ~/.config/mpv/input.conf) yourself.
2. Set up general shortcuts in your desktop environment to control pulseaudio volumes. That makes it work for every application... ;)

I decided to go with the second option here for my alsa setup.

Loading...