Commit Graph

54 Commits

Author SHA1 Message Date
sHa
eedc32bf31 feat: Update version to 0.4.7 and add new extraction methods for anamorphic, extension, and 3D layout 2025-12-28 17:06:29 +00:00
sHa
75339ee7f7 Refactor code structure for improved readability and maintainability 2025-12-28 16:29:49 +00:00
sHa
665991f1bd fix: Correct special info formatting in ProposedNameFormatter 2025-12-28 16:29:10 +00:00
sHa
fedcf15ad8 feat: Add mk3d media type to MEDIA_TYPES for Matroska 3D support 2025-12-28 15:42:22 +00:00
sHa
dafccf19cc Refactor code structure for improved readability and maintainability 2025-12-28 14:08:04 +00:00
sHa
ad78abe30b feat: Enhance FilenameExtractor to support various filename formats and add comprehensive test cases 2025-12-28 14:07:06 +00:00
sHa
2237f8515c feat: Bump version to 0.4.4, add logging for file renaming operations, and update test filenames 2025-12-28 10:09:26 +00:00
sHa
c2a037d5b9 feat: Bump version to 0.4.3, add TMDB as a title source, and update lock files 2025-12-28 09:11:52 +00:00
sHa
e676b13c0a chore: Remove old wheel files for versions 0.2.10, 0.2.11, 0.2.12, 0.3.1, and 0.3.2 2025-12-28 09:10:02 +00:00
sHa
c2772f9946 feat: Bump version to 0.4.2, update TMDBExtractor to include original language in title, and adjust media formatter value formatters 2025-12-28 09:09:23 +00:00
sHa
9a78dc2540 Add TMDBExtractor class for movie information extraction
- Implement TMDBExtractor to fetch movie details from The Movie Database (TMDB) API.
- Include caching mechanism for API responses to reduce redundant requests.
- Extract movie database ID from filenames using regex patterns.
- Add methods to extract TMDB ID, title, original title, release year, and TMDB URL.
- Create secrets.py to store TMDB API key and access token.
- Add a sample MKV file for testing purposes.
2025-12-28 09:02:42 +00:00
sHa
97bacf602c feat: Bump version to 0.3.3, update special editions structure, and enhance filename extraction logic 2025-12-28 07:33:37 +00:00
sHa
3b7ab1d54e feat: Bump version to 0.3.2 and update related files 2025-12-28 07:21:48 +00:00
sHa
fe4c0a4a58 feat: Bump version to 0.3.1, update filename extraction logic, and enhance rename confirmation screen 2025-12-28 07:14:39 +00:00
sHa
229478ce64 feat: Enhance frame class extraction logic to include width matching and update test assertions 2025-12-27 05:49:56 +00:00
sHa
8ceea5bce3 feat: Remove outdated wheel files for versions 0.2.5 to 0.2.9 2025-12-27 05:32:45 +00:00
sHa
de56de7dd0 feat: Increase height threshold for frame class extraction and add test file 2025-12-27 05:32:15 +00:00
sHa
e87769f44b feat: Bump version to 0.2.11, update media info extraction logic and add test file 2025-12-27 04:11:17 +00:00
sHa
b2144a1014 feat: Bump version to 0.2.10, update constants and enhance source dictionary 2025-12-27 04:05:04 +00:00
sHa
9877be17a3 feat: Bump version to 0.2.9, enhance frame class extraction and add build script 2025-12-27 04:02:32 +00:00
sHa
a2d5fa8dde feat: Bump version to 0.2.8, escape filenames in rename confirmation screen 2025-12-27 03:36:08 +00:00
sHa
e9153d2225 feat: Bump version to 0.2.7, enhance frame class extraction logic for better matching 2025-12-27 03:24:40 +00:00
sHa
140b88c0a8 feat: Bump version to 0.2.6, update release process, and modify dependency sync command 2025-12-27 03:16:57 +00:00
sHa
c0ce9c8848 feat: Add developer guide, enhance versioning and release process, and refactor extractor imports 2025-12-27 03:14:11 +00:00
sHa
649ea7fbb3 feat: Add database info formatting to proposed filename generation 2025-12-27 02:58:30 +00:00
sHa
f2060b4a92 feat: Bump version to 0.2.5, enhance logging, normalize Cyrillic characters, and improve database info formatting 2025-12-27 02:55:34 +00:00
sHa
95cbaee7fa feat: Update version to 0.2.4, enhance logging capabilities, and improve special info formatting 2025-12-27 01:31:21 +00:00
sHa
44a6a978b8 feat: Bump version to 0.2.3, add VHSRecord to SOURCE_DICT, and include new wheel file 2025-12-27 00:25:59 +00:00
sHa
39841b2c0b feat: Refactor main.py into renamer directory and update script entry point in pyproject.toml 2025-12-26 23:49:36 +00:00
sHa
d5e3661860 feat: Update version to 0.2.2, enhance installation guide, and improve help screen with dynamic versioning 2025-12-26 23:46:46 +00:00
sHa
cec8bd9e96 feat: Update .gitignore to exclude distribution files and add new .whl file 2025-12-26 23:35:10 +00:00
sHa
3d13b8ba19 feat: Update AI_AGENT.md with enhanced code structure details and new component descriptions 2025-12-26 23:16:32 +00:00
sHa
1453b753d0 feat: Update documentation and project files to reflect enhanced renaming functionality and new features 2025-12-26 23:14:56 +00:00
sHa
a6507dec31 feat: Enhance renamer app with help screen, rename confirmation, and special info formatting 2025-12-26 23:11:16 +00:00
sHa
691d1e7b2d feat: Add extraction and formatting for special edition information in filenames 2025-12-26 20:56:22 +00:00
sHa
b21308c7b8 feat: Add order extraction from filename and integrate into proposed name formatting 2025-12-26 20:42:52 +00:00
sHa
2dce807984 feat: Introduce DefaultExtractor for fallback values and refactor extraction logic in MediaExtractor 2025-12-26 19:10:49 +00:00
sHa
aec31bae9e feat: Add audio languages and tracks extraction from filename, with corresponding tests 2025-12-26 15:37:57 +00:00
sHa
c5ab985440 feat: Add movie database identifier extraction and update related tests 2025-12-26 14:34:58 +00:00
sHa
38e3f0e553 feat: Improve title extraction logic and add comprehensive test cases for edge cases 2025-12-26 14:06:40 +00:00
sHa
3ecffc0d3c feat: Add HDR extraction from filename and update tests 2025-12-26 13:51:12 +00:00
sHa
91df347727 feat: Enhance metadata extraction and formatting, improve extractor architecture, and update documentation 2025-12-26 13:38:17 +00:00
sHa
8f68624529 feat: Increase audio and subtitle track extraction limits to 10 2025-12-26 12:07:33 +00:00
sHa
6d377c9871 feat: Add duration extraction and formatting utilities 2025-12-26 12:02:36 +00:00
sHa
1d6eb9593e feat: Refactor formatting and extraction logic
- Added `langcodes` dependency for improved language handling.
- Replaced `ColorFormatter` with `TextFormatter` for consistent text styling across the application.
- Introduced `TrackFormatter` for better track information formatting.
- Updated `MediaFormatter` to utilize new formatting methods and improved data handling.
- Refactored `MediaExtractor` to enhance data extraction logic and improve readability.
- Removed deprecated `ColorFormatter` methods and replaced them with `TextFormatter` equivalents.
- Added new methods for extracting and formatting audio and subtitle tracks.
- Updated tests to reflect changes in the extraction logic and formatting.
2025-12-26 11:33:24 +00:00
sHa
d2ec235458 Refactor extractors and formatters for improved structure and functionality
- Converted static methods to instance methods in FileInfoExtractor and FilenameExtractor for better encapsulation.
- Enhanced MediaInfoExtractor to initialize with file path and extract media information upon instantiation.
- Updated MetadataExtractor to handle metadata extraction with improved error handling and added methods for meta type detection.
- Introduced ColorFormatter for consistent text formatting across the application.
- Refactored MediaFormatter to utilize the new extractor structure and improve output formatting.
- Removed redundant utility functions and replaced them with direct calls in extractors.
- Added ProposedNameFormatter for better handling of proposed filename formatting.
- Updated extension handling to use MEDIA_TYPES for descriptions instead of VIDEO_EXT_DESCRIPTIONS.
2025-12-25 23:35:59 +00:00
sHa
37efdf60d3 feat: add frame class extraction and formatting for media files 2025-12-25 05:13:56 +00:00
sHa
4e7cf94d58 feat: add pytest configuration and implement tests for file and metadata extraction 2025-12-25 03:42:47 +00:00
sHa
305dd5f43e feat: restructure renamer package and implement media extraction features
- Updated `pyproject.toml` to reflect new package structure.
- Created `renamer/__init__.py` to initialize the package.
- Implemented `RenamerApp` in `renamer/app.py` for the main application interface.
- Added constants for video extensions in `renamer/constants.py`.
- Developed `MediaExtractor` class in `renamer/extractor.py` for extracting metadata from media files.
- Created various extractor classes in `renamer/extractors/` for handling filename, metadata, and media info extraction.
- Added formatting classes in `renamer/formatters/` for displaying media information and proposed filenames.
- Implemented utility functions in `renamer/utils.py` for detecting file types and extracting media track information.
- Introduced `OpenScreen` in `renamer/screens.py` for user input of directory paths.
- Enhanced error handling and user feedback throughout the application.
2025-12-25 03:10:40 +00:00
sHa
9e331e58ce Add AI agent instructions and update project TODO list with detailed steps 2025-12-25 01:43:07 +00:00