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

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

Known subclasses: elisa.plugins.yesfm.models.PlayableModel

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.

Instance Variables | uri | the real URI of the playable media (type: `elisa.core.media_uri.MediaUri` )
| title | the title of the playable media (type: `unicode` )

Line # | Kind | Name | Docs
--- | --- | --- | ---
39 | Method | __init__ | Constructor. Initialize all the fields.
47 | Method | __eq__ | Compare two playable models.

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):
overrides elisa.core.utils.bindable.Bindable.__init__
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.

Parameters | other | another playable model (type: `elisa.plugins.base.models.media.PlayableModel` )
Returns | `True` if the two models are equal, `False` otherwise (type: `bool` )