Ossë
Can’t listen to podcasts enough? Are you thriving in this new modern context switching world? Then you are probably like me and can listen to a podcast at 2x speed while there’s music playing in the background. This is where Ossë comes in: Your personal dual track podcast player.
With Ossë, you can listen to your favorite podcasts while also having a second audio track playing in the background. Both tracks offer an individual volume and playback-speed slider, which can be configured on a per podcast basis. You can select a podcast from your subscriptions and query YouTube for some background audio. Hit play and enjoy the mayhem.
Ossë went from an experimental side project to currently my daily driver for podcast consumption. It was quite a bumpy road to get there so let’s dive in and discuss.
Rationale
For years I have been listening to podcasts during commute, sports, chores or renovations around the house and walking our dog. Sometimes, I also listen to audio books and it would probably not surprise you when I tell that The Lord of the Rings (LOTR) audio book created by Phil Dragash is my favorite by far. What makes the audio book so great is the fact that the original music from the Peter Jackson LOTR movie trilogy is playing in the background.
Hence the name Ossë: Ossë was a Maia of Ulmo, Vala of the seas, associated with waves, sound, and the music of water. Multiple voices, one current. Seduced by Melkor raging storms across Arda.
So I figured why can’t I listen to podcasts, while listening to music while I’m on a run, just like with audiobooks. And another thing that bothers me is the fact that modern podcast players like PocketCasts or CastBox are so bloated with functionality nobody ever asked for. In the past I used Google Podcasts which was just a very simple podcast player but it joined the Google Graveyard a few years ago.
Another variable in this journey is that I wanted to experiment with building a project 100% using AI. As of today, I have not written a single line myself while steering AI towards success. When I started Ossë, I was using AI at work a lot but reviewing all the code it wrote. Nowadays we have a far more rigorous process at work to engineer with AI that we trust it more. However, I used the Ossë project to experiment with popular skills like superpowers or grill-me in my private time, as I tend to do. I’ll admit, things did not go smooth all the time. The project took a few interesting turns… So lets dive into the problems me and claude encountered along the way.
Disclaimer: Ossë probably violates one (or more :D) Google Play Store policies since it’s downloading content straight from YouTube with some clever workarounds. Ossë is strictly for personal use and will not be found on the PlayStore.
DevLog
Multi-track was the easy part: Two ExoPlayer instances behind a foreground MediaSessionService, each with its own volume and pitch-corrected speed. Media3 handles this fine, and it worked more or less on the first attempt. If the whole project had been this smooth there wouldn’t be much of a devlog to write. It wasn’t, and the reason was almost always the same word: YouTube.
Round one: going native: I didn’t want a companion server sitting on the device just to run yt-dlp, so the first plan was a Go library (kkdai/youtube), cross-compiled to an Android .aar with gomobile and dropped straight into the APK. No Python, no second process, fully self-contained. It also came with a free tour of native-Android pain: the Pixel emulator’s 16K page size demanded a specific ELF alignment flag or the library wouldn’t load at all; the x86_64 emulator ran the ARM64 binary through a translation layer that SIGILL’d on instructions it didn’t recognize, which meant building for two architectures just so the thing would boot in a dev environment nobody will ever ship to; and at one point returning a plain Go struct across the JNI boundary crashed the whole app with a SIGILL for reasons that took a disassembly session to track down (verdict: encode it as JSON and parse it on the Kotlin side like a civilized person).
Then YouTube just said no. None of that mattered once YouTube’s anti-bot layer caught up. The client kkdai/youtube used got rejected outright by the PoToken check, and the clients that were still allowed through, the library couldn’t even parse: “cipher not found.” I ran the exact same URL through real yt-dlp to make sure it wasn’t a bug in my code, and got the identical rejection. That was oddly reassuring and completely useless at the same time.
So I did the thing you do when you’re in too deep to stop: built a WebView based BotGuard bridge to mint PoTokens myself and feed them into NewPipeExtractor’s token interface. Then, before shipping it, I disassembled the exact pinned NewPipeExtractor jar to double check the plumbing, and found that nothing in the real extraction path ever calls the method my bridge was built to satisfy. All that WebView ceremony, zero call sites. It’s parked on a branch in case a future version needs it, and the whole Go toolchain (gomobile, the NDK, the committed .aar) got deleted from the project outright. NewPipeExtractor’s own Android client path, pure Java, no native code anywhere, just worked. Sometimes the fix for “I built a very clever thing” is “delete the very clever thing.”
The freeze that only showed up once I put the phone in my pocket. While testing, music playing, then silence, every single time, two or three minutes after backgrounding the app. Not a crash. dumpsys showed the process getting frozen by Android’s background freezer, with zero foreground notification ever posted despite audio clearly playing seconds earlier. Root cause: one MediaSession getting rebound between the podcast and music track depending on which one was active, and Media3’s automatic “you’re playing, stay foreground” logic only ever listens to whichever player the session was originally built with. Rebind it and that signal silently stops arriving. Fixed by taking startForeground/stopForeground into my own hands instead of trusting Media3 to notice.
And bypassing that default broke a second default I didn’t know existed. Once I was managing the foreground notification myself, swiping the app away in Recents started killing playback outright, even mid episode. Turned out onTaskRemoved()’s decision to kill the service checks Media3’s own internal notification manager, not the actual player state. I’d quietly made that check always return false. Found it by disassembling Media3’s own AAR bytecode, which is not a sentence I expected to type about a podcast app.
The tests were resetting my own subscriptions. For a while, every instrumented test run against my daily use phone quietly uninstalled my real app afterward, standard Android test cleanup, applied to the same package I was actually using. I lost subscriptions and cached downloads more than once before I figured out it wasn’t a bug, it was Gradle doing exactly what it’s told. Fixed with a dedicated test only application ID so the two can never collide again.
And finally, earbuds don’t read the spec. My double press to skip logic assumed two raw play/pause key events within 300ms. My actual earbuds do their own gesture recognition and report a double tap as a single, different keycode, which an emulator’s synthetic key events will never reproduce. This one only ever showed up on a real walk with real earbuds.
Somewhere in the middle of all this I also ran a chunk of the work through subagent driven development: a team of implementer agents splitting a feature into tasks. One of them flatly refused to run a git commit even after I told it, directly, that the user had approved it, because I was relaying that approval, not the user themselves saying it to it. Mildly inconvenient in the moment, and exactly the kind of paranoia I’d want from something I’m handing write access to my own repo.
Ossë’s been my actual daily podcast driver for a while now. It survives being backgrounded (smeagol vibes), swiped away, having its battery die mid episode, and it remembers where I left off. It took a genuinely bumpy road to get there. Most of the bumps were YouTube’s fault, right?