summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/constants.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: use lossless-capable TIDAL client for normal streamingHEADmastercashmere2026-07-031-3/+3
| | | | | | | | | | | | The default tidalapi OAuth client no longer has lossless/hi-res streaming entitlements, causing all downloads to fall back to AAC 320 kbps even when HI_RES_LOSSLESS is requested. - Replace broken Atmos/Fire TV client credentials with the working Android Atmos client (km8T1xS355y7dd3H) which supports lossless stereo as well as Dolby Atmos. - Use that client for the main session, not just Atmos tracks. - Refresh existing tokens on login so they are bound to the new client.
* chore: 🔧 update function names in FAVORITES for consistencyRobert Honz2025-11-121-3/+3
| | | | | * Changed `function_name` for `fav_tracks`, `fav_artists`, and `fav_albums` to use paginated versions. * Ensures uniformity in function naming across favorites.
* Move credentials to constants, improve docs (tidal_obj), and clean up Atmos ↵Rikrdoga2025-10-211-0/+11
| | | | legacy code
* feat(metadata): ✨ add explicit track metadata handlingRobert Honz2025-10-171-0/+1
| | | | | * Introduced `METADATA_EXPLICIT` constant for explicit track indication. * Updated `Download` class to append explicit metadata to track titles.
* feat(metadata): ✨ add UPC metadata handling and configurationRobert Honz2025-10-171-0/+13
| | | | | | | * 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`.
* refactor(constants): streamline enums and enhance type annotationsRobert Honz2025-08-131-25/+34
| | | | | | | | | | | This commit refactors the codebase to improve readability and maintainability by updating enums and type annotations: - ✨ **Replaced `StrEnum` attributes**: Removed explicit type declarations for enum values to simplify the code. - 🛠️ **Introduced `AudioExtensionsValid` enum**: Added a new enum for valid audio file extensions. - 🔄 **Enhanced type annotations**: Updated `FAVORITES` dictionary to include specific type hints for clarity. - 🧹 **Updated references**: Replaced outdated `AudioExtensions` usage with the new `AudioExtensionsValid`. These changes improve code clarity, enforce stricter typing, and enhance extensibility.
* feat: add support for original image dimension in album coversRobert Honz2025-08-121-0/+1
| | | | | | | | | | Adds functionality to handle original image dimensions (`origin`) for album cover downloads. - ✨ Added `PxORIGIN` option to cover dimension constants. - 🔄 Updated cover image URL logic to support original dimensions. - 🛠️ Improved cover data handling for more flexible metadata embedding. This enhances customization and fidelity in cover image management.
* 🛠️ Directory length limit is checked and adapted correctly now. Fixes ↵Robert Honz2025-06-301-0/+1
| | | | #447 & #436
* 🛠️ Fixed path length sanitation. Also refactored the path helper to use ↵Robert Honz2025-02-281-0/+1
| | | | `pathlib.Path` instead of str. Fixed #358
* ✨ Playlist can be created for downloaded albums, mixes, UserPlaylists etc. ↵Robert Honz2024-12-161-0/+2
| | | | Fixes #108
* ✨ Removed complex skipping options in favor of a faster duplicates check / ↵Robert Honz2024-11-131-7/+0
| | | | skipping of already present items without download delay.
* ✨ Track segments are downloaded simultaneously, which results in a huge ↵Robert Honz2024-11-121-0/+3
| | | | speed increase. Some refactoring work has been done.
* Option added to embed and download album art.Robert Honz2024-11-111-0/+1
|
* ✨ User favorites (hearted items) are now selectable from the left pane's ↵Robert Honz2024-05-241-0/+9
| | | | list. Fixes #99
* ✨ Can search for artists using an artist link.Robert Honz2024-05-211-0/+1
|
* 👷 Legacy code cleanup due to `tidalapi` update.Robert Honz2024-04-201-12/+12
|
* 👷 Migrated media constants to `tidalpi`.Robert Honz2024-04-201-16/+0
|
* ✨ Download list will indicate, if a file was skipped.Robert Honz2024-04-201-0/+1
|
* 👷 Cleanup of `. value` usage for Enum access.Robert Honz2024-04-021-4/+4
|
* 👷 Converted all Enums to StrEnumRobert Honz2024-04-021-10/+10
|
* ✨ Can remove all queue items and finished queue items.Robert Honz2024-04-011-7/+14
|
* ✨ Use `Album.image()` to get cover url.Robert Honz2024-03-251-3/+5
|
* ✨ Added append as a new option for skip existing. 🛠️ Fixed skip ↵Robert Honz2024-03-191-2/+5
| | | | existing ignore extension.
* ✨ Lyrics are downloaded to separate *.lrc file. Implements #19Robert Honz2024-02-011-0/+1
|
* ✨ File extension stored in an enum. File exists check refactored to ↵Robert Honz2024-01-171-1/+1
| | | | explicit extension check.
* ✨ File extension stored in an enum. File exists check refactored to ↵Robert Honz2024-01-171-3/+13
| | | | explicit extension check.
* ♻️ Capitalized enum names..Robert Honz2024-01-161-5/+5
|
* ♻️ Removed unnecessary threading and refactored values to constants.Robert Honz2024-01-161-18/+24
|
* ♻️ Refactoring of MPD download. Metadata does not need an explicit ↵Robert Honz2024-01-141-1/+7
| | | | `media_type` flag anymore.
* ♻️ Refactoring of download.py ongoing.Robert Honz2024-01-131-0/+6
|
* ♻️ Some refactoring started within download.py.Robert Honz2024-01-131-0/+6
| | | | | ✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
* 🛠️ Implemented timeout for `requests calls.Robert Honz2024-01-121-0/+1
|
* 🌟 Re-add all project files.Robert Honz2023-12-191-0/+18