mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-28 04:00:16 +00:00
Fixed an error caused by missing thumbnails
This commit is contained in:
parent
57583955cd
commit
f6ca9fc7e7
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
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.2.4
|
||||
Current Version: 2.2.5
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ class PlexAlertListener(threading.Thread):
|
|||
self.logger.debug("Unsupported media type \"%s\", ignoring", mediaType)
|
||||
return
|
||||
thumbUrl = ""
|
||||
if config["display"]["posters"]["enabled"]:
|
||||
if thumb and config["display"]["posters"]["enabled"]:
|
||||
thumbUrl = getKey(thumb)
|
||||
if not thumbUrl:
|
||||
self.logger.debug("Uploading image")
|
||||
|
|
|
@ -2,7 +2,7 @@ import os
|
|||
import sys
|
||||
|
||||
name = "Discord Rich Presence for Plex"
|
||||
version = "2.2.4"
|
||||
version = "2.2.5"
|
||||
|
||||
plexClientID = "discord-rich-presence-plex"
|
||||
discordClientID = "413407336082833418"
|
||||
|
|
Loading…
Reference in a new issue