diff --git a/src/renderer/src/components/song/song-queue/SongQueue.tsx b/src/renderer/src/components/song/song-queue/SongQueue.tsx index ef9a83d8..b8176375 100644 --- a/src/renderer/src/components/song/song-queue/SongQueue.tsx +++ b/src/renderer/src/components/song/song-queue/SongQueue.tsx @@ -52,7 +52,7 @@ const SongQueue: Component = () => { selected.classList.remove("selected"); } - const path = song.path.replaceAll('"', '\\"').replaceAll("\\", "\\\\"); + const path = song.path.replaceAll("\\", "\\\\").replaceAll('"', '\\"'); const element = view.querySelector(`.song-item[data-path="${path}"]`); element?.classList.add("selected");