Class e.p.r.m.RssItemModel(Model):

Part of elisa.plugins.rss.models View In Hierarchy

No class docstring
Line # Kind Name Docs
233 Method __init__ RSS item model, basic fields.

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):
RSS item model, basic fields.

When subclassing RssFeedModel and implementing fill_item_hook(), you should just add slots to the RssItemModel objects, without bothering subclassing this model too.

Three fields are special: 'video_model', 'track_model' and 'image_model'. Only one should be filled with a VideoModel, TrackModel or ImageModel, depending on thetype of item (audio, video or image).

Parameterstitle (type: str )
description (type: str )
thumbnails (type: list )
type (type: str )
image_model (type: elisa.plugins.base.model.image.ImageModel )
video_model (type: elisa.plugins.rss.models.RssVideoItem )
track_model (type: elisa.plugins.rss.models.RssTrackItem )
Instance Variablestitletitle
descriptiondescription
thumbnailsthumbnails
typetype of the item (image, video, etc.) or mimetype
image_modelimage model if appropriate for the item
video_modelvideo model if appropriate for the item
track_modeltrack model if appropriate for the item
API Documentation for Elisa Media Center, generated by pydoctor at 2009-03-09 17:49:57.