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

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

Known subclasses: elisa.plugins.coherence.models.UpnpTrackModel, elisa.plugins.daap.models.DaapSongModel, elisa.plugins.ipod.models.IpodSongModel, elisa.plugins.ipod.models.IpodTrackModel, elisa.plugins.poblesec.tests.test_dbus_player.TestTrackModel

Representation of an audio track on an album.
Instance Variablestitlethe title of the track (type: unicode )
artistthe name of the artist of the track (type: unicode )
durationthe duration of the track (in seconds) (type: int )
track_numberthe number of the track on the album (type: int )
playable_urithe URI to query the resource provider with to get a playable model containing the real URI of the audio file (type: elisa.core.media_uri.MediaUri )
albumalbum containing the track (type: elisa.plugins.base.models.audio.AlbumModel )
Line # Kind Name Docs
100 Method __init__ Undocumented
109 Method get_album Return a deferred that will return the album containing the track as an
118 Method get_artists Return a deferred that will return the list of artist names for the
127 Method get_playable_model Return a deferred that will return an instance of

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):
Undocumented
def get_album(self):
Return a deferred that will return the album containing the track as an instance of elisa.plugins.base.models.audio.AlbumModel.
Returns (type: elisa.core.utils.defer.Deferred )
def get_artists(self):
Return a deferred that will return the list of artist names for the track as unicode instances.
Returns (type: elisa.core.utils.defer.Deferred )
def get_playable_model(self):
Return a deferred that will return an instance of elisa.plugins.base.models.media.PlayableModel for the track.
Returns (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.