From 9a9c98d0a0e95d80fe27ddf02ecdc19cfdc96f95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Feb 2022 21:58:50 -0800 Subject: [PATCH] Bump plexapi from 4.9.1 to 4.9.2 (#1647) * Bump plexapi from 4.9.1 to 4.9.2 Bumps [plexapi](https://github.com/pkkid/python-plexapi) from 4.9.1 to 4.9.2. - [Release notes](https://github.com/pkkid/python-plexapi/releases) - [Commits](https://github.com/pkkid/python-plexapi/compare/4.9.1...4.9.2) --- updated-dependencies: - dependency-name: plexapi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update plexapi==4.9.2 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> --- lib/plexapi/audio.py | 2 +- lib/plexapi/const.py | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/plexapi/audio.py b/lib/plexapi/audio.py index 60b119d9..bef951d8 100644 --- a/lib/plexapi/audio.py +++ b/lib/plexapi/audio.py @@ -177,7 +177,7 @@ class Artist(Audio, AdvancedSettingsMixin, ArtMixin, PosterMixin, RatingMixin, S def albums(self, **kwargs): """ Returns a list of :class:`~plexapi.audio.Album` objects by the artist. """ - key = '/library/metadata/%s/children' % self.ratingKey + key = f"/library/sections/{self.librarySectionID}/all?artist.id={self.ratingKey}&type=9" return self.fetchItems(key, Album, **kwargs) def track(self, title=None, album=None, track=None): diff --git a/lib/plexapi/const.py b/lib/plexapi/const.py index dc8b5693..72ad282f 100644 --- a/lib/plexapi/const.py +++ b/lib/plexapi/const.py @@ -4,6 +4,6 @@ # Library version MAJOR_VERSION = 4 MINOR_VERSION = 9 -PATCH_VERSION = 1 +PATCH_VERSION = 2 __short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}" __version__ = f"{__short_version__}.{PATCH_VERSION}" diff --git a/requirements.txt b/requirements.txt index ed3dc9c5..9c3cc11a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ MarkupSafe==2.0.1 musicbrainzngs==0.7.1 packaging==21.3 paho-mqtt==1.6.1 -plexapi==4.9.1 +plexapi==4.9.2 portend==3.1.0 profilehooks==1.12.0 PyJWT==2.3.0