mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-22 01:23:02 +00:00
No description
discordRichPresencePlex.py | ||
LICENSE | ||
README.md |
Discord Rich Presence for Plex
A Python script that displays your Plex status on Discord using Rich Presence.
Requirements
- Python 3.6.4+
- plexapi
- The script must be running on the same machine as the Discord client.
Configuration
Add your configuration(s) into the plexConfigs
list on line 25.
Example
plexConfigs = [
plexConfig(serverName = "ABC", username = "xyz", password = "0tYD4UIC4Tb8X0nt"),
plexConfig(serverName = "DEF", username = "pqr@pqr.pqr", token = "70iU3GZrI54S76Tn", listenForUser = "xyz")
]
Parameters
serverName
- Name of the Plex Media Server to connect tousername
- Username of the account the server is signed in aspassword
- Password associated with the above accounttoken
- A X-Plex-Token associated with the above account, ignorespassword
if setlistenForUser
- Your username, defaults tousername
if not set
Other Variables
- Line 15:
extraLogging
- The program outputs more information if this is set toTrue
License
This project is licensed under the MIT License. See the LICENSE file for details.