Part of elisa.plugins.base.models.media View In Hierarchy
elisa.plugins.base.models.audio.TrackModel
and elisa.plugins.base.models.video.VideoModel.| Instance Variables | allow_previous | if it is possible to set as current the previous track in the playlist
relatively to the current one by calling the method 'previous_track'
(type: bool
) |
| allow_next | if it is possible to set as current the next track in the playlist
relatively to the current one by calling the method 'next_track'
(type: bool
) | |
| allow_jump | if it is possible to set as current any track knowing its index in the
playlist by calling the method 'set_current_index'
(type: bool
) | |
| current_track | playable model corresponding to the current track in the playlist; it
differs from the model stored in the playlist because it is not the model
itself but only the shell containing the necessary playback information
(type: elisa.plugins.base.models.media.PlayableModel
) | |
| current_index | index in the playlist of the current model being played
(type: int
) |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 99 | Method | __init__ | Constructor. Initialize all the fields. |
| 110 | Method | previous_track | Decrement current_index of the playlist and return the |
| 123 | Method | next_track | Increment current_index of the playlist and return the |
| 136 | Method | set_current_index | Set current_index of the playlist and return the |
| 153 | Method | _retrieve_playable_model_at | Undocumented |
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 |
Inherited from List:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 56 | Method | __setitem__ | Undocumented |
| 64 | Method | __delitem__ | Undocumented |
| 73 | Method | append | Undocumented |
| 79 | Method | extend | Undocumented |
| 86 | Method | insert | Undocumented |
| 93 | Method | pop | Undocumented |
| 103 | Method | remove | Undocumented |
| 109 | Method | reverse | Undocumented |
| 114 | Method | sort | Undocumented |
| 119 | Method | __iadd__ | Undocumented |
| 127 | Method | __imul__ | Undocumented |
| 135 | Method | __setslice__ | Undocumented |
| 146 | Method | __delslice__ | Undocumented |
current_index of the playlist and return the
PlayableModel located at the new position in the playlist.| Returns | (type: twisted.internet.defer.Deferred
) | |
current_index of the playlist and return the
PlayableModel located at the new position in the playlist.| Returns | (type: twisted.internet.defer.Deferred
) | |