Skip to content

Commit

Permalink
Fix progress save
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrews54757 committed Jul 19, 2024
1 parent e2823d6 commit 4b6b54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/player/FastStreamClient.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b6b54b

Please sign in to comment.