added search
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user