Updated music system

This commit is contained in:
2025-03-01 21:40:35 +01:00
parent dae76df165
commit 2d21b0874f
5 changed files with 868 additions and 177 deletions

View File

@@ -19,9 +19,11 @@ export default {
const player = useMainPlayer()
const { tracks } = await player.search(focusedOption.value, {
searchEngine: QueryType.YOUTUBE_SEARCH
searchEngine: QueryType.SPOTIFY_SEARCH
})
console.log(tracks)
const results = tracks.map(track => ({
name: `${track.title.slice(0, 20)} [${track.author}]`,
value: track.url