aa440eda69c533fd3a2b7a8f138897255d97228e
Music playback produced no audio: with `-o -` yt-dlp streams media on stdout and emits its `--print` title/duration headers on stderr, but resolveMediaUrl read them from stdout — stripping two binary 'lines' off the WebM container and corrupting the stream (player 'playing' but silent). Now headers are read from stderr and the stdout media stream is returned untouched. Screenshare was failing with EACCES: getDirectScreenInput used --no-simulate, making yt-dlp write .f*.part files into the read-only Nix store CWD. Dropped it — simulate mode still returns requested_formats[].url in the JSON. Adds tests/mediaResolve.test.ts (stderr-header + untouched-stream regression).
Description
Bete Discord moderation watcher
26 MiB
Languages
TypeScript
97.2%
Nix
0.9%
Shell
0.8%
CSS
0.7%
PLpgSQL
0.4%