This commit is contained in:
Phin 2022-05-11 06:07:38 +05:30
parent 307a1c759b
commit f347310d5e
3 changed files with 5 additions and 3 deletions

View file

@ -2,10 +2,12 @@
A Python script that displays your [Plex](https://www.plex.tv) status on [Discord](https://discord.com) using [Rich Presence](https://discord.com/developers/docs/rich-presence/how-to).
Current Version: 2.0.2
## Getting Started
1. Install [Python 3.10](https://www.python.org/downloads/)
2. [Download](archive/refs/heads/master.zip) the ZIP file containing the files in this repository
2. [Download](https://github.com/phin05/discord-rich-presence-plex/archive/refs/heads/master.zip) the ZIP file containing the files in this repository
3. Extract the contents of the above ZIP file into a new directory
4. Navigate a command-line interface (cmd.exe, PowerShell, bash, etc.) to the above directory
5. Install the required Python modules by running `python -m pip install -r requirements.txt`

View file

@ -42,7 +42,7 @@ class PlexAlertListener:
while not connected:
try:
self.plexAccount = MyPlexAccount(token = self.token)
self.logger.info("Logged in as Plex User \"%s\"", self.plexAccount.username)
self.logger.info("Signed in as Plex User \"%s\"", self.plexAccount.username)
self.plexServer = None
for resource in self.plexAccount.resources():
if resource.product == self.productName and resource.name.lower() == self.serverConfig["name"].lower():

View file

@ -2,7 +2,7 @@ import sys
import os
name = "Discord Rich Presence for Plex"
version = "2.0.1"
version = "2.0.2"
plexClientID = "discord-rich-presence-plex"
isUnix = sys.platform in ["linux", "darwin"]
processID = os.getpid()