summaryrefslogtreecommitdiff
path: root/tidal_dl_ng
Commit message (Collapse)AuthorAgeFilesLines
* refactor(helper): improve ID format handling logicRobert Honz2025-08-121-2/+4
| | | | | | | | | | Refactors the ID formatting logic to extend support for `video_id` and improve clarity. - ✨ **Feature:** Adds support for `video_id` in ID formatting logic. - ♻️ **Refactor:** Updates conditional checks for better readability. - πŸ”§ **Metadata:** Updates `poetry.lock` content hash. These changes enhance functionality and maintainability by accommodating additional media types.
* feat(metadata): add UPC support for metadata taggingRobert Honz2025-08-122-0/+7
| | | | | | | | | | | 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.
* 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(decryption): ✨ Improve docstring for `decrypt_security_token` ↡Robert Honz2025-07-031-2/+10
| | | | | | | function - Enhanced clarity of the function's purpose and usage. - Added detailed descriptions for arguments and return values.
* 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.
* refactor(download): πŸ”§ Improve media validation and preparation logicRobert Honz2025-07-031-56/+25
| | | | | | | * Enhanced `_validate_and_prepare_media` method to support additional media types: `Album`, `Playlist`, `UserPlaylist`, and `Mix`. * Updated media validation checks to ensure proper handling of unavailable media. * Refactored `_validate_media_instance` to streamline media instance creation and validation. * Removed redundant `_validate_and_prepare_media_collection` method for cleaner code.
* refactor(download): ✨ Enhance media collection handling and download executionRobert Honz2025-07-021-35/+195
| | | | | | * Improved validation and preparation of media collections for downloads. * Refactored download context setup and execution logic for better clarity and maintainability. * Added progress tracking for download tasks and improved handling of download futures.
* refactor(download): πŸ”§ Improve media validation and download processRobert Honz2025-07-021-100/+311
| | | | | | | | * Reordered parameters in `item` method for clarity. * Added `_validate_media_instance` method to streamline media validation. * Enhanced `_prepare_file_paths_and_skip_logic` for better file handling. * Introduced `_perform_actual_download` to encapsulate download logic. * Improved error handling and logging throughout the download process.
* refactor(download): ✨ Refactor media download logic for clarity and efficiencyRobert Honz2025-07-021-39/+137
| | | | | | | * Renamed `_download` to `_get_media_urls` for better clarity on its purpose. * Simplified URL extraction logic for `Track` and `Video` media types. * Improved progress setup and error handling in the download process. * Enhanced `_download_segments` and `_download_postprocess` methods for better readability and maintainability.
* refactor(download): ✨ Enhance docstrings for `RequestsClient` and ↡Robert Honz2025-07-021-0/+246
| | | | | | | `Download` classes * Improved documentation for methods in the `RequestsClient` and `Download` classes. * Added detailed descriptions, parameters, and return types to enhance code readability and maintainability.
* refactor(gui): ✨ Enhance type annotations and improve method signaturesRobert Honz2025-07-022-49/+49
| | | | | | * Updated type hints for various methods in and classes. * Changed list types from to for better clarity and consistency. * Improved function signatures to include return types for better type safety.
* refactor(gui): ✨ Improve filter handling in `MainWindow`Robert Honz2025-07-011-5/+7
| | | | | | * Refactored the filter extraction logic to directly use `header.filter_text(i)` for better clarity. * Updated the filters list to store tuples of index and text, enhancing the data structure used. * Ensured that the `proxy_model.filters` is set directly, simplifying the code.
* refactor(gui): ✨ Enhance type annotations and improve method signaturesRobert Honz2025-07-011-45/+45
| | | | | | * Updated type hints for several methods in `MainWindow` class to improve code clarity and type safety. * Changed return types to `None` where applicable. * Refined parameter types for better type checking and consistency.
* refactor(gui): ✨ Enhance documentation for `MainWindow` methodsRobert Honz2025-07-011-41/+451
| | | | | | * Added detailed docstrings for methods in the `MainWindow` class. * Improved clarity on parameters and return types for better understanding. * Aims to facilitate future development and maintenance.
* refactor(gui): ✨ Improve `search_result_to_model` method and extract ↡Robert Honz2025-07-011-105/+141
| | | | | | | | | helper functions * Refactored `search_result_to_model` to use type hints with `list` instead of `[*SearchTypes]`. * Added detailed docstring for better understanding of parameters and return types. * Extracted logic into helper methods for better readability and maintainability. * Improved handling of item availability and explicit content representation.
* 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.
* feat: ✨ Enhance media formatting functionsRobert Honz2025-07-011-123/+281
| | | | | | | * Added detailed docstrings for `format_str_media` and related helper functions. * Refactored media formatting logic to utilize dedicated functions for better readability and maintainability. * Improved error handling in media formatting. * Updated `file_unique_suffix` function to correct the spelling of `separator`.
* ✨ Add docstrings for path-related functions and improve path sanitization ↡Robert Honz2025-07-011-72/+117
| | | | logic.
* πŸ› οΈ Windows drives won't get sanitized anymore. Fixes #474Robert Honz2025-07-011-1/+2
|
* πŸ› οΈ Directory length limit is checked and adapted correctly now. Fixes ↡Robert Honz2025-06-303-8/+35
| | | | #447 & #436
* ✨ Either date added or date released will be shown, depending if a list is ↡Robert Honz2025-06-302-9/+25
| | | | selected or a search was performed. Fixes #424
* πŸ› οΈ Favorites won't getting duplicated after user hits the list reload ↡Robert Honz2025-06-301-0/+5
| | | | button. Fixes #409
* πŸ› οΈ Cover won't be removed, if clicked on the same item multiple times.Robert Honz2025-06-291-1/+5
|
* ✨ Spinner will be shown, if search results are expanded.Robert Honz2025-06-291-1/+9
|
* ✨ will only return the first artists. will return all album artists. ↡Robert Honz2025-06-292-1/+6
| | | | Fixes #439
* πŸ› οΈ GUI dos not hang if searched media is not available anymore.Robert Honz2025-06-291-0/+3
|
* πŸ› οΈ App does not crash anymore on not available content. Fixes #422Robert Honz2025-06-291-3/+15
|
* πŸ‘· Lists and cover will be loaded in background. Gui won't hang anymore. ↡Robert Honz2025-06-292-30/+72
| | | | Fixes #423
* πŸ‘· Re-arranged imports.Robert Honz2025-06-291-9/+6
|
* Merge pull request #428 from JuanJesusAlejoSillero/masterexislow2025-06-291-0/+2
|\ | | | | Fix UnboundLocalError in GUI on_populate_tree_lists method leading to unresponsive left panel
| * Fix: Prevent UnboundLocalError in on_populate_tree_listsJuan JesΓΊs Alejo Sillero2025-04-261-0/+2
| | | | | | | | | | - Added a safeguard to skip items in `user_lists` that do not match expected types (`UserPlaylist`, `Playlist`, or `Mix`). - Ensured `twi_child` is only accessed when properly initialized. - This prevents crashes during GUI interaction when unexpected data is encountered.
* | πŸ› οΈ Fixed wrong repo url after pyproject.toml update. Credits to ↡Robert Honz2025-06-291-1/+1
| | | | | | | | @orbittwz in README.
* | ✨ Empty metadata tags will be removed before written to file. Url tag for ↡Robert Honz2025-06-061-1/+7
|/ | | | mp4 corrected.
* ✨ Implemented playlist track position naming (`{list_pos}`) for downloads. ↡Robert Honz2025-04-023-16/+56
| | | | Fixes #165
* πŸ› οΈ Fixed and simplified path_file_sanitize method.Robert Honz2025-03-272-53/+36
|
* πŸ› οΈ Fix: Only re-create media item if it is a track. Fixes #386Robert Honz2025-03-251-1/+1
|
* πŸ‘· Code style.Robert Honz2025-03-242-3/+4
|
* πŸ‘· Check if albums and videos are available or not due to regional ↡Robert Honz2025-03-241-7/+18
| | | | restrictions. Fixes #277
* πŸ› οΈ Fixed: Skip file is not ignored anymore. Filenames will not be ↡Robert Honz2025-03-241-12/+25
| | | | uniquified by default.
* πŸ› οΈ Fixed: Wrong path build after file sanitization on Windows. Fixes ↡Robert Honz2025-03-241-1/+1
| | | | #389 & #358
* πŸ‘· Refactored path file split method.Robert Honz2025-03-242-21/+14
|
* πŸ‘· Pass download quality settings, when using CLI.Robert Honz2025-03-231-0/+2
|
* Fixed: Relative import error.Robert Honz2025-03-231-2/+1
|
* πŸ› οΈ Fixed relative import error. Fixes #387Robert Honz2025-03-231-3/+1
|
* πŸ› οΈ Clipboard is not thread safe. Executing in a synchronous way. Fixes #382Robert Honz2025-03-231-5/+2
|
* ✨ Downloads can be now paused / resumed. Fixes #149 & 324Robert Honz2025-03-036-18/+170
| | | | πŸ‘· Shutdown is handled more gracefully.
* πŸ‘· CLI: Download list is scrolling vertically and overall progress is ↡Robert Honz2025-03-012-47/+77
| | | | shown at the bottom. Fixes #374
* πŸ‘· Close network connections explicitly. Fixes #371Robert Honz2025-02-281-22/+30
|
* πŸ› οΈ Fixed path length sanitation. Also refactored the path helper to use ↡Robert Honz2025-02-283-57/+82
| | | | `pathlib.Path` instead of str. Fixed #358