Commit Graph
42 Commits
Author SHA1 Message Date
E.J. Talevi 0e74ac32d6 Added clarity and grammar fixes to documentation and to some strings on the program itself. 2025-11-25 23:56:56 -03:00
Rikrdoga 2c2cc0283a Refactor Dolby Atmos feature to be internal and seamless 2025-10-20 10:47:43 -06:00
Robert Honz 541527be32 feat(tidal): ✨ add url_ending_clean function and refactor URL handling. 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.
2025-09-07 18:27:30 +02:00
Robert Honz 650e799eb6 refactor(cli): restructure callback and favorites commands
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.
2025-07-03 11:09:57 +02:00
Robert Honz 5b110638e0 refactor(cli): 🔧 Update context handling in download functions
* 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.
2025-07-03 08:57:46 +02:00
Robert Honz 6b99c4ba62 fix(cli): 🐛 Correct type for item_id in _handle_album_playlist_mix_artist
* 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.
2025-07-01 13:19:28 +02:00
Robert Honz 38a97357dd refactor(cli): ✨ Improve function documentation and remove unused imports
* 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.
2025-07-01 11:42:07 +02:00
Robert Honz a676e16367 🛠️ App does not crash anymore on not available content. Fixes #422 2025-06-29 21:23:27 +02:00
Robert Honz f0412c6f96 👷 Re-arranged imports. 2025-06-29 14:24:15 +02:00
Robert Honz b25b58a03b 👷 Refactored path file split method. 2025-03-24 07:12:16 +01:00
Robert Honz 7dd94ff4a9 👷 Pass download quality settings, when using CLI. 2025-03-23 21:38:44 +01:00
Robert Honz cbef9fbb89 🛠️ Fixed relative import error. Fixes #387 2025-03-23 21:07:58 +01:00
Robert Honz 0684994850 ✨ Downloads can be now paused / resumed. Fixes #149 & 324
👷 Shutdown is handled more gracefully.
2025-03-03 09:31:37 +01:00
Robert Honz 0726175503 👷 CLI: Download list is scrolling vertically and overall progress is shown at the bottom. Fixes #374 2025-03-01 21:53:46 +01:00
Robert Honz 56aff8fa19 👷 Optimized CLI performance. 2025-02-28 13:22:38 +01:00
Robert Honz e78194353a 👷 Formatting and docstrings. 2025-01-04 13:58:15 +01:00
Robert Honz a1e22acacc 👷 Added docstrings and types. 2025-01-04 13:53:49 +01:00
Robert Honz 3e93c17d1d 👷 Refactored favorite download methods to factory. Removed duplicate and falsely named code. 2025-01-04 13:42:53 +01:00
V3ntus 6f21eaee76 feat: add dl_fav tracks/artists/albums/videos subcommands 2025-01-03 15:28:32 +00:00
V3ntus 31b260f690 ref: add a dl_fav typer command group
This will be used for downloading from favorite collections (artists, albums, tracks, videos)
2025-01-03 15:23:42 +00:00
V3ntus ca0f696119 ref: extract CLI download logic to helper function 2025-01-03 15:20:02 +00:00
Robert Honz 776542de5c ✨ Can download artists. Fixes #102 2024-05-22 06:33:40 +02:00
Robert Honz 214018c4a2 ✨ Logout via CLI implemented. Fixes #101 2024-05-03 20:39:30 +02:00
Robert Honz d1dddced96 🛠️ Fixed wrong version import. 2024-04-01 18:58:37 +02:00
Robert Honz c7c8c12574 🛠️ Version will be shown correctly. 2024-03-22 16:20:29 +01:00
Robert Honz fe5d450cb3 ✨ Respect download delay when downloading a bunch of tracks / videos. 2024-02-01 20:04:55 +01:00
Robert Honz c1bf278fd7 ✨ Implemented login dialog for PKCE login method. Fixes #22. 2024-02-01 07:38:01 +01:00
Robert Honz a348909897 ✨ Help shortcut added. Dependency update. 2024-01-19 18:00:16 +01:00
Robert Honz 038eaf85cb ♻️ Generalised download.py. 2024-01-19 08:17:47 +01:00
Robert Honz e3d780e36d ♻️ Capitalized enum names.. 2024-01-16 06:33:23 +01:00
Robert Honz fb6e45a0d4 🛠️ Deptry warnings fixed. 2024-01-14 23:27:39 +01:00
Robert Honz ec728d4dcd ♻️ Refactored download for CLI. 2024-01-14 23:09:43 +01:00
Robert Honz 949f843e1f ♻️ Refactoring of items to make it less complex. 2024-01-14 17:58:54 +01:00
Robert Honz 14483a1629 ♻️ Some refactoring started within download.py.
✨ Track extension can be ignored while skipping files. Closes #11.
✨ Started to implement MPEG DASH download support.
2024-01-13 11:57:11 +01:00
Robert Honz 1c51affef4 ♻️ Ruff refactoring. 2024-01-12 12:35:18 +01:00
Robert Honz 87091fb060 🛠️ Isort isn't used anymore due to conflicts with black. Black reformatting done. Pre-Commit-Hook version upgrades. 2024-01-12 11:12:47 +01:00
Robert Honz 3fddfe18a6 🛠️ Black reformatting. 2024-01-12 10:51:30 +01:00
Robert Honz 8196213247 🛠️ Isort refactoring. 2024-01-12 10:47:17 +01:00
Robert Honz 7af7fd6219 🛠️ Ruff refactoring. 2024-01-12 10:21:34 +01:00
Robert Honz 1494490476 🛠️ Ruff ignores type annotation for cli.py, so typer continues to work as expected. 2024-01-12 08:37:58 +01:00
Robert Honz fadf6cc2c6 🛠️ Fixed cfg cli command. Was broken after refactoring. Fixes #5. 2024-01-10 20:39:01 +01:00
Robert Honz 0d4a9d6b87 🌟 Re-add all project files. 2023-12-19 23:58:57 +01:00