We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Artist.album()
1 parent 372e620 commit 4938855Copy full SHA for 4938855
plexapi/audio.py
@@ -180,7 +180,7 @@ def album(self, title):
180
Parameters:
181
title (str): Title of the album to return.
182
"""
183
- key = '/library/metadata/%s/children' % self.ratingKey
+ key = f"/library/sections/{self.librarySectionID}/all?artist.id={self.ratingKey}&type=9"
184
return self.fetchItem(key, Album, title__iexact=title)
185
186
def albums(self, **kwargs):
0 commit comments