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:

bash cargo install plex-discord-rpc

Manual installation

Build a release binary using the following command:

bash cargo build --release --locked

Then copy it from target/release/plex-discord-rpc to your favorite bin folder, and make it executable.

bash cp target/release/plex-discord-rpc ~/.local/bin chmod +x ~/.local/bin/plex-discord-rpc

Then, assuming your bin folder is in your $PATH, run the binary:

bash plex-discord-rpc

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

Discord Configuration

Default configuration

```toml [plex] host = "localhost:32400" username = "admin" token = "change me" tls = true

[discord] appid = 979815538509348874 largeimage = "plex" smallimage = "" largetext = "Plex" small_text = ""

```