post_install() { mkdir /etc/mpv/scripts ln -s /usr/lib/mpv/mpris.so /etc/mpv/scripts/mpris.so echo ">>> If you don't want this plugin to autoload, delete the symlink at /etc/mpv/scripts/mpris.so." } post_upgrade() { # respect the user's choice and don't create the symlink again true }