mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 11:33:25 +00:00
Add rename service and utility modules for file renaming operations
- Implemented RenameService for handling file renaming with features like name validation, proposed name generation, conflict detection, and atomic rename operations. - Created utility modules for language code extraction, regex pattern matching, and frame class matching to centralize common functionalities. - Added comprehensive logging for error handling and debugging across all new modules.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
"""Extractors package - provides metadata extraction from media files.
|
||||
|
||||
This package contains various extractor classes that extract metadata from
|
||||
different sources (filename, MediaInfo, file system, TMDB API, etc.).
|
||||
|
||||
All extractors should implement the DataExtractor protocol defined in base.py.
|
||||
"""
|
||||
|
||||
from .base import DataExtractor
|
||||
from .default_extractor import DefaultExtractor
|
||||
from .filename_extractor import FilenameExtractor
|
||||
from .fileinfo_extractor import FileInfoExtractor
|
||||
from .mediainfo_extractor import MediaInfoExtractor
|
||||
from .metadata_extractor import MetadataExtractor
|
||||
from .tmdb_extractor import TMDBExtractor
|
||||
|
||||
__all__ = [
|
||||
'DataExtractor',
|
||||
'DefaultExtractor',
|
||||
'FilenameExtractor',
|
||||
'FileInfoExtractor',
|
||||
'MediaInfoExtractor',
|
||||
'MetadataExtractor',
|
||||
'TMDBExtractor',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user