added labels support for audio album

This commit is contained in:
daeks 2018-03-01 20:39:33 +01:00
parent a51d0225d1
commit fa7b53cbe5

View file

@ -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.