Skip to content
csiewPublic

About

A minimalist CLI podcast client

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

Podzol

Another podcast app?! Yeah, I sometimes just want a podcast app that's barebones in both its feature-set and in storage use (that means streaming only, no downloading of MP3 files... for now).

Podzol is written in Python and uses JSON as a 'medium of storage' rather than a database (e.g. SQLite). The terminal UI uses pygame for audio playback functionality, stdlib curses for the interface, and a class written by sloth (sic) to handle audio streaming. Podcast discovery uses the Apple Podcasts (iTunes Search) API.

Getting Started

To build and run Podzol locally, follow these steps:

  1. Clone the repository and run pip install -r requirements.txt to install all dependencies.
  2. Run ./podzol (boots the terminal UI; needs an interactive terminal — python src/PodzolUI.py works the same way).

User Guide

Podzol is navigated with a keyboard-driven terminal UI. A menu bar (Library Search Settings Quit) is reached with ←/→ and opened with Enter; lists are navigated with ↑/↓; Enter opens or plays the selected item; Esc goes back (and opens the quit confirmation from the library root). Global playback controls work on every screen: space pauses/resumes, s stops, t shows elapsed time in the now-playing bar.

  • Library: your followed podcasts; Enter on a feed opens its episodes; the contextual Delete feed menu item removes one (with confirmation).
  • Search: type a query, Enter runs it against the Apple Podcasts catalogue (storefront from Settings, default AU); Enter on a result adds the podcast to your library.
  • Settings: Enter on country starts an inline edit; a 2-letter storefront code (e.g. GB) is saved to data/config.json and used by later searches.

Known issues

  • Playback needs the episode fully in memory before playing: the decoder (SDL audio-callback thread) holds the mixer mutex while it reads, so any network read there freezes the UI and starves the output buffer. Episodes are therefore downloaded fully in the background (live Downloading: <title> — <n>% progress; nothing written to disk) and handed to pygame as an instant in-memory buffer — playback is continuous and the UI stays responsive throughout. Tradeoff: start latency equals the download time (seconds on fast sources, longer on slow CDN chains like the BBC mediaselector, which previously took ~60s of synchronous probing).
  • Sometimes the audio plays at a deafening loud high-speed. / Sometimes the audio plays in extreme slow motion. Not reproducible with pygame 2.6.1 (SDL_mixer 2.6.3 resamples correctly — verified 1.0× on 22050 Hz / 44100 Hz fixtures, 2026-09-01). The historical reports likely belong to older SDL_mixer versions. AudioPlayer now initialises the mixer with explicit parameters (AudioPlayer(sample_rate=44100)) to keep the configuration pinned.
  • The terminal UI requires macOS/Linux (stdlib curses); Windows terminals need the third-party windows-curses package (not installed by this repo). Non-interactive runs print a message and exit.

Future changes

  1. Podzol will store its JSON files in ~/.local/share/ in Linux and macOS.
  2. Use backend for more sophisticated frontend clients like GNOME/GTK or even a SwiftUI Mac app.

About

A minimalist CLI podcast client

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages