From 5461ad20ed0172599e3a9d41cc0507811b3abe15 Mon Sep 17 00:00:00 2001 From: Phin <59180111+phin05@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:33:47 +0530 Subject: [PATCH] Version bump and bugfix --- .github/release-notes/v2.7.0.md | 9 +++++++++ config/constants.py | 2 +- core/plex.py | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .github/release-notes/v2.7.0.md diff --git a/.github/release-notes/v2.7.0.md b/.github/release-notes/v2.7.0.md new file mode 100644 index 0000000..e41caae --- /dev/null +++ b/.github/release-notes/v2.7.0.md @@ -0,0 +1,9 @@ +### Release Notes + +* Added support for live TV (#72) +* Added support for dynamic button labels (#80) + +### Installation Instructions + +* [Regular](https://github.com/phin05/discord-rich-presence-plex/blob/v2.7.0/README.md#installation) +* [Docker](https://github.com/phin05/discord-rich-presence-plex/blob/v2.7.0/README.md#run-with-docker) diff --git a/config/constants.py b/config/constants.py index b662001..9e6e198 100644 --- a/config/constants.py +++ b/config/constants.py @@ -2,7 +2,7 @@ import sys name = "Discord Rich Presence for Plex" -version = "2.6.0" +version = "2.7.0" plexClientID = "discord-rich-presence-plex" discordClientID = "413407336082833418" diff --git a/core/plex.py b/core/plex.py index 7082c7e..795e7ae 100644 --- a/core/plex.py +++ b/core/plex.py @@ -238,7 +238,7 @@ def handleAlert(self, alert: models.plex.Alert) -> None: stateStrings.append(item.title) largeText = "Watching a TV show" thumb = item.grandparentThumb - elif mediaType == "livetv": + elif mediaType == "live_episode": title = shortTitle = item.grandparentTitle if item.title != item.grandparentTitle: stateStrings.append(item.title)