Perplex is a Discord Rich Presence implementation for Plex.
- Modern and beautiful Rich Presence for movies, TV shows, and music.
- The Movie Database (TMDB) integration for enhanced media information.
- Optional minimal mode for Rich Presence to hide granular information
- Lightweight console application that runs in the background.
- Support for two-factor authentication (2FA) at login.
- Prioritize multiple Plex media servers and users with one configuration.
Perplex is built for Python 3.11 or greater. TMDB API credentials are required to enable media art and external information.
Note: A Discord desktop client must be connected on the same device that Perplex is running on.
- Install required dependencies using Poetry:
poetry install - Rename
config_example.jsontoconfig.json, then provide the configurable values. - Start Perplex:
python perplex.py
Configurable Values:
logging:severity: Minimum Loguru severity level to display in the console (do not modify unless necessary).plex:username: Plex username for login.plex:password: Plex password for login.plex:twoFactor:trueorfalsetoggle for two-factor authentication prompt at login.plex:servers: List of Plex media servers, in order of priority.plex:users: List of Plex users, in order of priority.tmdb:enable:trueorfalsetoggle for enhanced media information in Rich Presence.tmdb:apiKey: TMDB API key (only used iftmdbenableistrue).discord:appId: Discord application ID (do not modify unless necessary).discord:minimal:trueorfalsetoggle for minimal media information in Rich Presence.