Refactor code structure for improved readability and maintainability
This commit is contained in:
BIN
dist/renamer-0.6.11-py3-none-any.whl
vendored
Normal file
BIN
dist/renamer-0.6.11-py3-none-any.whl
vendored
Normal file
Binary file not shown.
@@ -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"
|
||||
|
||||
@@ -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"],
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user