How team-spotube/spotube works
Spotube is documented as a cross-platform, plugin-extensible music streaming app with local playback controls, downloadable tagged tracks, and time-synced lyrics. The available source shows native launch shells and an Android home-player widget, but not the main Flutter music workflow or its plugin, download, and lyrics implementations. The graph therefore focuses on evidenced platform entry points and Android widget behavior; documented but unsampled capabilities are noted rather than assigned invented source paths or connections.
Main entry points: HomePlayerWidget.kt Home player · main.cpp Windows entry · main.cc Linux entry · MainActivity.kt Android entry
Components 14
Platform shells
- Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Linux entry
linux/main.cc - Linux application
linux/my_application.cc - Android entry
android/app/src/main/kotlin/oss/krtirtho/spotube/MainActivity.kt - iOS widget
ios/HomePlayerWidget/HomePlayerWidget.swift - Older releases
website/src/modules/downloads/older/releases.tsx - Supporters page
website/src/modules/root/supporters.tsx
Android player widget
- Home player
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt - Track model
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/models/Track.kt - Track details view
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/widgets/TrackDetailsView.kt - Track progress view
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/widgets/TrackProgress.kt - Asset image provider
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/widgets/FlutterAssetImageProvider.kt
Other components
- App user
Connections 10
- App user → Windows entry: launches
windows/runner/main.cpp - Windows entry → Flutter window: creates window
windows/runner/main.cpp - App user → Linux entry: launches
linux/main.cc - Linux entry → Linux application: creates app
linux/main.cc - App user → Android entry: opens app
- Home player → Android entry: opens app
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt - Home player → Track model: parses track
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt - Home player → Track details view: renders details
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt - Home player → Track progress view: renders progress
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt - Home player → Asset image provider: uses provider
android/app/src/main/kotlin/oss/krtirtho/spotube/glance/HomePlayerWidget.kt