Version bump and bugfix

This commit is contained in:
Phin 2024-02-13 14:33:47 +05:30
parent f0a32011c5
commit 5461ad20ed
3 changed files with 11 additions and 2 deletions

9
.github/release-notes/v2.7.0.md vendored Normal file
View file

@ -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)

View file

@ -2,7 +2,7 @@ import os
import sys
name = "Discord Rich Presence for Plex"
version = "2.6.0"
version = "2.7.0"
plexClientID = "discord-rich-presence-plex"
discordClientID = "413407336082833418"

View file

@ -238,7 +238,7 @@ class PlexAlertListener(threading.Thread):
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)