Repository navigation
release: merge v3 into dev for v3.10.0 - #260
Open
1Lucas1apk wants to merge 344 commits into
Open
1Lucas1apk wants to merge 344 commits into
1Lucas1apk wants to merge 344 commits into
Conversation
Validate ADTS headers and wait for complete frames before decoding. Drain pending AAC chunks without losing callbacks. Preserve pipeline listeners during resource and crossfade teardown. Forward stream failures through destroy(error) to avoid duplicate errors and uncaught exceptions.
MP4 files with Opus audio now play instead of failing with "No supported track found in MP4". Supports mono and stereo audio, filters, crossfade, and seeking in standard MP4 files. Fragmented MP4 playback works, but seeking remains unsupported for now. Also fix seeking for extensionless URLs, such as YouTube videoplayback links, by using the detected content type when no format hint is available.
i pasted the wrong url. lol.
Fix a loop that could get stuck processing the same audio, especially during silent sections or slow playback. This could drive up CPU usage and freeze other players on the same worker. Positive speed, pitch, and rate values now stay within 0.25–4 to prevent excessive processing. Zero and negative values still produce silence, while NaN and Infinity default to 1. (example: an blank audio file with no audio, using this filter could crash nodelink non-stoply and eat all your ram.)
Close rejected responses before retrying or refreshing the playback URL, preventing unused connections from accumulating during YouTube errors.
Signed-off-by: toddynnn <86982643+ToddyTheNoobDud@users.noreply.github.com>
Docker image: bump Node to 26x (CVE-2026-111497)
Contributor
|
I have read the CLA Document and I hereby sign the CLA 3 out of 4 committers have signed the CLA. |
Source workers now start correctly when a heap limit or --expose-gc is configured, avoiding repeated crashes after an update or restart.
Prevent delayed recovery, startup, and seek operations from stopping or overwriting a replacement track. Keep player commands on their assigned worker when retrying. If that worker disconnects or exits, fail the request instead of sending it to another worker and risking duplicate players. Stateless requests can still retry on another worker.
Enforce strict destination and URI validation in Local, Bandcamp, NicoVideo, Google-TTS, and Flowery sources to prevent path traversal and SSRF via forged encoded tracks.
Avoid reconnecting with the previous channel's server credentials when the new channel ID arrives first. Wait for the updated endpoint or token to prevent temporary DAVE WrongGroupId errors during the move.
Extract video ID, playlist ID, and 1-based index parameter across all YouTube and YouTube Music URL formats. Pass selection context through all clients and resolve selectedTrack accurately in playlist handlers. Add expectedSelectedTrack assertion to the declarative test framework and add test cases covering playlists with index and music seed track.
Covers short youtu.be URLs with index, video ID precedence over conflicting index parameters, and out-of-bounds index fallbacks.
Re-sending the current track now restarts playback unless noReplace is true. Pending tracks also respect noReplace. Keep filter updates made while no track is loaded and apply them to the next track, so clients no longer need to resend filters. This should help fixing some compatibility issues.
Resolve episodes and chapters as tracks, and podcast shows and audiobooks as playlists via the Pathfinder Partner API (GraphQL) with fallback to Spotify embed metadata and oEmbed. Also add support for legacy user playlist URIs, regional embed URLs, and short link redirect resolution (spotify.link and spotify.app.link).
Add support for Pathfinder GraphQL operations: - fetchExtractedColors for track cover art palette extraction - similarAlbumsBasedOnThisTrack for similar album recommendations - searchSuggestions for query autocomplete suggestions - fetchLibraryTracks for authenticated user collection tracks Enrich single tracks simultaneously in parallel without slowing down album or playlist loads. Support spotify:details:ID, spotify:similar:ID, spotify:collection, spsuggest:, and spsimilar: query prefixes.
Add proxy support to Musixmatch lyrics requests to bypass Cloudflare challenges, IP bans and rate limits on datacenter hosts. Support dedicated proxy configuration via lyrics.musixmatch.proxy with fallback to the global ProxyManager pool.
Support multiple rotating proxies via lyrics.musixmatch.proxy array with round-robin selection and automatic rotation on captcha or 403. Also report health metrics to the global ProxyManager.
Add pattern matching and search query extraction for YouTube Music (/search?q=...) and standard YouTube (/results?search_query=...) browser search URLs directly in YouTubeSource.resolve.
Add pattern matching and browseId resolution for YouTube Music (/browse/...) and YouTube browse URLs, resolving canonical album playlists directly.
Read the sample rate as an unsigned value so 48 kHz AAC no longer falls back to 44.1 kHz and plays too slowly.
Copy wrapped input once per chunk instead of once per tag. In a single-demuxer test with no players, reading one YouTube itag 251 fixture in 64 KiB chunks cut wrapped copies from 15,795 to 88 and copied bytes from 521.1 MB to 5.8 MB (98.9% less). At 4,093 bytes per chunk, copied bytes fell from 3.25 MB to 0.68 MB. At 16 KiB, they were unchanged.
Reuse the playback pipeline's input buffer for aligned PCM chunks. A direct transformer comparison with no players processed 90 chunks with AGC off and 90 with AGC on. It avoided 150 output-buffer allocations totaling 255,896 bytes.
Request only the playlist from Android Radio. Fall back to the full response when the filter is rejected or returns no tracks.
Only reuse decoder-owned buffers for volume lookahead.
Fix the WebSocket fallback and delegated live chat on Bun. Send initial gateway frames after the HTTP upgrade so clients receive ready promptly. Use the shared HTTP transport to preserve binary responses, redirects, and timeouts across Bun and Node.js. Avoid intermediate copies in buffered responses and use Bun.file for local audio reads. Resolve worker entry points relative to their modules and report unsupported profiler operations explicitly.
Previously, every Opus instance set aside memory for both encoding and decoding as soon as it was created. Voice Opus 2.0.1 waits until each operation is needed before allocating its codec state and working buffers. NodeLink uses separate instances for encoding and decoding. An instance that only encodes audio now skips the decoder allocations, and one that only decodes skips the encoder allocations. An instance can still do both; it allocates each side when it first needs it.
Share expiring URLs and in-flight renewals through the existing track cache. Invalidate only the rejected generation and discard offsets on URL changes. Abort pending HTTP, MP4 and HLS requests when the Player cancels playback.
Wait for a voice update with a fresh token before dialing again. Keep reporting the close to clients and preserve retries after transport failures.
Send one Opus packet at a time during WebM playback, even when several are buffered.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates the accumulated changes from
v3intodevas preparation for thev3.10.0release.This merge brings the existing development history together and establishes the next release baseline.
Release
Target version:
3.10.0Notes