summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/config.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: use lossless-capable TIDAL client for normal streamingHEADmastercashmere2026-07-031-2/+14
| | | | | | | | | | | | 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.
* Added clarity and grammar fixes to documentation and to some strings on the ↵E.J. Talevi2025-11-251-1/+0
| | | | program itself.
* Create TrackStreamInfo dataclass & Add proper docstringsRikrdoga2025-11-121-2/+11
|
* Resolve Race Condition and Optimize Session Switching for Atmos DownloadsRikrdoga2025-11-041-23/+58
|
* refactor(gui): ✨ update album download options and improve session validationRobert Honz2025-10-221-8/+0
| | | | | | * Added a new action to download all albums in a playlist. * Removed the deprecated `validate_session` method and replaced it with a direct call to `self.tidal.session.check_login()`. * Adjusted the UI layout in `dialog_settings` to accommodate new options and improved sizing.
* Merge pull request #596 from Winman486/fix/rate-limiting-playlist-downloadsexislow2025-10-221-0/+20
|\ | | | | Fix/rate limiting playlist downloads
| * refactor: Make rate limiting configurable and move session validation to ↵Winman4862025-10-211-0/+20
| | | | | | | | | | | | | | | | | | | | | | Tidal class - Add api_rate_limit_batch_size and api_rate_limit_delay_sec to Settings (cfg.py) - Move validate_session() and is_authentication_error() to Tidal class (config.py) - Update _load_albums_with_rate_limiting() to use config values instead of hardcoded 20/3 - Update _handle_album_load_error() to use Tidal.is_authentication_error() - Remove _validate_session() from gui.py (now uses Tidal.validate_session()) - Addresses maintainer feedback: configurable tweaking variables and proper separation of concerns
* | Move credentials to constants, improve docs (tidal_obj), and clean up Atmos ↵Rikrdoga2025-10-211-12/+8
| | | | | | | | legacy code
* | Apply formatter and fix TRY003Rikrdoga2025-10-201-4/+3
| |
* | Refactor Dolby Atmos ImplementationRikrdoga2025-10-201-29/+37
| |
* | Refactor Dolby Atmos feature to be internal and seamlessRikrdoga2025-10-201-6/+35
| |
* | Add support for Dolby AtmosRikrdoga2025-10-201-2/+4
|/
* fix(Tidal): 🐛 handle all exceptions during token loginRobert Honz2025-10-171-2/+1
| | | | | * Updated exception handling in the `login` method to catch all exceptions instead of just `HTTPError` and `JSONDecodeError`. * This change ensures that any unexpected errors during the login process are handled gracefully, improving the robustness of the application.
* ✨ Downloads can be now paused / resumed. Fixes #149 & 324Robert Honz2025-03-031-0/+9
| | | | 👷 Shutdown is handled more gracefully.
* ✨ Backend and GUI changed to device login. Login dialog needs to be ↵Robert Honz2024-11-121-3/+3
| | | | threaded / non blocking.
* ✨ Save JSON configs as pretty formatted files. Adresses #132Robert Honz2024-11-111-1/+4
|
* If login fails `token.json` will be removed, so the user can have a fresh ↵Robert Honz2024-11-101-1/+9
| | | | start. Fixes #197
* Fix: No login on `Tidal().__init__`. Avoids double login on app start.Robert Honz2024-11-091-1/+0
|
* PKCE login is no longer required for HI_RES_LOSSLESS. Fixes #153Robert Honz2024-11-091-6/+1
|
* 🛠️ PKCE flag was not set on first login. Fixes #113Robert Honz2024-05-241-1/+2
|
* 👷 Handle bool values in a better way for settings via cli. Fixes #111Robert Honz2024-05-221-2/+4
|
* ✨ PKCE / OAuth login will be chosen on the fly, depending on the desired ↵Robert Honz2024-04-211-2/+8
| | | | audio quality of the track to speed up non `HIRES_LOSSLESS` downloads. Quality for tracks in download queue can be chosen individually. Fixes #73
* 👷 Login method updated due to `tidalapi` upgrade.Robert Honz2024-04-211-3/+5
|
* 🛠️ Values for options passed via command line will be converted to int ↵Robert Honz2024-04-201-0/+5
| | | | | | if necessary. Fixes #83 Settings save fix after refactoring to `StrEnum`.
* ✨ Client ID will be swapped in order to get the correct HiRes Lossless ↵Robert Honz2024-02-051-0/+2
| | | | token after refresh. Addresses #31
* ✨ GUI user lists can be reloaded. Logout is possible.Robert Honz2024-02-051-0/+8
|
* Merge branch 'master' into pkceexislow2024-02-011-10/+7
|\
| * ♻️ Removed unnecessary default values.Robert Honz2024-01-231-10/+7
| |
* | ✨ Implemented login dialog for PKCE login method. Fixes #22.Robert Honz2024-02-011-2/+2
| |
* | ♻️ Minor refactoring of login methods and namings.Robert Honz2024-01-231-9/+6
| |
* | ♻️ Renaming done to avoid confusion.Robert Honz2024-01-231-6/+10
|/ | | | | 🛠️ Fixed config persisting error after read, if config file did not exist before (fixes #20). ✨ Implemented PKCE authorization to enable HiRes FLAC downloads. Fixes #9.
* ♻️ Minor renamings.Robert Honz2024-01-181-2/+3
|
* ✨ File extension stored in an enum. File exists check refactored to ↵Robert Honz2024-01-171-3/+6
| | | | explicit extension check.
* ♻️ Refactored `download` for CLI.Robert Honz2024-01-141-3/+7
|
* ♻️ Refactoring of MPD download. Metadata does not need an explicit ↵Robert Honz2024-01-141-1/+4
| | | | `media_type` flag anymore.
* ♻️ Refactoring of download.py ongoing.Robert Honz2024-01-131-1/+15
|
* ♻️ Some refactoring started within download.py.Robert Honz2024-01-131-0/+2
| | | | | ✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
* 🛠️ Isort isn't used anymore due to conflicts with black. Black ↵Robert Honz2024-01-121-2/+1
| | | | reformatting done. Pre-Commit-Hook version upgrades.
* 🛠️ Isort refactoring.Robert Honz2024-01-121-1/+2
|
* ♻️ Ruff reformatting.Robert Honz2024-01-121-3/+3
|
* ✨ Embedded cover dimensions can be changed in settings. Fixes #15.Robert Honz2024-01-121-1/+4
|
* 🌟 Re-add all project files.Robert Honz2023-12-191-0/+132