How ahxn00/owntv_mobile works
OwnTV Mobile is an Android IPTV client: users configure their own provider or playlist, browse live and on-demand content, then play, record, download, or sync it. The app is primarily a Compose phone/tablet interface; the README assigns parsing, persistence, EPG, sync, backup, and playback decisions to the shared OwnTV core library. The map preserves those documented capabilities, but their internal wiring is outside this repository and was not sampled.
Main entry points: MobileNavHost.kt Navigation host · PlayerScreen.kt Player screen · GuideScreen.kt TV guide · LiveScreen.kt Live channels
Components 23
App shell
- Android activity
app/src/main/java/tv/own/owntv/mobile/MainActivity.kt - App root
app/src/main/java/tv/own/owntv/mobile/OwnTVMobileApp.kt - Mobile shell
app/src/main/java/tv/own/owntv/mobile/ui/shell/MobileShell.kt - Navigation host
app/src/main/java/tv/own/owntv/mobile/ui/nav/MobileNavHost.kt
Sources and guide
- Source setup
app/src/main/java/tv/own/owntv/mobile/ui/setup/SetupFlow.kt - TV guide
app/src/main/java/tv/own/owntv/mobile/ui/screens/guide/GuideScreen.kt
Browse and library
- Live channels
app/src/main/java/tv/own/owntv/mobile/ui/screens/live/LiveScreen.kt - Home rows
app/src/main/java/tv/own/owntv/mobile/ui/screens/home/HomeScreen.kt - Movies and series
app/src/main/java/tv/own/owntv/mobile/ui/screens/library/LibraryScreen.kt - Content details
app/src/main/java/tv/own/owntv/mobile/ui/screens/library/DetailScreen.kt - Unified search
app/src/main/java/tv/own/owntv/mobile/ui/screens/search/SearchScreen.kt
Playback
- Player screen
app/src/main/java/tv/own/owntv/mobile/ui/player/PlayerScreen.kt - Playback tuners
app/src/main/java/tv/own/owntv/mobile/ui/screens/live/LiveTuner.kt - Cast handoff
app/src/main/java/tv/own/owntv/mobile/cast/CastController.kt - Playback service
app/src/main/java/tv/own/owntv/mobile/playback/PlaybackService.kt - Multiview
app/src/main/java/tv/own/owntv/mobile/ui/screens/multiview/MultiviewScreen.kt
Profiles and utilities
- Downloads
app/src/main/java/tv/own/owntv/mobile/ui/screens/downloads/DownloadsScreen.kt - Recordings
app/src/main/java/tv/own/owntv/mobile/ui/screens/recordings/RecordingsScreen.kt - Profiles
app/src/main/java/tv/own/owntv/mobile/ui/profiles/ProfilesViewModel.kt - Settings and sync
app/src/main/java/tv/own/owntv/mobile/ui/screens/settings/SettingsScreen.kt
Other components
- Viewer
- OwnTV core
- Cast receiver
Connections 37
- Viewer → Android activity: opens app
- Android activity → App root: hosts UI
- App root → Mobile shell: starts shell
- Mobile shell → Navigation host: routes screens
- Navigation host → Source setup: opens setup
- Navigation host → Home rows: opens home
- Navigation host → Live channels: opens channels
- Navigation host → TV guide: opens guide
- Navigation host → Movies and series: opens library
- Navigation host → Content details: opens details
- Navigation host → Unified search: opens search
- Navigation host → Player screen: opens player
- Navigation host → Multiview: opens multiview
- Navigation host → Downloads: opens downloads
- Navigation host → Recordings: opens recordings
- Navigation host → Profiles: opens profiles
- Navigation host → Settings and sync: opens settings
- Source setup → OwnTV core: imports sources
- Home rows → OwnTV core: loads rows
- Live channels → OwnTV core: loads channels
- TV guide → OwnTV core: loads guide data
- Movies and series → OwnTV core: loads catalog
- Content details → OwnTV core: loads details
- Unified search → OwnTV core: searches catalog
- Live channels → Player screen: selects stream
- TV guide → Player screen: selects programme
- Content details → Player screen: starts playback
- Player screen → Playback tuners: controls playback
- Playback tuners → OwnTV core: uses playback engine
- Playback tuners → Cast handoff: offers stream
- Cast handoff → Cast receiver: loads media
- Cast handoff → Playback service: starts service
- Player screen → Multiview: opens tiles
- Downloads → OwnTV core: manages downloads
- Recordings → OwnTV core: manages recordings
- Profiles → OwnTV core: loads profiles
- Settings and sync → OwnTV core: configures sync and backup