#discord

app camila

MPRIS to Discord bridge

2 releases

0.2.1 Feb 2, 2023
0.2.0 Feb 2, 2023

#138 in #discord

Apache-2.0

57KB
246 lines

Camila

Discord presence for MPRIS. Linux only.

"screnshot of my Discord profile showing music player data, the song is 'I Hate Myself, I Want to Party' from King Princess"

Usage

Install from registry with cargo install camila or from source with cargo install --path . or build with cargo build --release and dæmonize as you like. camila can customize the Discord app and icon used by passing an app ID and icon key, respectively, via args.

MPRIS to Discord bridge

Usage: camila [OPTIONS]

Options:
  -a, --app-id <APP_ID>      Discord app ID
  -i, --icon-key <ICON_KEY>  Key of icon in Discord app
  -h, --help                 Print help
  -V, --version              Print version

TODO/Wishlist

  • Better handling of disconnects
  • Probably get the (Discord socket) Watcher and MPRIS loops into their own actors

License

© Ariela Wenner, 2023. All code licensed under Apache 2.0.

Dependencies

~16–26MB
~400K SLoC