Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
594 stars 190 forks source link

Youtube Music search #804

Closed ttoino closed 2 years ago

ttoino commented 3 years ago

Describe the feature you would like Ability to search for songs from Youtube Music.

Expected behavior

player.search(query, {
    requestedBy: message.author,
    searchEngine: QueryType.YOUTUBE_MUSIC_SEARCH
})

Additional context Playing songs from Youtube Music is already supported, so this would only require a new QueryType. Using youtube-music-api seems to be the best option, allowing you to search only songs (as videos are already covered by QueryType.YOUTUBE_SEARCH). Additionally, this would provide a better way to handle Spotify tracks, as the current implementation usually plays music videos that have interludes, preludes or sound effects over top the music.

lostful commented 3 years ago

Vouch.

twlite commented 2 years ago

I guess we wont implement this in the library. Could you try using the Extractors API?

FreshImmuc commented 10 months ago

+1