# Class e.p.d.m.MusicTrack(object):

Part of elisa.plugins.database.models View In Hierarchy

Represents one music track

Line # | Kind | Name | Docs
--- | --- | --- | ---
127 | Method | get_album | Return a deferred that will return the album containing the track as an
136 | Method | get_artists | Return a deferred that will return the list of artist names for the
155 | Method | get_playable_model | Return a deferred that will return an instance of

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` )