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

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

Asynchronous working media scanner.

Instance Variables | store | the store for the data (type: `storm.twisted.storm.DeferredStore` )

Line # | Kind | Name | Docs
--- | --- | --- | ---
100 | Method | __init__ | Undocumented
126 | Method | initialize | Initialize the component.
152 | Method | clean | Clean the component.
239 | Method | create_schema | Undocumented
250 | Method | running_get | Undocumented
253 | Method | running_set | Undocumented
260 | Method | get | If the filename is `statistic` you receive the
270 | Method | put | put another uri into the queue and start the scanning process if it is

Inherited from ResourceProvider:

Line # | Kind | Name | Docs
--- | --- | --- | ---
94 | Method | post | Update the resource pointed by `uri` with `parameters`.
129 | 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):
overrides elisa.core.log.Loggable.__init__
Undocumented
def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

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

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

def clean(self):
overrides elisa.core.component.Component.clean

Clean the component.

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

Returns | a 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):
overrides elisa.core.components.resource_provider.ResourceProvider.get
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):
overrides elisa.core.components.resource_provider.ResourceProvider.put
put another uri into the queue and start the scanning process if it is not yet running