Repository navigation
v1.10.0
(v1.10.0) Configurable Playback Sources & Share/Direct Link Support
Elite Music v1.10.0 makes playback sources a first-class feature: /play and /playnext can use Plex, Subsonic, Jellyfin and YouTube in a configurable order, or a specific source for one request. It also adds generic share-page resolution, direct URL streaming and real durations for finite files.
Configurable playback sources
PLAYBACK_SOURCE_ORDERcontrols which sources/playand/playnextuse, in priority order.- Song metadata is extracted first, then each configured source is checked until one returns a confident match.
- A single match plays immediately; multiple matches open a source-specific selection menu.
/searchuses the same order but lists confident matches from every configured source.- Queue responses show which audio source provided the track.
- Available sources are
plex,subsonic,jellyfinandyoutube. defaultis still accepted as a deprecated alias foryoutube.CFG_VERSIONis now2.3.
Playback source option
/playand/playnextaccept an optionalplaybackoption withauto,youtube,plex,subsonicandjellyfin.autofollows the configured order; a named source restricts that request to the chosen source.- Disabled or out-of-order sources reply with a clear error instead of silently falling back.
- The option is ignored for playlists and direct links.
- All five choices are shown on every server; disabled addons use the existing "currently disabled" reply.
Share pages and direct links
- Public Nextcloud/ownCloud shares and other pages that expose
og:audio,<audio>/<source>, alternate links, JSON-LD or a static media URL are resolved automatically. - Share pages are only inspected after normal extraction returns no tracks on an unknown host, so existing extractor playback is unchanged.
- Unknown direct URLs returning audio, video, Ogg or generic binary content are queued as direct streams.
- Finite direct files are probed for their duration and tags; live streams and responses without a content length keep the LIVE indicator.
- The new resolver only fetches public HTTP(S) URLs; private, loopback and link-local addresses are refused.
YouTube playback
- YouTube is an explicit, optional source: leave
youtubeout ofPLAYBACK_SOURCE_ORDERto never stream from YouTube. - Upgraded
discord-player-youtubeito 3.1.0, bringing youtubei.js 18 and SABR stream support. - Text searches use the YouTube extractor again, preventing SoundCloud from claiming them.
- The YouTube extractor no longer claims arbitrary and file URLs, removing the peer/adaptive/SABR error spam during direct playback.
- The yt-dlp fallback remains available.
Dependencies and runtime
- Node 24 or newer is required.
- Updated
discord.jsto 14.28.1,discord-api-typesto 0.38.58,youtube-dl-execto 3.1.19,sodium-nativeto 5.2.0,semverto 7.8.6 andprettierto 3.9.10. - Updated
@discordjs/opusto 0.11 anddotenvto 18, and pulled theundiciTLS renegotiation fix. - Added
simple-ytdl-core, which the 3.1.0 extractor bundle requires but does not declare. - Pinned
@snazzah/daveyto 0.1 while discord-voip lacks 0.2 support, fixing voice audio dropping out shortly after playback starts. - Declared
mediaplexas a direct dependency for duration probing; it was already installed through discord-player.
Localisation and documentation
- The
playbackoption, its choices and errors are translated across every supported locale. - README guidance covers playback sources, share pages, direct links and the public-address limits.
Fixes
- Plex tracks without artwork no longer break now-playing and pause responses.
- Direct tracks are fetched through Node and piped into FFmpeg, avoiding the Docker FFmpeg HTTPS crash on some shares.
- The
playerStarthandler no longer crashes if a track ends before the cover image is ready.
Full changelog: v1.9.3...v1.10.0