I might look into it myself, definitely curious but i’m always cautious with open source projects when committing a decently sized PR - yea that’s a great way to keep the knives sharp
surprised no mention of yt-dlp https://github.com/yt-dlp/yt-dlp - has support for (currently supported: best (default), aac, alac, flac, m4a, mp3, opus, vorbis, wav
its def crappy; sorry