Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
minneyar committed Nov 24, 2019
1 parent e586e80 commit d435e28
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------

Expand All @@ -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?
----------

Expand Down

0 comments on commit d435e28

Please sign in to comment.