Skip to content

Commit

Permalink
fix(player): Fix missing calculated state on player stop
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Oct 16, 2024
1 parent 57a8e48 commit 3142101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/sources/PlayerState/AbstractPlayerState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export abstract class AbstractPlayerState {

protected stopPlayer() {
this.reportedStatus = 'stopped';
this.calculatedStatus = 'stopped';
this.playLastUpdatedAt = dayjs();
this.currentListenSessionEnd();
}
Expand Down

0 comments on commit 3142101

Please sign in to comment.