Class e.p.d.s.DBSearcher(Searcher):

Part of elisa.plugins.database.searcher View In Hierarchy

This is the Searcher for the database. It currently supports only music searches. Filters are ignored.
Line # Kind Name Docs
49 Method search Trigger a search for uri and fill the result_model with the
71 Method _search_artists Undocumented
77 Method _search_music_tracks Undocumented
85 Method _search_music_albums Undocumented
91 Method _fill_in_data Undocumented

Inherited from Searcher:

Line # Kind Name Docs
52 Method __init__ Undocumented
76 Method _query_provider Internal helper method: query for the resource provider definded by the

Inherited from Component (via Searcher):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
130 Method initialize Initialize the component.
142 Method clean Clean the component.
def search(self, uri, model):
Trigger a search for uri and fill the result_model with the results.
Parametersurithe original URI that was requested. See the corresponding documentation in SearchMetaresource.get for more informations about it. (type: elisa.core.media_uri.MediaUri )
result_modelcontaining the result for this search and should be filled asynchronously in background (type: one of elisa.plugins.search.result_models )
Returnsfired whenever the search is done (type: elisa.core.utils.cancellable_defer.CancellableDeferred )
def _search_artists(self, result, store, name):
Undocumented
def _search_music_tracks(self, result, store, title):
Undocumented
def _search_music_albums(self, result, store, album_name):
Undocumented
def _fill_in_data(self, resulting_list, reference_list, attr):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.