Skip to content

Commit

Permalink
Update now_playing listen submission mechanism
Browse files Browse the repository at this point in the history
After a merge conflict resolution.
See #2859 for context
  • Loading branch information
MonkeyDo committed May 16, 2024
1 parent 318a458 commit 0504334
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/js/src/common/brainzplayer/BrainzPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,9 @@ export default function BrainzPlayer() {
},
() => {
updateWindowTitleWithTrackName();
if (!playerPaused) {
submitNowPlayingToListenBrainz();
}
}
);
if (playerPaused) {
Expand Down Expand Up @@ -792,8 +795,6 @@ export default function BrainzPlayer() {
handleInfoMessage(message, `Playing a track`);
}
});

submitNowPlayingToListenBrainz();
};

const clearQueue = async (): Promise<void> => {
Expand Down

0 comments on commit 0504334

Please sign in to comment.