From d435e28db78f25e1d22646e055db417abb32895b Mon Sep 17 00:00:00 2001 From: minneyar Date: Sat, 23 Nov 2019 19:38:48 -0600 Subject: [PATCH] Update README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index f3e0ecb..a08a4d8 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ This is a simple Python script that displays whatever you're listening to in the [Clementine](https://www.clementine-player.org/) as your "Now Playing" status in [Discord](https://discordapp.com/). +![example](clementine_discord.png) + Requirements ------------ @@ -25,6 +27,18 @@ Usage That's all there is to it. It will quietly run in the background and update your status in Discord every 15 seconds. +If you want to customize the exact string it puts in the details, edit the `DETAILS_STRING` variable at the top of +`clementine_discord.py`. You can substitute in any value that is returned in Clementine's metadata, although note that +any colons (`:`) in the keys should be replaced with dashes (`-`). You can run this command while Clementine is playing +to see a list of values: +```bash +qdbus org.mpris.MediaPlayer2.clementine \ + /org/mpris/MediaPlayer2 \ + org.freedesktop.DBus.Properties.Get \ + org.mpris.MediaPlayer2.Player \ + Metadata +``` + Questions? ----------