Added patch for broken order.json
updated webui to 1.9.1
This commit is contained in:
parent
e6a8b0f65b
commit
5d29424c3a
2
server/dist/app.js
vendored
2
server/dist/app.js
vendored
File diff suppressed because one or more lines are too long
@ -221,8 +221,10 @@ export async function startQueue(dz: any): Promise<any> {
|
|||||||
}
|
}
|
||||||
currentJob = true // lock currentJob
|
currentJob = true // lock currentJob
|
||||||
|
|
||||||
const currentUUID: string = queueOrder.shift() || ''
|
let currentUUID: string
|
||||||
console.log(currentUUID)
|
do {
|
||||||
|
currentUUID = queueOrder.shift() || ''
|
||||||
|
} while (queue[currentUUID] === undefined && queueOrder.length)
|
||||||
queue[currentUUID].status = 'downloading'
|
queue[currentUUID].status = 'downloading'
|
||||||
const currentItem: any = JSON.parse(fs.readFileSync(configFolder + `queue${sep}${currentUUID}.json`).toString())
|
const currentItem: any = JSON.parse(fs.readFileSync(configFolder + `queue${sep}${currentUUID}.json`).toString())
|
||||||
let downloadObject: any
|
let downloadObject: any
|
||||||
|
2
webui
2
webui
@ -1 +1 @@
|
|||||||
Subproject commit 71caf6ffa8b4cf08928befbf6fcf9facc609d82e
|
Subproject commit 5fb5ae4ace6f271bee3cd744208197549738897d
|
Loading…
Reference in New Issue
Block a user