chore: show song title

This commit is contained in:
2025-05-19 19:55:14 +02:00
parent 70fe4f2c32
commit 5f70de506a

View File

@@ -140,6 +140,7 @@
if (appState.songQueue.length > 0) {
appState.currentSong = appState.songQueue[0];
appState.duration = appState.currentSong.duration;
document.title = `${appState.currentSong.title} - ${appState.currentSong.artists}`;
} else {
appState.error = 'No songs available.';
}