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
Instance Variables | title | the title of the track
(type: unicode
) |
artist | the name of the artist of the track
(type: unicode
) | |
duration | the duration of the track (in seconds)
(type: int
) | |
track_number | the number of the track on the album
(type: int
) | |
playable_uri | the 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
) | |
album | album 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 |
elisa.plugins.base.models.audio.AlbumModel
.Returns | (type: elisa.core.utils.defer.Deferred
) |
unicode
instances.Returns | (type: elisa.core.utils.defer.Deferred
) |
elisa.plugins.base.models.media.PlayableModel
for the track.Returns | (type: elisa.core.utils.defer.Deferred
) |