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

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

No class docstring
Line # Kind Name Docs
201 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.

Two fields are special: 'playable_model' and 'image_model'. Only one should be filled with a PlayableModel or ImageModel, depending on the type of item (audio/video or image).

Parameterstitle (type: str )
description (type: str )
thumbnails (type: list )
type (type: str )
playable_model (type: elisa.plugins.base.model.media.PlayableModel )
image_model (type: elisa.plugins.base.model.image.ImageModel )
Instance Variablestitletitle
descriptiondescription
thumbnailsthumbnails
typetype of the item (image, video, etc.) or mimetype
playable_modelplayable model if appropriate for the item
image_modelimage model if appropriate for the item
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.