A private music platform that harvests YouTube playlists, fingerprints every track via Shazam, and serves a curated library through live genre radio channels backed by Backblaze B2.
Overview
Maxtube began as a simple playlist archiver and grew into a full media pipeline. It monitors YouTube playlists for new videos, downloads the audio, and runs each track through Shazam fingerprinting to identify artist, album, genre, and release year — building a structured music catalogue entirely from raw downloads.
The finished library is served through a custom streaming interface with persistent cross-tab playback, genre-based radio channels, and signed per-request URLs from B2. No public CDN, no third-party player — everything is built from scratch on Django.
The project is in active daily use on a self-hosted VPS and has processed over 1,400 tracks. PostgreSQL is the planned database backend as the catalogue grows.
Processing pipeline
Tech stack
Design decisions
StreamingHttpResponse. A virtual clock tracks the byte-position of the current track across all listeners, so every browser joining mid-stream lands at the correct offset — no Icecast, no Node.js, no websockets.0xFF 0xEx) and stripping everything before it at yield time.b2_size field on the Audio model, populated once and read from the database instead.