Commit Graph

10 Commits

Author SHA1 Message Date
6fff93fe45 fix(dz): implement alternative track fallback for error 2002
("Track token has
no sufficient rights on requested media").

Previous behavior:
- Only tried format fallback (FLAC → MP3_320 → MP3_128)
- Used same track token for all format attempts
- Failed when error 2002 occurred even if alternative tracks existed

New behavior:
- When error 2002 occurs, fetches FALLBACK.SNG_ID and gets fresh token
- Retries with same format but different track ID
- Loops through all alternative track IDs before trying format fallback
- Only after exhausting alternatives does it fall back to lower quality formats
2025-10-03 11:43:11 -04:00
90053b67c5 fix(wip): add fallback format support for unavailable tracks
Add support for selecting a fallback audio format if the requested
track format is unavailable. Users can now choose to fall back
to MP3_320, MP3_128, or the highest available format, or opt to fail
if the requested format is not found. The queue manager and downloader
now fetch fresh track data just-in-time, handle dz fallback
parameters, and ensure the correct track ID is used for decryption.
Settings UI and store are updated to allow configuring the fallback format.
2025-10-03 10:28:56 -04:00
e1e7817c71 feat(dz): add playlist download, existence check, and improved queue handling
Add ability to download entire playlists as M3U8 files, with UI
integration and per-track download actions. Implement track existence
checking to avoid duplicate downloads, respecting the overwrite setting.
Improve queue manager to sync downloaded tracks to the library
incrementally. Refactor playlist parsing and metadata reading to use the
Rust backend for better performance and accuracy. Update UI to reflect
track existence and download status in playlist views.

BREAKING CHANGE: Deezer playlist and track download logic now relies on
Rust backend for metadata and new existence checking; some APIs and
internal behaviors have changed.
2025-10-02 19:26:12 -04:00
d8456ce912 feat(dz): add local caching and UI for user favorites 2025-10-02 12:17:04 -04:00
36c0bc7dc7 feat(dl): add metadata, lyrics, and cover art tagging
Introduce metadata handling for online downloads:
- Embed cover art and lyrics (synced/unsynced) into MP3 files
- Save cover art to album folders and .lrc lyric files as sidecars
- Fetch and parse album/track metadata and lyrics from Deezer API
- Add user settings for artwork and lyrics embedding, LRC export, and cover quality
- Refactor queue manager to run continuously in background
2025-10-02 10:57:27 -04:00
d1edc8b7f7 feat(dl): online track search and add-to-queue utility 2025-10-02 09:54:05 -04:00
759ebc71f6 fix(dl): add retry logic for network errors and rate limits 2025-10-01 09:14:14 -04:00
b57164a4f7 feat(crypto): track download handling 2025-09-30 22:50:59 -04:00
4ebb77f341 feat(auth): purple app track fetch 2025-09-30 22:38:16 -04:00
48d8b4a593 feat(auth): implement purple music app authentication 2025-09-30 21:56:45 -04:00