Added fix for empty playlists
This commit is contained in:
parent
873b2b044d
commit
ac13f3c096
@ -192,7 +192,7 @@ export async function startQueue(dz: any): Promise<any> {
|
|||||||
|
|
||||||
if (!downloadObject.isCanceled) {
|
if (!downloadObject.isCanceled) {
|
||||||
// Set status
|
// Set status
|
||||||
if (downloadObject.failed === downloadObject.size) {
|
if (downloadObject.failed === downloadObject.size && downloadObject.size !== 0) {
|
||||||
queue[currentUUID].status = 'failed'
|
queue[currentUUID].status = 'failed'
|
||||||
} else if (downloadObject.failed > 0) {
|
} else if (downloadObject.failed > 0) {
|
||||||
queue[currentUUID].status = 'withErrors'
|
queue[currentUUID].status = 'withErrors'
|
||||||
|
Loading…
Reference in New Issue
Block a user