# Class e.p.p.p.PlayerController(ListController):

Part of elisa.plugins.player.player_controller View In Hierarchy

Instance Variables | playing | the user playing state (type: bool )
| state | current state of the player (type: `elisa.core.player.STATES` )
| volume | volume level; between 0 and 10 (type: float )
| muted | whether or not the player is muted (type: boolean )
| position | current position in the media (in nanoseconds); READ ONLY; -1 if unknown (type: int )
| duration | duration of the current media (in nanoseconds); READ ONLY; -1 if unknown (type: int )
| index | the currently selected file, that should get played (type: int )

Line # | Kind | Name | Docs
--- | --- | --- | ---
59 | Method | __init__ | Undocumented
65 | Method | initialize | Initialize the component.
138 | Method | state__set | Undocumented
143 | Method | state__get | Undocumented
146 | Method | handle_input | Undocumented
201 | Method | playing__set | Undocumented
212 | Method | position__get | Undocumented
215 | Method | position__set | Undocumented
218 | Method | duration__get | Undocumented
221 | Method | volume__set | Undocumented
229 | Method | volume__get | Undocumented
232 | Method | playing__get | Undocumented
235 | Method | current_index__set | Undocumented
253 | Method | model__set | Undocumented
263 | Method | current_model__get | Undocumented
266 | Method | current_index__get | Undocumented

Inherited from ListController:

Line # | Kind | Name | Docs
--- | --- | --- | ---
45 | Method | __repr__ | Undocumented
50 | Method | activate_item | Undocumented
100 | Method | next_item | Undocumented
112 | Method | previous_item | Undocumented
121 | Method | set_current_index | Undocumented
178 | Method | inserted | Undocumented
186 | Method | removed | Undocumented
194 | Method | modified | Undocumented
202 | Method | dirtied | Undocumented
210 | Method | element_attribute_set | Undocumented
218 | Method | model_changed | Undocumented

Inherited from Component (via ListController, Controller):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
142 | Method | clean | Clean the component.

def __init__(self):
overrides elisa.plugins.raval.list_controller.ListController.__init__
Undocumented
def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

This method is called by `Component.create` to finish the initialization of a component.

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

def state__set(self, value):
Undocumented
def state__get(self):
Undocumented
def handle_input(self, input_event):
overrides elisa.plugins.raval.list_controller.ListController.handle_input
Undocumented
def playing__set(self, value):
Undocumented
def position__get(self):
Undocumented
def position__set(self, value):
Undocumented
def duration__get(self):
Undocumented
def volume__set(self, value):
Undocumented
def volume__get(self):
Undocumented
def playing__get(self):
Undocumented
def current_index__set(self, value):
Undocumented
def model__set(self, model):
Undocumented
def current_model__get(self):
Undocumented
def current_index__get(self):
Undocumented