Class e.p.b.m.v.VideoModel(Model):

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

Known subclasses: elisa.plugins.coherence.models.UpnpVideoModel, elisa.plugins.youtube.models.YoutubeVideoModel

Representation of a video.
Instance Variablesplayable_urithe URI to query the resource provider with to get a playable model containing the real URI of the video file (type: elisa.core.media_uri.MediaUri )
Line # Kind Name Docs
39 Method __init__ Constructor. Initialize all the fields.
46 Method get_playable_model Return a deferred that will return an instance of
55 Method get_poster Return a deferred that will return the local path of the video poster

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 get_playable_model(self):
Return a deferred that will return an instance of elisa.plugins.base.models.media.PlayableModel for the video.
Returns (type: elisa.core.utils.defer.Deferred )
def get_poster(self):
Return a deferred that will return the local path of the video poster (if available)
Returns (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.