Skip to content

release: merge v3 into dev for v3.10.0 - #260

Open
1Lucas1apk wants to merge 344 commits into
v3from
dev
Open

1Lucas1apk wants to merge 344 commits into
v3from
dev

Conversation

@1Lucas1apk

Copy link
Copy Markdown
Member

Summary

Consolidates the accumulated changes from v3 into dev as preparation for the v3.10.0 release.

This merge brings the existing development history together and establishes the next release baseline.

Release

Target version: 3.10.0

Notes

  • Preserve the existing changes from both branches.
  • Resolve conflicts without discarding unrelated work.
  • Verify the build and distribution workflows.
  • Prepare the release after successful integration.

1Lucas1apk and others added 14 commits November 3, 2026 13:29
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>
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


3 out of 4 committers have signed the CLA.
✅ (1Lucas1apk)[https://github.com/1Lucas1apk]
✅ (ToddyTheNoobDud)[https://github.com/ToddyTheNoobDud]
✅ (GDjkhp)[https://github.com/GDjkhp]
❌ @mahfuz-rahman007
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

1Lucas1apk and others added 15 commits November 7, 2026 16:42
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.
ToddyTheNoobDud and others added 9 commits November 29, 2026 11:41
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.
1Lucas1apk and others added 20 commits December 1, 2026 12:34
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants