How ivadzf/aotv works
AOTV is an Android app for discovering and watching movies, series, and live TV on phones and Android TV. The main workflow is browse/search TMDB-backed catalogs, inspect a title, resolve and rank addon-provided video sources, then play a source. Other documented branches include collections, live TV, downloads, debrid, accounts, and watch parties. The README supports the product capabilities and high-level flows; source excerpts and the index expose only selected implementation links, so other internal connections are omitted.
Main entry points: MoviesNavigation.kt App navigation · PluginService.kt Addon service · MoviePlayerScreen.kt Video player · TmdbApiService.kt TMDB catalog API
Components 25
Catalog and discovery
- Home and discovery
app/src/main/java/com/aotv/app/ui/movies/MoviesHomeScreen.kt - Media search
app/src/main/java/com/aotv/app/ui/movies/MediaSearchScreen.kt - Title details
AOTV-Android/app/src/main/java/com/aotv/app/ui/movies/MovieDetailScreen.kt - Media model
app/src/main/java/com/aotv/app/domain/model/MovieItem.kt - TMDB catalog API
app/src/main/java/com/aotv/app/data/remote/TmdbApiService.kt
Sources and playback
- Addon management
app/src/main/java/com/aotv/app/ui/settings/AddonManagerScreen.kt - Addon service
app/src/main/java/com/aotv/app/data/plugins/PluginService.kt - Plugin runtime
app/src/main/java/com/aotv/app/data/plugins/PluginEngine.kt - Plugin storage
app/src/main/java/com/aotv/app/data/plugins/PluginStore.kt - Source selection
app/src/main/java/com/aotv/app/data/remote/SourceRanking.kt - Video player
app/src/main/java/com/aotv/app/ui/movies/MoviePlayerScreen.kt - Debrid services
app/src/main/java/com/aotv/app/data/debrid/DebridService.kt - Torrent streaming
app/src/main/java/com/aotv/app/data/torrent/TorrentMagnet.kt
Live and collections
- Live TV
app/src/main/java/com/aotv/app/data/live/LiveTvRepository.kt - Collections
app/src/main/java/com/aotv/app/data/collections/CollectionsRepository.kt
Profiles and services
- Profile preferences
app/src/main/java/com/aotv/app/data/local/PlatformPrefs.kt - Account import
app/src/main/java/com/aotv/app/data/accounts/AccountImporter.kt - Downloads
app/src/main/java/com/aotv/app/data/repository/DownloadRepository.kt - Watch parties
app/src/main/java/com/aotv/app/data/party/WatchParty.kt
App experience
- App navigation
app/src/main/java/com/aotv/app/ui/navigation/MoviesNavigation.kt - Settings
AOTV-Android/app/src/main/java/com/aotv/app/ui/settings/SettingsScreen.kt
Other components
- Viewer
- TMDB
- Stremio addons
- Live TV sources
Connections 25
- Viewer → App navigation: opens app
README.md - App navigation → Home and discovery: routes to
- App navigation → Media search: routes to
- App navigation → Title details: routes to
- TMDB → TMDB catalog API: provides catalog
README.md - TMDB catalog API → Home and discovery: supplies titles
- TMDB catalog API → Media search: supplies results
- Title details → Media model: displays
AOTV-Android/app/src/main/java/com/aotv/app/ui/movies/MovieDetailScreen.kt - Stremio addons → Addon service: provides video addons
README.md - Addon service → Plugin runtime: runs plugins
app/src/main/java/com/aotv/app/data/plugins/PluginService.kt - Plugin runtime → Plugin storage: reads plugin code
app/src/main/java/com/aotv/app/data/plugins/PluginEngine.kt - Addon management → Addon service: manages addons
- Addon service → Source selection: resolves sources
- Source selection → Video player: selects source
README.md - Viewer → Video player: watches video
README.md - Debrid services → Video player: provides playable links
README.md - Torrent streaming → Video player: streams torrent
README.md - Live TV sources → Live TV: provides channels
README.md - Viewer → Live TV: watches live
README.md - Viewer → Collections: browses collections
README.md - Account import → Profile preferences: imports account data
- Viewer → Downloads: downloads video
README.md - Viewer → Watch parties: joins party
README.md - App navigation → Settings: routes to
- Settings → Profile preferences: configures profile