mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 19:43:28 +00:00
- Introduced tests for various formatter classes including TextFormatter, DurationFormatter, SizeFormatter, DateFormatter, and more to ensure correct formatting behavior. - Added tests for service classes such as FileTreeService, MetadataService, and RenameService, covering directory validation, metadata extraction, and file renaming functionalities. - Implemented utility tests for LanguageCodeExtractor, PatternExtractor, and FrameClassMatcher to validate their extraction and matching capabilities. - Updated test cases to use datasets for better maintainability and clarity. - Enhanced error handling tests to ensure robustness against missing or invalid data.
24 lines
635 B
Python
24 lines
635 B
Python
"""Video source type constants.
|
|
|
|
This module defines video source types (WEB-DL, BDRip, etc.) and their aliases.
|
|
"""
|
|
|
|
SOURCE_DICT = {
|
|
"WEB-DL": ["WEB-DL", "WEBRip", "WEB-Rip", "WEB", "WEB-DLRip"],
|
|
"BDRip": ["BDRip", "BD-Rip", "BDRIP"],
|
|
"BDRemux": ["BDRemux", "BD-Remux", "BDREMUX"],
|
|
"DVDRip": ["DVDRip", "DVD-Rip", "DVDRIP"],
|
|
"HDTVRip": ["HDTVRip", "HDTV"],
|
|
"BluRay": ["BluRay", "BLURAY", "Blu-ray"],
|
|
"SATRip": ["SATRip", "SAT-Rip", "SATRIP"],
|
|
"VHSRecord": [
|
|
"VHSRecord",
|
|
"VHS Record",
|
|
"VHS-Rip",
|
|
"VHSRip",
|
|
"VHS",
|
|
"VHS Tape",
|
|
"VHS-Tape",
|
|
],
|
|
}
|