void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.57k stars 2.14k forks source link

mpv-mpris isn't activated when installed #44375

Closed ShinyZero0 closed 1 year ago

ShinyZero0 commented 1 year ago

Not sure if it's not intended. I expected playerctl will just start to work with mpv when i install mpv-mpris, but it doesn't. I have to activate it manually with a commandline argument like this

mpv --script=/usr/lib/mpv-mpris/mpris.so

If i symlink the mpris.so to /etc/mpv/scripts/mpris.so it will just work without any arguments. I think it should be like that by default

classabbyamp commented 1 year ago

this should be in void-packages, not xbps

ShinyZero0 commented 1 year ago

this should be in void-packages, not xbps

ah sorry, should i close or it can be moved?

classabbyamp commented 1 year ago

void generally does not activate things for people if it differs from the default upstream configuration

ShinyZero0 commented 1 year ago

seems like their system-wide installation script in makefile symlinks it https://github.com/hoyon/mpv-mpris/blob/master/Makefile#L50

paper42 commented 1 year ago

I think this is the correct behavior, just installing a package shouldn't automatically enable the script in my opinion, that's why configs exist.

classabbyamp commented 1 year ago

it also makes it so you can activate it per-user and not have it be enabled for users on a system who don't want it without needing admin rights https://github.com/hoyon/mpv-mpris#loading

ShinyZero0 commented 1 year ago

well that makes sense