From 4b6b54bc54f06083c2f1b0d5a83cc309a45ba86e Mon Sep 17 00:00:00 2001
From: Andrew S <andrews54757@gmail.com>
Date: Fri, 19 Jul 2024 00:39:52 -0500
Subject: [PATCH] Fix progress save

---
 chrome/player/FastStreamClient.mjs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/player/FastStreamClient.mjs b/chrome/player/FastStreamClient.mjs
index e89cd8fb..f1b0d01a 100644
--- a/chrome/player/FastStreamClient.mjs
+++ b/chrome/player/FastStreamClient.mjs
@@ -278,7 +278,7 @@ export class FastStreamClient extends EventEmitter {
     this.persistent.currentTime = time;
     this.interfaceController.timeUpdated();
 
-    if (this.options.storeProgress && this.progressData && time !== this.progressData.lastTime) {
+    if (this.options.storeProgress && this.progressData && time !== this.progressData.lastTime && !this.progressDataLoading) {
       const now = Date.now();
       if (now - this.lastProgressSave > 1000) {
         this.lastProgressSave = now;