Skip to content

v1.10.0

Choose a tag to compare

@ThatGuyJacobee ThatGuyJacobee released this 10 Nov 00:33
· 30 commits to main since this release

(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_ORDER controls which sources /play and /playnext use, 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.
  • /search uses 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, jellyfin and youtube.
  • default is still accepted as a deprecated alias for youtube.
  • CFG_VERSION is now 2.3.

Playback source option

  • /play and /playnext accept an optional playback option with auto, youtube, plex, subsonic and jellyfin.
  • auto follows 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 youtube out of PLAYBACK_SOURCE_ORDER to never stream from YouTube.
  • Upgraded discord-player-youtubei to 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.js to 14.28.1, discord-api-types to 0.38.58, youtube-dl-exec to 3.1.19, sodium-native to 5.2.0, semver to 7.8.6 and prettier to 3.9.10.
  • Updated @discordjs/opus to 0.11 and dotenv to 18, and pulled the undici TLS renegotiation fix.
  • Added simple-ytdl-core, which the 3.1.0 extractor bundle requires but does not declare.
  • Pinned @snazzah/davey to 0.1 while discord-voip lacks 0.2 support, fixing voice audio dropping out shortly after playback starts.
  • Declared mediaplex as a direct dependency for duration probing; it was already installed through discord-player.

Localisation and documentation

  • The playback option, 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 playerStart handler no longer crashes if a track ends before the cover image is ready.

Full changelog: v1.9.3...v1.10.0