Class e.p.a.c.CoverCache(MetadataProvider):

Part of elisa.plugins.album_art.covercache_metadata View In Hierarchy

This CoverCache Metadata Provider just looks if there is a cover in its cache which could fit to the used artist/album.
Instance Variableslist_of_extentionsa list of extentions our cover could have (type: list )
Line # Kind Name Docs
51 Method initialize we set some special things here
56 Method renew_cache Undocumented
86 Method get_rank Rank determining wether the parser should be prioritized.
90 Method able_to_handle Return wether this provider is able to fill in metadata, when it
103 Method get_metadata Retrieve the metadata for this metadata request and put it in

Inherited from Component (via MetadataProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
142 Method clean Clean the component.

Inherited from Loggable (via MetadataProvider, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented
def initialize(self):
we set some special things here
def renew_cache(self):
Undocumented
def get_rank(self):
Rank determining wether the parser should be prioritized.
Returnsthe rank as integer between 0 and 255 (type: integer )
Unknown Field: todoWe need a better System here so that the developers can decide which one to use
def able_to_handle(self, metadata):
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
Parametersmetadataa dictionary containing all known and requested metadata (type: dict )
Returns (type: bool )
def get_metadata(self, metadata, low_priority=False):
Retrieve the metadata for this metadata request and put it in there.
Parametersmetadataa dictionary containing all the known and requested metadata, which is also filled with the new data (type: dict )
Returns (type: twisted.internet.defer.Deferred )
Unknown Field: tododetermine all the keys returned for each content-type.
API Documentation for Elisa Media Center, generated by pydoctor at 2008-09-09 19:37:04.