mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat: add Last.fm URL support and improve track search accuracy
- Add Last.fm URL parsing to %play command (e.g. %play https://last.fm/music/Drake/_/Make+Them+Cry) - Add freeform Last.fm search via %play lastfm:<query> (e.g. %play lastfm:soda pop) - Pass trackMeta through Player.play() for accurate scrobbling from Last.fm results - Improve searchTrack() scoring to penalize non-song results (lyric videos, official videos, covers, remixes) - Penalize label/production company artists (e.g. "Sony Pictures Animation") in search results - Penalize quoted track names (e.g. "Soda Pop" Official Lyric Video) - Prefer clean /music/Artist/_/Track URL format in Last.fm search ranking
This commit is contained in:
1 parent
c3f1bd3089
commit
dc0184b0c0
5 files changed
+327
-6
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ export const command = new CommandBuilder()
|
||||
o.setName("provider")
|
||||
.setDescription("The search provider. Default: YouTube Music.", "options.search.provider")
|
||||
.addChoices(...PROVIDER_CHOICES)
|
||||
.setDefault("yt")
|
||||
.setDefault("ytm")
|
||||
.addFlagAliases("p", "u", "use")
|
||||
, true)
|
||||
.addTextOption(o =>
|
||||
|
||||
Reference in new issue
Block a user