mirror of
https://github.com/markuryy/shark.git
synced 2025-12-13 12:01:01 +00:00
feat(dl): add download progress tracking and reporting
This commit is contained in:
@@ -338,7 +338,17 @@ export class DeezerQueueManager {
|
||||
downloadURL,
|
||||
appSettings.musicFolder!,
|
||||
appSettings.deezerFormat,
|
||||
undefined,
|
||||
(progress) => {
|
||||
// Update progress in queue
|
||||
updateQueueItem(item.id, {
|
||||
progress: progress.percentage,
|
||||
currentTrack: {
|
||||
title: track.title,
|
||||
artist: track.artist,
|
||||
progress: progress.percentage
|
||||
}
|
||||
});
|
||||
},
|
||||
0,
|
||||
trackData.SNG_ID
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user