progwolff / moc-mpris

MPRIS2 support for local or remote instances of MOC - music on console
GNU General Public License v3.0
9 stars 2 forks source link

MPRIS2 bridge for MOC - music on console

Screenshot

Install

# mkdir -p /usr/lib/systemd/user/
# mkdir -p /usr/lib/moc-mpris/

# install -D -m644 *.service /usr/lib/systemd/user/
# install -D -m755 *.sh /usr/lib/moc-mpris/
# install -D -m755 *.py /usr/lib/moc-mpris/

Arch Linux users might want to install moc-mpris-git from AUR instead.

To enable MPRIS2 support for local instances of MOC:

$ systemctl enable --user --now moc_mpris.service

To enable MPRIS2 support for remote instances of MOC:

$ systemctl enable --user --now moc_mpris@'user@remote'

You will need to set up a password-less ssh connection to the remote for this to work (e.g. by using a RSA key, adding the key's password to your wallet, and calling ssh-add at startup).