plex-discord-rpc-1.1.1 is not a library.
Plex Discord Rich Presence
Displays what movies or shows you're currently watching your Plex server.
Heavily inspired by mpd-discord-rpc by Jake Stanger.
Installation
Install via cargo:
Manual installation
Build a release binary using the following command:
Then copy it from target/release/plex-discord-rpc
to your favorite bin
folder, and make it executable.
Then, assuming your bin
folder is in your $PATH
, run the binary:
Configuration
Running the program once will generate a default configuration file. On Linux, this will be at ~/.config/plex-discord-rpc/config.toml
.
Plex Configuration
host
- The hostname of your Plex server. Example:host.plex.local
username
- Your username on the Plex server. This is used to track which session is yours and what you're currently watching.token
- TheX-Plex-Token
for your Plex server. See here on how to find your token.tls
- If your Plex server is using TLS (IEhttps
orwss
) then this should be set totrue
.
Discord Configuration
app_id
- The Discord application ID to use for rich presence activity.large_image
- The large image asset used for rich presence.small_image
- The small image asset used for rich presence.large_text
- The text that shows on hovering the large image.small_text
- The text that shows on hovering the small image.
Default configuration
[]
= "localhost:32400"
= "admin"
= "change me"
= true
[]
= 979815538509348874
= "plex"
= ""
= "Plex"
= ""