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.
1 parent 73f8607 commit 8e30301Copy full SHA for 8e30301
plexapi/audio.py
@@ -177,7 +177,7 @@ def album(self, title):
177
178
def albums(self, **kwargs):
179
""" Returns a list of :class:`~plexapi.audio.Album` objects by the artist. """
180
- key = '/library/metadata/%s/children' % self.ratingKey
+ key = f"/library/sections/{self.librarySectionID}/all?artist.id={self.ratingKey}&type=9"
181
return self.fetchItems(key, Album, **kwargs)
182
183
def track(self, title=None, album=None, track=None):
0 commit comments