Class e.p.b.m.m.PlayableModel(Model):

Part of elisa.plugins.base.models.media View In Hierarchy

A playable model contains the real URI of a playable media, that is, typically, a URI directly usable by gstreamer to play streamed data.

It also potentially contains a title for the media. If the title is not set, any read access to that property will return the filename of the uri instance attribute.

Instance Variablesurithe real URI of the playable media (type: elisa.core.media_uri.MediaUri )
titlethe title of the playable media (type: unicode )
allow_pausewhether the player can pause the media playback or not (type: bool )
allow_seekwhether the player can seek inside the media playback or not (type: bool )
Line # Kind Name Docs
50 Method __init__ Constructor. Initialize all the fields.
60 Method __eq__ Compare two playable models.
75 Method title_set Undocumented
78 Method titlet_get 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
def __init__(self):
Constructor. Initialize all the fields.
def __eq__(self, other):
Compare two playable models.

Two playable models are considered equal if and only if their URIs are equal.

Parametersotheranother playable model (type: elisa.plugins.base.models.media.PlayableModel )
ReturnsTrue if the two models are equal, False otherwise (type: bool )
def title_set(self, title):
Undocumented
def titlet_get(self):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.