Part of elisa.plugins.base.models.audio View In Hierarchy
Known subclasses: elisa.plugins.coherence.models.UpnpAlbumModel, elisa.plugins.daap.models.DaapAlbumModel
An audio album model may contain metadata associated to an audio album, such as the name of the artist, name of the album, list of the tracks, etc...
Instance Variables | artist | the name of the artist
(type: unicode
) |
album | the name of the audio album
(type: unicode
) | |
musicbrainz_id | a unique id to request more information from musicbrainz.org
(type: unicode
) | |
cover | the cover art for the album
(type: elisa.plugins.base.models.image.ImageModel
) | |
tracks | the list of tracks on the album
(type: list of elisa.plugins.base.models.audio.TrackModel
) |
Line # | Kind | Name | Docs |
---|---|---|---|
52 | Method | __init__ | Constructor. Initialize all the fields. |
63 | Method | get_tracks | Return a deferred that will return a list of TrackModel instances |
72 | Method | get_artist_name | Return a deferred with the artist name as result. |
Inherited from Bindable (via Model):
Line # | Kind | Name | Docs |
---|---|---|---|
34 | Method | bind | Bind a local attribute to
destination_attribute of |
73 | Method | unbind | Remove the binding of attribute to
destination_attribute of |
104 | Method | unbind_object | Remove all the bindings you have for a certain
destination_object . |
118 | Method | __setattr__ | Undocumented |
136 | Method | __delattr__ | Undocumented |