# Class e.p.d.m.DaapSongModel(DaapModel, TrackModel):

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

This is a representation for one Song in a Database or a Playlist.

Instance Variables | song_id | the id of this song in this database (only way to identify it directly) (type: `int` )
| kind | the kind of data it is (2 for music) (type: `int` )
| genre | the genre of this song (type: `str` )
| size | the size of the song (in bytes) (type: `int` )

Inherited from DaapModel:

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | __init__ | The DaapModel reads all the values in self.mappings and sets the values

Inherited from Bindable (via DaapModel, 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

Inherited from TrackModel:

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 TrackModel, 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