Files
kingston add5c68a9a ytaudio: stream yt-dlp into growing file for Lavalink local source
Lavalink's local loader rejects FIFOs and nonexistent files, but loads a
regular file instantly even while it grows. Spawn yt-dlp with -o - writing
into a pre-created regular file, wait until >=64KB is present, then load the
path so the node's ffmpeg decodes it live. Skipping kills the process and
deletes the file; falls back to mp3 download if streaming fails.
2026-10-09 19:42:48 -05:00
..