added search

This commit is contained in:
Patryk Koreń
2025-12-28 11:31:45 +01:00
parent b551cce62a
commit 03c2d35bf0
4 changed files with 57 additions and 7 deletions

View File

@@ -25,6 +25,7 @@ export async function forceRequestSong(
const path = await getAudioFile(url)
queue.songList.push(path)
queue.current = path
playSong(player, path);
}
@@ -36,6 +37,7 @@ export async function updatePlayer() {
queue.current = null
return
};
queue.current = nextSong;
playSong(player, nextSong);
}
}