Commit Graph
755 Commits
Author SHA1 Message Date
Rikrdoga af58b0a83d Resolve Race Condition and Optimize Session Switching for Atmos Downloads 2025-11-04 12:36:27 -06:00
exislowandGitHub 6e665bcd45 Merge pull request #613 from jbrower2/patch-1
Fix album_artist substitution
2025-10-26 15:37:35 +01:00
Jeff BrowerandGitHub be43c3f616 Fix album_artist substitution
For albums that are listed with a non-"main" artist first (ex: 37691520), the album artist replacement was returning an empty string. This isn't a problem with the default settings, but if you format albums into `{album_artist}/...`, the path becomes `/...` in this case, and is interpreted as an absolute path instead of a relative one, causing the download to fail.

This changes the logic so that if the `first_only` flag is passed, it will return after the first artist is actually added to the list, no longer returning an empty string.
2025-10-26 10:33:07 -04:00
Robert Honz 3bd41f2139 chore: ✨ update header in README for improved branding
* Changed the header format to include an icon for better visual appeal.
* Ensures consistency with the overall project branding.
2025-10-26 09:59:51 +01:00
Robert Honz c1af2a8adf 🌟 Version bumped to v0.31.3 2025-10-26 09:54:11 +01:00
Robert Honz 7b72146092 chore: 🔧 update Python version requirements in README
* Updated the requirements section to include support for Python 3.13.
* Clarified compatibility for users regarding Python versions.
2025-10-26 09:52:42 +01:00
Robert Honz 2d60f54b39 docs: 📚 update README for Dolby Atmos support and build instructions
* Added information on downloading Dolby Atmos files.
* Updated build instructions for macOS and added options for Windows and Linux.
* Corrected the build status badge link in the README.
2025-10-22 23:05:04 +02:00
Robert Honz 777a5e394d chore(gui): 🎨 update data file inclusion pattern for icons
* Adjusted the pattern for including icon files to ensure proper matching.
* This change enhances the flexibility of file inclusion during the build process.
2025-10-22 22:50:25 +02:00
Robert Honz 23d1b61e1e chore(ui): 🎨 update application icons for improved visual consistency
* Replaced multiple icon files in the UI.
* Ensured all icon sizes are updated to maintain a cohesive look across the application.
2025-10-22 22:42:29 +02:00
Robert Honz 8f0c784187 refactor(gui): ✨ update album download options and improve session validation
* 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.
2025-10-22 21:52:20 +02:00
exislowandGitHub b485292807 Merge pull request #596 from Winman486/fix/rate-limiting-playlist-downloads
Fix/rate limiting playlist downloads
2025-10-22 21:38:30 +02:00
exislowandGitHub 0cf3516fb0 Merge pull request #573 from Rikrdoga/Dolby_Atmos
Implement Dolby Atmos Support & API Key Selection
2025-10-22 21:34:02 +02:00
Winman486 e9070eef66 refactor: Make rate limiting configurable and move session validation to 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
2025-10-21 15:23:18 -05:00
Rikrdoga e266149684 Move credentials to constants, improve docs (tidal_obj), and clean up Atmos legacy code 2025-10-21 11:58:34 -06:00
Robert Honz a71bc18ca6 fix(pyproject): 🐛 add support for Python 3.13 in classifiers
* Updated the `classifiers` section to include support for Python 3.13.
* Ensures compatibility with the latest Python version.
2025-10-21 09:15:19 +02:00
exislowandGitHub 74c38e5f4a Merge pull request #603 from exislow:py313
Py313
2025-10-21 08:10:15 +02:00
Robert Honz d3ec0398b4 fix(gui): 🐛 integrate ansi2html for improved log message formatting
* Added `Ansi2HTMLConverter` to convert ANSI color codes in log messages to HTML.
* Updated the `MainWindow` class to utilize the new converter for displaying logs.
* Removed dependency on `coloredlogs.converter` for log message display.
2025-10-21 07:58:00 +02:00
Rikrdoga 234ed80192 minor fix: Respect audio quality selected 2025-10-20 21:34:50 -06:00
Rikrdoga 70cfc1b6eb Apply formatter and fix TRY003 2025-10-20 20:46:36 -06:00
Rikrdoga cb32c2fa8b Refactor Dolby Atmos Implementation 2025-10-20 20:23:14 -06:00
Winman486 6c1704e3c4 fix: Remove duplicate menu entry and reduce code complexity
- Removed duplicate 'Download Full Album' context menu entry
- Refactored on_download_all_albums_from_playlist to reduce C901 complexity
- Extracted helper methods: _extract_album_ids_from_tracks, _load_albums_with_rate_limiting, _validate_session, _handle_album_load_error, _queue_loaded_albums
- All make check errors and warnings now resolved
2025-10-20 18:58:46 -05:00
Winman486 3c835c2d19 Merge upstream/master and resolve conflicts
- Resolved conflict in dialog_settings.py (kept both cb_use_primary_album_artist and cb_mark_explicit checkboxes)
- Fixed code quality issues found by make check:
  * Removed duplicate on_download_album_from_track function (F811)
  * Updated isinstance calls to use X | Y syntax instead of (X, Y) (UP038)
  * Fixed unused loop variable album_stub (B007)
  * Applied automatic formatting fixes (black, prettier, trailing whitespace)
- Only remaining issue is C901 complexity warning in on_download_all_albums_from_playlist (expected per maintainer feedback)
2025-10-20 16:12:46 -05:00
Rikrdoga 2c2cc0283a Refactor Dolby Atmos feature to be internal and seamless 2025-10-20 10:47:43 -06:00
Rikrdoga ec4502ad00 Disable Load from gist and fix JSON in api.py (remove // Invalid) 2025-10-20 10:33:13 -06:00
Rikrdoga 302b552ed7 Add support for Dolby Atmos 2025-10-20 10:33:01 -06:00
Robert Honz 0afd65c89b 🌟 Version bumped to v0.30.0 2025-10-20 10:41:08 +02:00
Robert Honz 5c09b6594c fix(tox): 🐛 update Python version support in configuration
* Added support for Python 3.13 in the `tox` configuration.
* Updated `envlist` to include `py313` for testing.
2025-10-20 10:09:30 +02:00
Robert Honz aaca12cacc fix(gui): 🐛 improve album download action and update docstring
* Refactored the menu action for downloading the full album from a track.
* Enhanced the docstring for `on_download_album_from_track` to clarify its functionality and error handling.
2025-10-20 09:37:01 +02:00
exislowandGitHub 51556f1d80 Merge pull request #590 from Rikrdoga/feature/download-album-from-track
feat: Add 'Download Full Album' from track context menu
2025-10-20 09:26:22 +02:00
Robert Honz 8c361249ed fix(cfg): 🐛 update mark_explicit default value and improve help text
* Set default value of `mark_explicit` to `False`.
* Update help text to clarify that marking explicit tracks applies only to metadata.
2025-10-20 08:20:20 +02:00
exislowandGitHub 307ea1bd6d Merge pull request #600 from truubo/597-optional-explicit-symbol-in-track-title
feat(metadata): Toggle explicit symbol in track titles
2025-10-20 08:17:52 +02:00
Robert Honz ffbd7849a1 fix(download): 🐛 handle missing st_birthtime attribute in track sorting
* Updated the sorting method for track paths to check for the presence of `st_birthtime`.
* If `st_birthtime` is not available, fallback to using `st_ctime` for sorting.
2025-10-20 08:12:34 +02:00
exislowandGitHub a4c36ff6f5 Merge pull request #601 from exislow:sort-by-birthtime
fix(download): 🐛 update sorting method for track paths
2025-10-20 08:06:56 +02:00
Robert Honz 2b932e84b4 fix(download): 🐛 update sorting method for track paths
* Changed sorting method from `os.path.getctime` to `x.stat().st_birthtime` for better accuracy in track creation time.
* This improves the reliability of track order when not dealing with albums.
2025-10-20 08:06:25 +02:00
Trubo 0176892a3b Quick help text change 2025-10-19 18:28:18 -05:00
Trubo 2402550884 Add a checkbox to settings that toggles the explicit symbol in track titles 2025-10-19 18:16:19 -05:00
Winman486 90ff7ea52e feat(gui): add rate limiting to Download All Albums feature - Process 20 albums at a time with 3-second delays - Add session validity checks to prevent OAuth errors - Handle unavailable albums gracefully - Add informative logging for rate limiting progress 2025-10-17 23:40:31 -05:00
Winman486 ac3bf51c56 feat(gui): add 'Download Full Album', 'Download All Albums', and 'Single album folder (primary artist)' preference 2025-10-17 15:17:02 -05:00
Rikrdoga 9321ac03da feat: Add 'Download Full Album' from track context menu 2025-10-17 14:05:48 -06:00
Robert Honz 61cc05788b 🌟 Version bumped to v0.29.0 2025-10-17 15:49:21 +02:00
Robert Honz c2e451bb39 fix(metadata): 🐛 update license information in pyproject.toml
* Added `license` and `license-files` fields to ensure proper licensing information is included.
* Removed outdated classifier for license to maintain accuracy.
2025-10-17 15:48:48 +02:00
exislowandGitHub 4f01f605e4 Merge pull request #589 from exislow:486-explicit-tagging
feat(metadata): ✨ add explicit track metadata handling
2025-10-17 15:41:10 +02:00
Robert Honz c8cb43adf7 feat(metadata): ✨ add explicit track metadata handling
* Introduced `METADATA_EXPLICIT` constant for explicit track indication.
* Updated `Download` class to append explicit metadata to track titles.
2025-10-17 15:40:28 +02:00
Robert Honz 07494eddf3 feat(metadata): ✨ add support for explicit track metadata
* Added `explicit` attribute to the `Metadata` class.
* Updated the constructor to initialize `explicit` with a default value of `False`.
* Modified the metadata saving process to include explicit rating in tags.
2025-10-17 15:26:48 +02:00
Robert Honz 3d5b52209e fix(path): 🐛 add **kwargs support to formatting functions
* Updated multiple formatting functions to accept **kwargs for better flexibility.
* Ensures consistent handling of additional parameters across artist, title, name, number, date, metadata, and volume formatting.
2025-10-17 15:05:19 +02:00
exislowandGitHub 72dd8fc598 Merge pull request #588 from exislow:483-possibility-to-add-lrc-into-unsyncedlyrics-tag
feat(metadata): ✨ add support for synced and unsynced lyrics
2025-10-17 14:44:08 +02:00
Robert Honz 676569e511 feat(metadata): ✨ add support for synced and unsynced lyrics
* Introduced `lyrics_synced` and `lyrics_unsynced` fields in the `Metadata` class.
* Updated the `Download` class to handle both synced and unsynced lyrics from the track.
* Enhanced metadata writing to include `UNSYNCEDLYRICS` in the tags.
2025-10-17 14:41:23 +02:00
exislowandGitHub f150b6ef6a Merge pull request #587 from exislow:515-should-upc-be-barcode-instead
feat(metadata): ✨ add UPC metadata handling and configuration
2025-10-17 13:47:13 +02:00
Robert Honz a2e637e89c feat(metadata): ✨ add UPC metadata handling and configuration
* 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`.
2025-10-17 13:46:47 +02:00
exislowandGitHub e8bf12747f Merge pull request #586 from exislow:playlist_sort
feat(path): ✨ add customizable delimiters for artist names in file paths
2025-10-17 13:13:40 +02:00