mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
added labels support for audio album
This commit is contained in:
parent
a51d0225d1
commit
fa7b53cbe5
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ class Album(Audio):
|
|||
self.year = utils.cast(int, data.attrib.get('year'))
|
||||
self.genres = self.findItems(data, media.Genre)
|
||||
self.collections = self.findItems(data, media.Collection)
|
||||
self.labels = self.findItems(data, media.Label)
|
||||
|
||||
def track(self, title):
|
||||
""" Returns the :class:`~plexapi.audio.Track` that matches the specified title.
|
||||
|
|
Loading…
Add table
Reference in a new issue