Added patch for broken order.json

updated webui to 1.9.1
This commit is contained in:
RemixDev 2022-02-01 21:56:05 +01:00
parent e6a8b0f65b
commit 5d29424c3a
3 changed files with 6 additions and 4 deletions

2
server/dist/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -221,8 +221,10 @@ export async function startQueue(dz: any): Promise<any> {
}
currentJob = true // lock currentJob
const currentUUID: string = queueOrder.shift() || ''
console.log(currentUUID)
let currentUUID: string
do {
currentUUID = queueOrder.shift() || ''
} while (queue[currentUUID] === undefined && queueOrder.length)
queue[currentUUID].status = 'downloading'
const currentItem: any = JSON.parse(fs.readFileSync(configFolder + `queue${sep}${currentUUID}.json`).toString())
let downloadObject: any

2
webui

@ -1 +1 @@
Subproject commit 71caf6ffa8b4cf08928befbf6fcf9facc609d82e
Subproject commit 5fb5ae4ace6f271bee3cd744208197549738897d