Package Details: mpv-mpris 0.5-4

Git Clone URL: https://aur.archlinux.org/mpv-mpris.git (read-only, click to copy)
Package Base: mpv-mpris
Description: MPRIS (Media Player Remote Interface Spec) plugin for mpv
Upstream URL: https://github.com/hoyon/mpv-mpris
Licenses: MIT
Submitter: majewsky
Maintainer: majewsky
Last Packager: majewsky
Votes: 45
Popularity: 6.05
First Submitted: 2017-08-20 21:39
Last Updated: 2020-05-03 00:21

Pinned Comments

majewsky commented on 2020-05-03 00:27

0.5-4 fixes the syntax error in the install script.

As for the autoload-or-not discussion, there's plenty of plugin packages in the repos that are automatically loaded once installed (e.g. all the vim-* packages), because the respective applications look for plugins in /usr. mpv does it the other way with /etc. So it's not as clear-cut as in the case of systemd services, which are never auto-enabled (except for systemd's own units).

I think at this point all arguments have been exchanged, and I'm not seeing myself changing my mind yet again soon. You can always edit the install file before building if you really disagree with this behavior.

Latest Comments

1 2 3 Next › Last »

majewsky commented on 2020-05-03 00:27

0.5-4 fixes the syntax error in the install script.

As for the autoload-or-not discussion, there's plenty of plugin packages in the repos that are automatically loaded once installed (e.g. all the vim-* packages), because the respective applications look for plugins in /usr. mpv does it the other way with /etc. So it's not as clear-cut as in the case of systemd services, which are never auto-enabled (except for systemd's own units).

I think at this point all arguments have been exchanged, and I'm not seeing myself changing my mind yet again soon. You can always edit the install file before building if you really disagree with this behavior.

simonn commented on 2020-05-02 23:32

FWIW, I agree with majewsky and doskoi. The correct place to put the symlink is $HOME/.config/mpv/scripts. It is not something that has a system wide effect, so should not be configured system wide. Also it would seem to be very much the arch philosophy to leave things almost as minimally configured as possible to allow users a lot of flexibility.

asem commented on 2020-05-02 20:19

post_upgrade() in the install script is an empty function and it throws an error.
Please remove it

Terence commented on 2020-05-02 16:37

With 0.5.-3:

(1/1) upgrading mpv-mpris                                                                                                                   [-------------------------------------------------------------------------------------] 100%
/tmp/alpm_rbE2av/.INSTALL: line 9: syntax error near unexpected token `}'
/tmp/alpm_rbE2av/.INSTALL: line 9: `}'

doskoi commented on 2020-05-02 16:12

Arch Linux is a multi-user system you know. You, as an administrator, can install it for other specific users to enable it.

maxpayne3 commented on 2020-05-02 16:02

If you don't want it, don't install it. mpv is not systemd.

doskoi commented on 2020-05-02 16:01

Don't auto load this, it's the responsibility of the user. systemd services are not auto enabled either.

maxpayne3 commented on 2020-05-02 15:45

It fails on my system because /etc/mpv/scripts is not present. Did it manually, but maybe you have to create the folder first.

majewsky commented on 2020-05-02 14:45

I did not install to /etc in order to not break users who don't want to have the plugin load every single time.

The install script now creates the symlink you want, but only once, and tells the user to remove it if they don't want it.

necauqua commented on 2020-05-01 22:26

Joining on the train of condemning comments - if you install this package then why would you ever need the plugin not to be enabled? Being able to 'disable' the plugin by not specifying the command option has no point and simply does not look good.

So you really should just install the .so directly into /etc/mpv/scripts directory and everything will work nicely out of the box and like expected.