Hey everyone! As some of you might know, I was getting pretty tired of the foo_youtube plugin breaking every other week because of yt-dlp updates or other random issues, so I went ahead and made my own replacement.

I’m happy to present foo_ytpyp, an open-source YouTube component for foobar2000 (64-bit, v2.0+) that streams YouTube without needing yt-dlp, Python, Node.js, or a browser. Huge thanks to @Aryan for adding support for playlists, channels, mixes, and more. I think it is in good shape to be used now.

What’s inside?
Features
• Instant playback and seeking: if you compare it with foo_youtube + yt-dlp, this starts playing the YouTube media within 1–2 seconds the moment you press Enter on a video, and seeking is instant too. It genuinely feels like you are playing a local file off your drive.
• Paste any YouTube link or ID: supports regular video URLs, youtu.be links, Shorts, live streams, YouTube Music links, playlists, mixes, channels, or even just the 11-character video ID. You can paste multiple links at once too.
• Built with Rust and C++: uses a custom Rust library (ytpipe_core) that talks directly to YouTube's InnerTube API using a pipeline stream extractor method, hooked into a native C++ foobar2000 input component.
• Handles long pauses and connection drops: if you pause for hours or your PC goes to sleep, it quietly grabs a fresh link and resumes where you left off. It also retries if your internet drops mid-song.
• Works with old foo_youtube playlists: recognizes old fy+https://... links, so your existing playlists won't break if you switch over.
• No login needed: talks straight to YouTube's servers with no accounts, cookies, or middleman servers.
to get this
github repository: github.com/amanKG777/foo_ytpyp
releases page: github.com/amanKG777/foo_ytpyp…
to install:
file>Preferences>components, click install and choose the .fb2k-component file, then restart foobar.
enjoy!

in reply to Amir
@amir @serrebi Obviously this can be used as far as I know, though it very much depends on how you implement it. for the core library there's a separate repository. (github.com/amanKG777/lib_YTPYP).
in reply to aman
Does it support supplying cookies if I want to, for age restricted videos etc? And are we certain this won't immediately break in a week when YouTube changes something else? The reason the yt-dlp dance is so involved is because YouTube are constantly moving the goalposts. @Aryan
This entry was edited (Thursday, November 26, 2026, 4:46 PM)
in reply to aryan
I presently use a batch file that calls yt-dlp with --cookies-from-browser and dumps to a cookies.txt file, which is in the location foo_youtube expects it to be in. It has a checkbox to enable persistent cookie storage. This is needed because YouTube has cross-domain cookies that using an extension to export youtube.com alone doesn't work. Chrome users can use a get cookies.txt locally. @Aman
in reply to x0
@x0 not yet, as for youtube breaking it, its been working for a few week's in an android app we made, but well, youtube is youtube, and they could break this thing at any time. its faster than foo youtube though.
@x0