Class e.p.b.m.a.AlbumModel(Model):

Part of elisa.plugins.base.models.audio View In Hierarchy

Known subclasses: elisa.plugins.coherence.models.UpnpAlbumModel, elisa.plugins.daap.models.DaapAlbumModel

Representation of an audio album.

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 Variablesartistthe name of the artist (type: unicode )
albumthe name of the audio album (type: unicode )
musicbrainz_ida unique id to request more information from musicbrainz.org (type: unicode )
coverthe cover art for the album (type: elisa.plugins.base.models.image.ImageModel )
tracksthe 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
def __init__(self):
Constructor. Initialize all the fields.
def get_tracks(self):
Return a deferred that will return a list of TrackModel instances representing the tracks of the album.
Returns (type: elisa.core.utils.defer.Deferred )
def get_artist_name(self):
Return a deferred with the artist name as result.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.