Class e.p.d.m.MediaScanner(ResourceProvider):

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

Asynchronous working media scanner.
Instance Variablesstorethe store for the data (type: storm.twisted.storm.DeferredStore )
Line # Kind Name Docs
72 Method __init__ Undocumented
101 Method initialize Initialize the component.
156 Method clean Clean the component.
166 Method create_schema Undocumented
170 Method running_get Undocumented
173 Method running_set Undocumented
182 Method get If the filename is statistic you receive the
192 Method put put another uri into the queue and start the scanning process if it is
85 Method _scan_directories Undocumented
129 Method _initialize_dbus Undocumented
141 Method _clean_dbus Undocumented
223 Method _update_stat Undocumented
230 Method _count_files Undocumented
258 Method _file_found Undocumented
263 Method _cleanup_deleted_files Undocumented
266 Method _scan Undocumented
303 Method _rescan Undocumented
309 Method _reset_auto_rescan Undocumented
318 Method _reschedule_scanned Undocumented
333 Method _scan_recursive Undocumented

Inherited from ResourceProvider:

Line # Kind Name Docs
103 Method post Update the resource pointed by uri with parameters.
138 Method delete Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.
def __init__(self):
Undocumented
def _scan_directories(self):
Undocumented
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def _initialize_dbus(self, result=None):
Undocumented
def _clean_dbus(self):
Undocumented
def clean(self):
Clean the component.

This method is called when a component is not needed anymore to clean its state.

Returnsa deferred called when the component has finished cleaning its state (type: twisted.internet.defer.Deferred )
def create_schema(self):
Undocumented
def running_get(self):
Undocumented
def running_set(self, value):
Undocumented
def get(self, uri, context_model=None):
If the filename is statistic you receive the elisa.plugins.database.scanner_models.Statistic for this scanner
def put(self, source_uri, container_uri, context_model=None, section=None):
put another uri into the queue and start the scanning process if it is not yet running
Parameterssection (type: str )
Instance Variablessectionthe name of the section relevant to the content that is put.
def _update_stat(self, result, model, stat):
Undocumented
def _count_files(self, path):
Undocumented
def _file_found(self, model, stat):
Undocumented
def _cleanup_deleted_files(self, result, scan_resource):
Undocumented
def _scan(self, result=None):
Undocumented
def _rescan(self):
Undocumented
def _reset_auto_rescan(self, restart=False):
Undocumented
def _reschedule_scanned(self):
Undocumented
def _scan_recursive(self, scan_resource):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.