class WaveformFileCrawler[source]

Bases: builtins.object

A waveform file crawler.

This class scans periodically all given paths for waveform files and collects them into a watch list.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Public Methods

getFeatures DEPRECATED: ‘getFeatures’ has been renamed to
getPatterns DEPRECATED: ‘getPatterns’ has been renamed to
hasPattern DEPRECATED: ‘hasPattern’ has been renamed to
has_pattern Checks if the file name fits to the preferred file pattern.
iterate Handles exactly one directory.

Private Methods


Private methods are mainly for internal/developer use and their API might change without notice.

_delete Remove a file or all files with a given path from the database.
_reset_walker Resets the crawler parameters.
_select Fetch entry from database.
_step_walker Steps current walker object to the next directory.
_update_or_insert Add a new file into or modifies existing file in database.

Special Methods

__dir__ default dir() implementation
__format__ default object formatter
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().