mirror of
https://github.com/markuryy/shark.git
synced 2025-12-13 03:51:02 +00:00
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.
This commit is contained in:
@@ -412,7 +412,8 @@ export class DeezerAPI {
|
||||
console.log('[DEBUG] Getting track download URL...', { trackToken, format, licenseToken });
|
||||
|
||||
try {
|
||||
const cookieHeader = this.getCookieHeader();
|
||||
// media.deezer.com ONLY needs arl cookie, not sid or other cookies
|
||||
const cookieHeader = this.arl ? `arl=${this.arl}` : '';
|
||||
console.log('[DEBUG] Sending request to media.deezer.com with cookies:', cookieHeader);
|
||||
|
||||
const response = await fetch('https://media.deezer.com/v1/get_url', {
|
||||
|
||||
Reference in New Issue
Block a user