only show "Paused" if user paused the track
Hunter
Tuesday, October 28th, 2025 at 1:46 PM
57
58 audio.addEventListener('pause', () => {
59 stopProgressBar();
- const song = songs[currentSongIndex];
- updateCurrentSongDisplay(`Paused: ${song.artist} - ${song.title}`);
60 + // Only show "Paused" if the user actually paused (not during track transitions)
61 + if (!audio.ended) {
62 + const song = songs[currentSongIndex];
63 + updateCurrentSongDisplay(`Paused: ${song.artist} - ${song.title}`);
64 + }
65 });
66
67 audio.addEventListener('ended', () => {