summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/metadata.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(hover): add track details preview on hover + fix all ruff violationsWarry2025-11-291-4/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement comprehensive track information display on hover and resolve all code quality issues to achieve complete ruff compliance. MAJOR FEATURES: - Track details preview on hover with rich metadata display - Async BPM fetching with loading indicator - Enhanced metadata utilities with fuzzy matching - TIDAL API extras integration FILES MODIFIED: 15+ files (core, UI, tests, docs) RUFF COMPLIANCE: 0 errors (89+ violations resolved) - Fixed E999 syntax error in metadata_utils.py - Refactored 10+ complex functions (C901) - Updated error handling (S110, S112, SIM105) - Modernized type hints (UP038) - Fixed naming conflicts (A001, F811) BUG FIXES: - Added missing _on_update_cover() method (11 test failures) - Fixed BPM display and async loading - Improved thread safety TESTING: 30 passed, 1 skipped DOCUMENTATION: Windows PowerShell support, tox troubleshooting
* feat(metadata): ✨ add support for explicit track metadataRobert Honz2025-10-171-0/+4
| | | | | | * Added `explicit` attribute to the `Metadata` class. * Updated the constructor to initialize `explicit` with a default value of `False`. * Modified the metadata saving process to include explicit rating in tags.
* feat(metadata): ✨ add support for synced and unsynced lyricsRobert Honz2025-10-171-2/+8
| | | | | | * Introduced `lyrics_synced` and `lyrics_unsynced` fields in the `Metadata` class. * Updated the `Download` class to handle both synced and unsynced lyrics from the track. * Enhanced metadata writing to include `UNSYNCEDLYRICS` in the tags.
* feat(metadata): ✨ add UPC metadata handling and configurationRobert Honz2025-10-171-3/+6
| | | | | | | * Introduced `MetadataTargetUPC` enum for target metadata tags. * Added `METADATA_LOOKUP_UPC` dictionary for mapping file formats to UPC tags. * Updated `Metadata` class to include `target_upc` for dynamic UPC tag assignment. * Enhanced `Settings` class to allow configuration of `metadata_target_upc`.
* feat(metadata): add UPC support for metadata taggingRobert Honz2025-08-121-0/+6
| | | | | | | | | | | This update introduces support for handling UPCs (Universal Product Codes) in metadata processing. It ensures that UPC information is extracted, stored, and written to the appropriate metadata tags for various formats. - ✨ **Feature**: Adds UPC field to metadata handling. - 🛠️ **Enhancement**: Updates metadata initialization to include UPC. - 🗂️ **Tagging**: Implements UPC writing for supported file formats. - ✅ **Compatibility**: Ensures proper handling when UPC is absent. This improvement enhances metadata completeness and compatibility with systems requiring UPC data.
* ✨ Empty metadata tags will be removed before written to file. Url tag for ↵Robert Honz2025-06-061-1/+7
| | | | mp4 corrected.
* 🛠️ Fixed composer in metadata. Needs to be empty string.Robert Honz2025-02-281-2/+2
|
* ✨ Replay gain information can be disabled in settings. Fixes #176Robert Honz2025-02-281-19/+28
| | | | 🛠️ Fixed some warnings
* ✨ Adding TIDAL share url to metadata. See #176Robert Honz2025-02-281-3/+11
|
* ✨ ReplayGain information added to metadata.Robert Honz2024-11-291-1/+25
|
* ✨ Added ID3 tags overview as comment.Robert Honz2024-11-171-0/+2
|
* Option added to embed and download album art.Robert Honz2024-11-111-33/+7
|
* Capitalized FLAC metadata tags.Robert Honz2024-11-101-13/+13
|
* ✨ FLAC can be extracted from MP4 containers (see options). Downgrade on ↵Robert Honz2024-04-211-1/+1
| | | | HI_RES download is possible (see options). Fixes #93 #86
* ✨ M4A containers have `ISRC` embedded as custom metatag.Robert Honz2024-04-201-0/+1
|
* ✨ Use `Album.image()` to get cover url.Robert Honz2024-03-251-1/+2
|
* 🛠 Album Artist ID3 tag only shows the main album artists. Fixes #51Robert Honz2024-03-191-4/+4
|
* ♻️ Removed unnecessary default values.Robert Honz2024-01-231-17/+17
|
* ✨ File extension stored in an enum. File exists check refactored to ↵Robert Honz2024-01-171-1/+0
| | | | explicit extension check.
* 🛠️ Deptry warnings fixed.Robert Honz2024-01-141-1/+2
|
* ♻️ Refactoring of MPD download. Metadata does not need an explicit ↵Robert Honz2024-01-141-24/+12
| | | | `media_type` flag anymore.
* ♻️ Some refactoring started within download.py.Robert Honz2024-01-131-2/+2
| | | | | ✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
* ♻️ Ruff refactoring.Robert Honz2024-01-121-3/+3
|
* 🛠️ Ruff errors refactored.Robert Honz2024-01-121-3/+3
|
* 🛠️ Ruff refactoring.Robert Honz2024-01-121-8/+10
|
* 🛠️ Implemented timeout for `requests calls.Robert Honz2024-01-121-1/+2
|
* ♻️ Refactored cover data method to `Metadata`.Robert Honz2024-01-101-11/+19
|
* 🌟 Re-add all project files.Robert Honz2023-12-191-0/+163