mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-21 17:13:04 +00:00
Upgraded dependencies to latest versions
This commit is contained in:
parent
aa6088ad23
commit
e819adb12f
3 changed files with 11 additions and 11 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
mv * ${{ github.event.repository.name }} || true
|
||||
zip -r $RELEASE_ZIP_FILENAME ${{ github.event.repository.name }}
|
||||
- name: Release on GitHub
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
|
||||
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
|
||||
with:
|
||||
files: ${{ env.RELEASE_ZIP_FILENAME }}
|
||||
body_path: ../release-notes/${{ github.ref_name }}.md
|
||||
|
@ -37,15 +37,15 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Sign into GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build and push Docker images
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
|
||||
|
|
|
@ -5,8 +5,8 @@ from .discord import DiscordIpcService
|
|||
from .imgur import uploadToImgur
|
||||
from config.constants import name, plexClientID
|
||||
from plexapi.alert import AlertListener
|
||||
from plexapi.base import Playable, PlexPartialObject
|
||||
from plexapi.media import Genre, GuidTag
|
||||
from plexapi.base import PlexSession, PlexPartialObject
|
||||
from plexapi.media import Genre, Guid
|
||||
from plexapi.myplex import MyPlexAccount, PlexServer
|
||||
from typing import Optional
|
||||
from utils.cache import getCacheKey, setCacheKey
|
||||
|
@ -171,7 +171,7 @@ class PlexAlertListener(threading.Thread):
|
|||
return
|
||||
if self.isServerOwner:
|
||||
self.logger.debug("Searching sessions for session key %s", sessionKey)
|
||||
sessions: list[Playable] = self.server.sessions()
|
||||
sessions: list[PlexSession] = self.server.sessions()
|
||||
if len(sessions) < 1:
|
||||
self.logger.debug("Empty session list, ignoring")
|
||||
return
|
||||
|
@ -242,7 +242,7 @@ class PlexAlertListener(threading.Thread):
|
|||
},
|
||||
}
|
||||
if config["display"]["buttons"]:
|
||||
guidTags: list[GuidTag] = []
|
||||
guidTags: list[Guid] = []
|
||||
if mediaType == "movie":
|
||||
guidTags = item.guids
|
||||
elif mediaType == "episode":
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PlexAPI==4.10.1
|
||||
PlexAPI==4.15.9
|
||||
requests==2.31.0
|
||||
websocket-client==1.3.2
|
||||
websocket-client==1.7.0
|
||||
PyYAML==6.0.1
|
||||
Pillow==10.1.0
|
||||
Pillow==10.2.0
|
||||
|
|
Loading…
Reference in a new issue