IngoMeyer441 / radiotray-ng-mpris

A wrapper script for Radiotray-NG which provides an MPRIS2 interface.
MIT License
4 stars 0 forks source link

Radiotray-NG MPRIS

Overview

Radiotray-NG MPRIS is a wrapper for Radiotray-NG to add an MPRIS2 interface which integrates well with desktop environments (like GNOME, KDE or XFCE) or desktop independent music player control tools like playerctl.

Installation

First, you need a working installation of Radiotray-NG.

Radiotray-NG MPRIS is available on PyPI and can be installed with pip:

python3 -m pip install radiotray-ng-mpris

Please note that at least Python 3.10 is required (because of its dependency mpris_server). You can check your installed Python version with

python3 --version

If your Python version is too old, you don't want to use pip for the installation or you don't care about Python at all, you can also download self-contained executables (no Python installation required) for Linux x64 from the releases page.

If you run an Arch-based system, you can also install Radiotray-NG MPRIS from the AUR:

yay -S radiotray-ng-mpris

In this case, Radiotray-NG will be installed as a package dependency automatically.

Usage

Run

radiotray-ng-mpris

on the command line (or any application finder) to start Radiotray-NG and the MPRIS2 integration. Any MPRIS2 control interface should start working with Radiotray-NG immediately.

Exit the application by quitting Radiotray-NG or the wrapper script (press <Ctrl-c> on the command line).

Command line options

usage: radiotray-ng-mpris [-h] [-p] [-V]
                          [-q | --error | --warn | -v | --debug]

radiotray-ng-mpris is a wrapper script for radiotray-ng to provide an MPRIS2
interface.

options:
  -h, --help     show this help message and exit
  -p, --play     start playback immediately
  -V, --version  print the version number and exit
  -q, --quiet    be quiet (default: "False")
  --error        print error messages (default: "False")
  --warn         print warning and error messages (default: "True")
  -v, --verbose  be verbose (default: "False")
  --debug        print debug messages (default: "False")