summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Added clarity and grammar fixes to documentation and to some strings on the ↵E.J. Talevi2025-11-251-5/+5
| | | | program itself.
* Refactor Dolby Atmos feature to be internal and seamlessRikrdoga2025-10-201-1/+1
|
* feat(tidal): ✨ add url_ending_clean function and refactor URL handling. ↵Robert Honz2025-09-071-15/+18
| | | | | | | Fixes #523 * Introduced `url_ending_clean` to sanitize URLs by removing trailing "/u" or "?u". * Updated `_process_url` and GUI search logic to utilize cleaned URLs for better validation and processing.
* refactor(cli): restructure callback and favorites commandsRobert Honz2025-07-031-20/+31
| | | | | | | | | | | Refactors the CLI structure to improve readability and maintainability: - ♻️ Replaces `dl_fav_group` with `app_dl_fav` for better naming consistency. - 🛠️ Restructures the `callback_app` function, removing redundancy. - 🚀 Adds a URL detection mechanism to streamline `dl <URL>` command simulation. - ✨ Enhances imports by adding `urlparse`. These updates aim to simplify the codebase and improve user experience.
* refactor(cli): 🔧 Update context handling in download functionsRobert Honz2025-07-031-16/+17
| | | | | | * Refactored `_handle_track_or_video` and `_handle_album_playlist_mix_artist` to use `typer.Context` instead of `Settings` directly. * Improved clarity by centralizing settings retrieval through context. * Adjusted `_process_url` and `_download` functions to align with the new context-based approach.
* fix(cli): 🐛 Correct type for `item_id` in `_handle_album_playlist_mix_artist`Robert Honz2025-07-011-22/+26
| | | | | | * Changed `item_id` type from `int` to `str` for better consistency. * Updated related list type from `list[int]` to `list[str]`. * Added type checks for `media_type`, `item_id`, and `file_template` in `_process_url` for improved error handling.
* refactor(cli): ✨ Improve function documentation and remove unused importsRobert Honz2025-07-011-115/+211
| | | | | | * Enhanced docstrings for clarity and consistency across functions. * Removed unused imports to clean up the codebase. * Improved the structure of the `_download` function for better readability.
* 🛠️ App does not crash anymore on not available content. Fixes #422Robert Honz2025-06-291-3/+15
|
* 👷 Re-arranged imports.Robert Honz2025-06-291-9/+6
|
* 👷 Refactored path file split method.Robert Honz2025-03-241-1/+1
|
* 👷 Pass download quality settings, when using CLI.Robert Honz2025-03-231-0/+2
|
* 🛠️ Fixed relative import error. Fixes #387Robert Honz2025-03-231-3/+1
|
* ✨ Downloads can be now paused / resumed. Fixes #149 & 324Robert Honz2025-03-031-1/+30
| | | | 👷 Shutdown is handled more gracefully.
* 👷 CLI: Download list is scrolling vertically and overall progress is ↵Robert Honz2025-03-011-40/+67
| | | | shown at the bottom. Fixes #374
* 👷 Optimized CLI performance.Robert Honz2025-02-281-13/+19
|
* 👷 Formatting and docstrings.Robert Honz2025-01-041-4/+8
|
* 👷 Added docstrings and types.Robert Honz2025-01-041-13/+50
|
* 👷 Refactored favorite download methods to factory. Removed duplicate and ↵Robert Honz2025-01-041-25/+30
| | | | falsely named code.
* feat: add dl_fav tracks/artists/albums/videos subcommandsV3ntus2025-01-031-0/+52
|
* ref: add a `dl_fav` typer command groupV3ntus2025-01-031-0/+6
| | | | This will be used for downloading from favorite collections (artists, albums, tracks, videos)
* ref: extract CLI download logic to helper functionV3ntus2025-01-031-73/+85
|
* ✨ Can download artists. Fixes #102Robert Honz2024-05-221-9/+24
|
* ✨ Logout via CLI implemented. Fixes #101Robert Honz2024-05-031-0/+12
|
* 🛠️ Fixed wrong version import.Robert Honz2024-04-011-2/+2
|
* 🛠️ Version will be shown correctly.Robert Honz2024-03-221-2/+2
|
* ✨ Respect download delay when downloading a bunch of tracks / videos.Robert Honz2024-02-011-6/+8
|
* ✨ Implemented login dialog for PKCE login method. Fixes #22.Robert Honz2024-02-011-1/+1
|
* ✨ Help shortcut added. Dependency update.Robert Honz2024-01-191-1/+1
|
* ♻️ Generalised download.py.Robert Honz2024-01-191-10/+10
|
* ♻️ Capitalized enum names..Robert Honz2024-01-161-2/+2
|
* 🛠️ Deptry warnings fixed.Robert Honz2024-01-141-1/+1
|
* ♻️ Refactored `download` for CLI.Robert Honz2024-01-141-39/+27
|
* ♻️ Refactoring of `items` to make it less complex.Robert Honz2024-01-141-1/+1
|
* ♻️ Some refactoring started within download.py.Robert Honz2024-01-131-1/+1
| | | | | ✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
* ♻️ Ruff refactoring.Robert Honz2024-01-121-1/+0
|
* 🛠️ Isort isn't used anymore due to conflicts with black. Black ↵Robert Honz2024-01-121-2/+1
| | | | reformatting done. Pre-Commit-Hook version upgrades.
* 🛠️ Black reformatting.Robert Honz2024-01-121-2/+4
|
* 🛠️ Isort refactoring.Robert Honz2024-01-121-1/+2
|
* 🛠️ Ruff refactoring.Robert Honz2024-01-121-2/+2
|
* 🛠️ Ruff ignores type annotation for `cli.py`, so `typer` continues to ↵Robert Honz2024-01-121-9/+8
| | | | work as expected.
* 🛠️ Fixed `cfg` cli command. Was broken after refactoring. Fixes #5.Robert Honz2024-01-101-1/+1
|
* 🌟 Re-add all project files.Robert Honz2023-12-191-0/+217