Target crosslang v0.0.10, add /api/v1/progress_ex.json
All checks were successful
Build and Deploy on Tag / 🔨 Build (push) Successful in 22s
All checks were successful
Build and Deploy on Tag / 🔨 Build (push) Successful in 22s
This commit is contained in:
@@ -883,9 +883,9 @@ class TYTD.Downloader {
|
||||
const resultQueue = Sqlite.Exec(db, "SELECT COUNT(*) FROM queue;");
|
||||
Sqlite.Close(db);
|
||||
|
||||
const videoCount = TypeIsList(resultVideos) ? (ParseLong(resultVideos.["COUNT(*)"])??0) : 0;
|
||||
const videoCount = TypeIsList(resultVideos) ? (ParseLong(resultVideos[0].["COUNT(*)"])??0) : 0;
|
||||
|
||||
const queueCount = TypeIsList(resultQueue) ? (ParseLong(resultQueue.["COUNT(*)"])??0) : 0;
|
||||
const queueCount = TypeIsList(resultQueue) ? (ParseLong(resultQueue[0].["COUNT(*)"])??0) : 0;
|
||||
|
||||
|
||||
const progress = {CurrentVideoProgress,CurrentVideo,QueueCount=queueCount, VideoCount=videoCount};
|
||||
|
||||
Reference in New Issue
Block a user