Repository navigation
(v1.10.2) Local-First Search, Reliable Link Matching & Extractor Routing
Elite Music v1.10.2 fixes the ways /play could miss a song you already own. Text queries no longer depend on a YouTube extraction, links are matched against your library by title, duration and artist, and Spotify, Apple Music and SoundCloud links reach their own extractors again. Slow searches also stop hitting Discord's three-second interaction limit.
Local-first text search
/playand/playnextsearch Subsonic, Plex and Jellyfin directly for text queries, using the same search as the dedicated commands.youtuberuns the extractor only at its position inPLAYBACK_SOURCE_ORDER; text queries stop at the first source with results./searchqueries every configured source with the text instead of matching against an extracted track.- URLs still extract first, because the link has to be identified before it can be matched.
Reliable link matching
- Link matching is rebuilt around the song title:
(Audio),(Video), bracketed label tags,feat.and pipe suffixes are stripped before searching, while&, accents and Cyrillic are preserved. - Up to four merged queries are used, including both sides of an
Artist - Songsplit. - Candidates are ranked by title 55% / duration 30% / artist 15%; the artist is a ranking signal instead of a hard veto.
- Both
Artist - SongandSong - Artisttitle shapes are handled. - Exact titles with a matching artist play immediately; remixes and live versions need a close duration, otherwise they open the picker.
Extractor routing
- The YouTube extractor now only accepts the query types discord-player classifies as YouTube or a text search.
- Spotify, Apple Music, SoundCloud and Vimeo links reach their own extractors again instead of returning an empty result.
music.youtube.com, Shorts,/live,/clip,youtu.beand playlists stay on the YouTube extractor.
Interaction timing
/play,/playnextand/searchacknowledge the interaction before searching, so slow extractor lookups no longer hit Discord's three-second limit.
Notes
- No configuration or database migration is needed; existing
PLAYBACK_SOURCE_ORDERvalues keep working. - A pasted link still only plays from a source in the order. With
subsonicalone, a YouTube link plays when it matches a local track and reports no source otherwise. - YouTube playlists are imported as before, independent of the source order.
- Added
npm run audit:playback, a read-only matcher audit against your own library.
Full changelog: v1.10.1...v1.10.2