mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-21 17:13:04 +00:00
Tweaks
This commit is contained in:
parent
307a1c759b
commit
f347310d5e
3 changed files with 5 additions and 3 deletions
|
@ -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`
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue