Added fix for empty playlists

This commit is contained in:
RemixDev 2021-07-27 20:34:30 +02:00
parent 873b2b044d
commit ac13f3c096
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ export async function startQueue(dz: any): Promise<any> {
if (!downloadObject.isCanceled) {
// Set status
if (downloadObject.failed === downloadObject.size) {
if (downloadObject.failed === downloadObject.size && downloadObject.size !== 0) {
queue[currentUUID].status = 'failed'
} else if (downloadObject.failed > 0) {
queue[currentUUID].status = 'withErrors'