How shadesofdeath/shadetube works
ShadeTube is a native music player that uses Spotify for a user’s library and YouTube for matching recordings and audio. The main path is library selection, recording match, stream resolution, decoding and playback. The README also documents YouTube Music browsing, podcasts, downloads and local files, listening together, phone remote, casting, radio, and extensive audio processing. The graph combines those documented capabilities with sampled composition and playback code; unsampled feature internals are represented by their exact source paths, and links not established by excerpts are documented from the README.
Main entry points: Player.cpp Player and queue · App.cpp App composition · AudioEngine.cpp Audio engine · MatchService.cpp Recording match
Components 21
App and library
- App composition
src/app/App.cpp - Player and queue
src/player/Player.cpp - Spotify session
src/spotify/Session.cpp
Catalog and discovery
- YouTube Music catalog
src/ytmusic/YtMusic.cpp - Catalog search
external/YoutubeExplode/src/Search/SearchClient.cpp - Recording match
src/youtube/MatchService.cpp
Playback and audio
- Audio engine
src/audio/AudioEngine.cpp - Media decoding
src/audio/Decoder.cpp - Audio output
src/audio/MiniaudioOutput.cpp - Audio processing
src/audio/Equalizer.cpp
Sharing and devices
- Listen together
src/app/Together.cpp - Phone remote
src/app/RemoteServer.cpp - Device casting
src/app/Casting.cpp
Media management
- Podcasts and feeds
src/app/Podcasts.cpp - Audiobooks
src/app/Audiobooks.cpp - Downloads and sync
src/app/Downloads.cpp - Local library
src/app/LocalLibrary.cpp - Internet radio
src/app/InternetRadio.cpp
Other components
- Listener
- YouTube services
- Playback devices
Connections 24
- Listener → App composition: uses
README.md - App composition → Player and queue: controls
- App composition → Spotify session: signs in
README.md - Spotify session → Player and queue: provides library
README.md - App composition → YouTube Music catalog: browses
README.md - Player and queue → Recording match: requests match
README.md - Recording match → YouTube services: finds recording
README.md - Recording match → Catalog search: searches candidates
- YouTube services → Audio engine: provides stream
- Audio engine → Media decoding: decodes stream
- Audio engine → Audio processing: processes audio
- Audio engine → Audio output: renders audio
- Listener → Podcasts and feeds: browses
README.md - Listener → Audiobooks: browses
README.md - Player and queue → Downloads and sync: queues downloads
README.md - Listener → Local library: opens files
README.md - Listener → Internet radio: browses stations
README.md - Listener → Listen together: starts session
README.md - Listen together → Player and queue: shares playback
README.md - Listener → Phone remote: controls remotely
README.md - Phone remote → Player and queue: controls playback
README.md - Listener → Device casting: selects device
README.md - Device casting → Playback devices: streams to
README.md - Device casting → Player and queue: returns playback
README.md