Pipris is an extensible MPRIS scrobbler written with Deno.

Pipris Version 0.1.1#

Pipris is an extensible MPRIS scrobbler written with Deno. It was originally created for teal.fm, but can be extended to support a wide variety of services (e.g. Last.fm or Discord rich presence).

The name is derived from piper + MPRIS.

Development#

The following modules are built in:

  • src/modules/discord.js

    Discord rich presence

  • src/modules/teal.js

    teal.fm scrobbler

  • src/modules/example.js.disabled

    Example module stub

Configuration#

For every module, there is a matching *.json file in the config folder. Most options should be self-explanatory, though some will be listed below for clarity.

global.json#

global.json currently has 1 option: "playerListMode". This can be set to one of three options:

  • "on"

    Will only capture MPRIS events from whitelisted players (defined in src/mpris.js).

  • "priority"

    All MPRIS events will be captured, but ones coming from players in the player list will be prioritised.

  • "off"

    The player list will be completely disabled.