diff options
author | geireann <geireann.lindfield@gmail.com> | 2023-09-02 10:10:04 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2023-09-02 10:10:04 -0400 |
commit | d762e61b4189a7c1b6bc5f13ac35d48d18328788 (patch) | |
tree | 67b6dc6ee3e26f0a9d7fbd0442024980ccd90e94 | |
parent | 0c1da19094f1278a4a0ada4f0eade924337ee1f4 (diff) |
changed upload progress to say pending instead of failed.
-rw-r--r-- | src/server/DashUploadUtils.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/DashUploadUtils.ts b/src/server/DashUploadUtils.ts index 2bafd6b7a..ed2430e3a 100644 --- a/src/server/DashUploadUtils.ts +++ b/src/server/DashUploadUtils.ts @@ -136,7 +136,8 @@ export namespace DashUploadUtils { } export function QueryYoutubeProgress(videoId: string) { - return uploadProgress.get(videoId) ?? 'failed'; + console.log("PROGRESS:" + videoId) + return uploadProgress.get(videoId) ?? 'pending data upload'; } let uploadProgress = new Map<string, string>(); @@ -193,6 +194,7 @@ export namespace DashUploadUtils { const isAzureOn = usingAzure(); const { type, path, name } = file; const types = type?.split('/') ?? []; + console.log("UPLOADING:"+ (overwriteGuid ?? name)); uploadProgress.set(overwriteGuid ?? name, 'uploading'); // If the client sent a guid it uses to track upload progress, use that guid. Otherwise, use the file's name. const category = types[0]; |