mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2025-02-17 14:18:25 +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).
|
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
|
## Getting Started
|
||||||
|
|
||||||
|
|
|
@ -204,7 +204,7 @@ class PlexAlertListener(threading.Thread):
|
||||||
self.logger.debug("Unsupported media type \"%s\", ignoring", mediaType)
|
self.logger.debug("Unsupported media type \"%s\", ignoring", mediaType)
|
||||||
return
|
return
|
||||||
thumbUrl = ""
|
thumbUrl = ""
|
||||||
if config["display"]["posters"]["enabled"]:
|
if thumb and config["display"]["posters"]["enabled"]:
|
||||||
thumbUrl = getKey(thumb)
|
thumbUrl = getKey(thumb)
|
||||||
if not thumbUrl:
|
if not thumbUrl:
|
||||||
self.logger.debug("Uploading image")
|
self.logger.debug("Uploading image")
|
||||||
|
|
|
@ -2,7 +2,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
name = "Discord Rich Presence for Plex"
|
name = "Discord Rich Presence for Plex"
|
||||||
version = "2.2.4"
|
version = "2.2.5"
|
||||||
|
|
||||||
plexClientID = "discord-rich-presence-plex"
|
plexClientID = "discord-rich-presence-plex"
|
||||||
discordClientID = "413407336082833418"
|
discordClientID = "413407336082833418"
|
||||||
|
|
Loading…
Add table
Reference in a new issue