diff --git a/dist/renamer-0.6.11-py3-none-any.whl b/dist/renamer-0.6.11-py3-none-any.whl new file mode 100644 index 0000000..753ec40 Binary files /dev/null and b/dist/renamer-0.6.11-py3-none-any.whl differ diff --git a/pyproject.toml b/pyproject.toml index d49d214..cded1ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "renamer" -version = "0.6.10" +version = "0.6.11" description = "Terminal-based media file renamer and metadata viewer" readme = "README.md" requires-python = ">=3.11" diff --git a/renamer/constants/source_constants.py b/renamer/constants/source_constants.py index dec13f2..9d89216 100644 --- a/renamer/constants/source_constants.py +++ b/renamer/constants/source_constants.py @@ -6,7 +6,7 @@ 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"], + "BDRemux": ["BDRemux", "BD-Remux", "BDREMUX", "REMUX"], "DVDRip": ["DVDRip", "DVD-Rip", "DVDRIP"], "HDTVRip": ["HDTVRip", "HDTV"], "BluRay": ["BluRay", "BLURAY", "Blu-ray"], diff --git a/renamer/test/datasets/filenames/filename_patterns.json b/renamer/test/datasets/filenames/filename_patterns.json index a5fbaa3..5844ac6 100644 --- a/renamer/test/datasets/filenames/filename_patterns.json +++ b/renamer/test/datasets/filenames/filename_patterns.json @@ -2,6 +2,24 @@ "description": "Comprehensive test dataset for filename metadata extraction", "version": "2.0", "test_cases": [ + { + "filename": "Dumbo.1941.BluRay.1080p.DD5.1.AVC.REMUX.mkv", + "expected": { + "order": null, + "title": "Dumbo", + "year": "1941", + "source": "BDRemux", + "frame_class": "1080p", + "hdr": null, + "movie_db": null, + "special_info": null, + "audio_langs": "", + "extension": "mkv" + }, + "testname": "edge-source-001", + "category": "edge_cases", + "description": "Source indicated as BDRemux" + }, { "filename": "Angelo.dans.la.forĂȘt.mystĂ©rieuse.2024.1080p.BluRay.DD.5.1.x265.mkv", "expected": { diff --git a/uv.lock b/uv.lock index 9fd7dc9..f588a2f 100644 --- a/uv.lock +++ b/uv.lock @@ -462,7 +462,7 @@ wheels = [ [[package]] name = "renamer" -version = "0.6.10" +version = "0.6.11" source = { editable = "." } dependencies = [ { name = "langcodes" },