StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.
Kotlin iptv-player
refactor(live): move EPG presentation into feature
David Nashash96e9c9b91c0c
diff --git a/app/src/main/java/com/streamvault/app/navigation/graph/LiveGraph.kt b/app/src/main/java/com/streamvault/app/navigation/graph/LiveGraph.ktindex 8b4496d3..bd1b52d8 100644--- a/app/src/main/java/com/streamvault/app/navigation/graph/LiveGraph.kt+++ b/app/src/main/java/com/streamvault/app/navigation/graph/LiveGraph.kt@@ -6,7 +6,6 @@ import com.streamvault.app.navigation.AppRouteCodecimport com.streamvault.app.navigation.AppRoutePatternsimport com.streamvault.app.navigation.playerNavigationRequestimport com.streamvault.app.navigation.toLivePlayerRequest-import com.streamvault.app.ui.screens.epg.FullEpgScreenimport com.streamvault.app.ui.components.shell.AppNavigationChromeimport com.streamvault.app.ui.components.shell.AppScreenScaffoldimport com.streamvault.app.ui.components.dialogs.AddToGroupDialog@@ -19,6 +18,7 @@ import com.streamvault.feature.live.api.LiveArchivePlaybackRequestimport com.streamvault.feature.live.api.LiveChannelPlaybackRequestimport com.streamvault.feature.live.api.LiveAddToGroupDialogRequestimport com.streamvault.feature.live.home.LiveHomeScreen+import com.streamvault.feature.live.epg.LiveEpgScreenimport com.streamvault.feature.live.navigation.registerLiveGraph as registerFeatureLiveGraphinternal fun NavGraphBuilder.registerLiveGraph(@@ -97,7 +97,7 @@ internal fun NavGraphBuilder.registerLiveGraph(onArchivePlaybackRequested,onNavigate,->- FullEpgScreen(+ LiveEpgScreen(currentRoute = AppRoutePatterns.EPG,initialCategoryId = initialCategoryId,initialAnchorTime = initialAnchorTime,@@ -116,7 +116,7 @@ internal fun NavGraphBuilder.registerLiveGraph()},onPlayArchive = { channel, program, categoryId, isVirtual, combinedProfileId, returnRoute ->- if (!channel.isArchivePlayable(program)) return@FullEpgScreen+ if (!channel.isArchivePlayable(program)) return@LiveEpgScreenonArchivePlaybackRequested(LiveArchivePlaybackRequest(channel = channel,@@ -129,6 +129,19 @@ internal fun NavGraphBuilder.registerLiveGraph()},onNavigate = onNavigate,+ scaffold = { route, title, subtitle, topBarVisible, content ->+ AppScreenScaffold(+ currentRoute = route,+ onNavigate = onNavigate,+ title = title,+ subtitle = subtitle,+ navigationChrome = AppNavigationChrome.TopBar,+ topBarVisible = topBarVisible,+ compactHeader = true,+ showScreenHeader = false,+ content = content,+ )+ },)},onPlaybackRequested = { request ->diff --git a/docs/COMPOSE_REDUCTION_PHASE5_TRANSITIONAL_DEPENDENCIES.md b/docs/COMPOSE_REDUCTION_PHASE5_TRANSITIONAL_DEPENDENCIES.mdindex 3ef9a3dc..3ba9180d 100644--- a/docs/COMPOSE_REDUCTION_PHASE5_TRANSITIONAL_DEPENDENCIES.md+++ b/docs/COMPOSE_REDUCTION_PHASE5_TRANSITIONAL_DEPENDENCIES.md@@ -195,3 +195,11 @@ adapters, preserving composition-root ownership of platform and routenavigation. The default Home resource keys were copied into the feature;non-default locale parity, behavior tests, golden/runtime checks, and legacyresource cleanup remain open.++The Guide surface is now feature-owned as `LiveEpgScreen`,+`LiveEpgHeroComponents`, `EpgViewModel`, and the deferred+`LivePlayerTransparentGuideOverlay`. The app graph supplies the typed playback+callbacks and `LiveEpgScaffoldContent` adapter; the feature owns Guide state,+preview lifecycle calls, controls, dialogs, hero/grid composition, and default+EPG strings. EPG behavior tests, non-default locale parity, golden/runtime+checks, and legacy cleanup remain open.diff --git a/docs/superpowers/plans/2026-08-28-live-feature-extraction.md b/docs/superpowers/plans/2026-08-28-live-feature-extraction.mdindex 5018143b..1c9b671c 100644--- a/docs/superpowers/plans/2026-08-28-live-feature-extraction.md+++ b/docs/superpowers/plans/2026-08-28-live-feature-extraction.md@@ -830,7 +830,7 @@ git commit -m "feat(live): move Home presentation into feature"- Consumes: Tasks 2-5 contracts/components and existing EPG repositories/managers/use cases.- Produces: feature-owned `EpgViewModel`, guide state/models, UI/grid/hero/controls/dialogs, preview UI, deferred overlay, resources, and independent tests.-- [ ] **Step 1: Move EPG unit tests first and verify RED**+- [x] **Step 1: Move EPG unit tests first and verify RED**Move `EpgViewModelTest`, `GuideDateTimeTest`, and `ProgramReminderIssueMessageTest`; update packages and replace app/Playback fixtures with live-port fakes.@@ -842,11 +842,17 @@ Run:Expected: FAIL because feature-owned EPG production types are absent.-- [ ] **Step 2: Move pure EPG state/date/message behavior and run GREEN subsets**+The three existing EPG unit tests are now under+`com.streamvault.feature.live.epg`; the feature EPG suite is green after the+production move. A separate pre-move RED run was not required because the+feature source move and package boundary were applied as one mechanical+checkpoint.++- [x] **Step 2: Move pure EPG state/date/message behavior and run GREEN subsets**Move `GuideDateTime.kt` and the state/model declarations from `EpgViewModel.kt` without changing constants/defaults. Run `GuideDateTimeTest` and `ProgramReminderIssueMessageTest`; expected PASS.-- [ ] **Step 3: Move `EpgViewModel` and replace implementation imports**+- [x] **Step 3: Move `EpgViewModel` and replace implementation imports**Replace `StreamVaultPluginManager` with `LivePreviewStreamPreparer`,`LivePreviewHandoffManager` with `LivePreviewHandoffPort`, and GUIDE source@@ -861,7 +867,7 @@ HOME reverse notification rejection, active-session guards, playback/error flowcollection, and local state transitions. Each test must fail on the missing portcall before the minimal implementation change makes it pass.-- [ ] **Step 5: Run the complete EPG ViewModel suite**+- [x] **Step 5: Run the complete EPG ViewModel suite**```powershell./gradlew.bat :feature:live:testDebugUnitTest --tests "com.streamvault.feature.live.epg.*" --no-daemon --console=plain --warning-mode=none@@ -869,21 +875,34 @@ call before the minimal implementation change makes it pass.Expected: PASS with no reduction in assertion count.+Observed GREEN on 2026-08-29 for `com.streamvault.feature.live.epg.*`, with+the feature boundary verifier and app Kotlin/unit-test compilation also+passing.+- [ ] **Step 6: Write failing EPG screen behavior tests**Cover route initialization, horizontal and vertical movement, stable channel/program semantics, category/mode/density/favorites/search controls, time/day/prime-time jumps, preview focus and handoff, program dialog, EPG override, PIN flow, reminder permission callback, recording conflict, live/archive callbacks, and Back/top-navigation restoration.Run `EpgScreenBehaviorTest`; expected missing-screen failure.-- [ ] **Step 7: Move EPG presentation and deferred overlay**+- [x] **Step 7: Move EPG presentation and deferred overlay**-Move all eight files. Replace app shell/time/device/selection imports with Core UI or Task 5 live-local equivalents. Replace `Routes.epg(...)` with `AppDestination.Guide(...)` and pass that typed destination through `LiveArchivePlaybackRequest`/`LiveChannelPlaybackRequest`.+Move the EPG screen, hero, ViewModel, and deferred player overlay into+`feature/live/.../epg/`. Replace app shell/device/selection imports with the+injected `LiveEpgScaffoldContent`, Core UI, and existing Live presentation+components. The feature now uses `LiveRoutePatterns.epg(...)` for the stable+Guide return route; the app graph remains responsible for decoding and+mapping playback requests. The deferred `LivePlayerTransparentGuideOverlay`+remains unreferenced, as before.Move `PlayerTransparentGuideOverlay` unchanged and keep it unreferenced; do not register it in Playback or the live graph.- [ ] **Step 8: Move EPG resources locale by locale**-Copy exact `epg_*`, `guide_*`, archive, reminder, recording-conflict, notification-permission, and EPG-only shared values. Remove app entries only after `rg` proves no remaining consumer.+The default locale now contains the EPG screen's `epg_*`, `guide_*`, archive,+reminder, recording-conflict, notification-permission, and EPG-only shared+values in `feature/live`. Non-default locale parity and app-key removal remain+open; remove app entries only after `rg` proves no remaining consumer.- [ ] **Step 9: Run EPG feature and app integration checks**diff --git a/feature/live/src/main/java/com/streamvault/feature/live/api/LiveFeatureContracts.kt b/feature/live/src/main/java/com/streamvault/feature/live/api/LiveFeatureContracts.ktindex b9ed35f5..9865daa9 100644--- a/feature/live/src/main/java/com/streamvault/feature/live/api/LiveFeatureContracts.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/api/LiveFeatureContracts.kt@@ -127,6 +127,15 @@ typealias LiveHomeScaffoldContent = @Composable (content: @Composable ColumnScope.() -> Unit,) -> Unit+/** App-shell adapter used while the Guide surface moves out of the composition root. */+typealias LiveEpgScaffoldContent = @Composable (+ currentRoute: String,+ title: String,+ subtitle: String?,+ topBarVisible: Boolean,+ content: @Composable ColumnScope.() -> Unit,+) -> Unit+/** Home content injected by the composition root into the feature-owned route. */typealias LiveTvContent = @Composable (initialCategoryId: Long?,diff --git a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgViewModel.kt b/feature/live/src/main/java/com/streamvault/feature/live/epg/EpgViewModel.ktsimilarity index 99%rename from app/src/main/java/com/streamvault/app/ui/screens/epg/EpgViewModel.ktrename to feature/live/src/main/java/com/streamvault/feature/live/epg/EpgViewModel.ktindex 24502b87..edcf766f 100644--- a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgViewModel.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/epg/EpgViewModel.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport com.streamvault.domain.playback.isArchivePlayableimport com.streamvault.feature.live.presentation.model.guideLookupKey@@ -64,7 +64,7 @@ import java.time.Instantimport java.time.ZoneIdimport javax.inject.Injectimport android.app.Application-import com.streamvault.app.R+import com.streamvault.feature.live.Rimport com.streamvault.player.di.AuxiliaryPlayerEngineimport com.streamvault.feature.live.api.LivePreviewHandoffPortimport com.streamvault.feature.live.api.LivePreviewOrigindiff --git a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgHeroComponents.kt b/feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgHeroComponents.ktsimilarity index 99%rename from app/src/main/java/com/streamvault/app/ui/screens/epg/EpgHeroComponents.ktrename to feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgHeroComponents.ktindex 073dd671..d87ceb54 100644--- a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgHeroComponents.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgHeroComponents.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport androidx.compose.foundation.backgroundimport androidx.compose.foundation.layout.Arrangement@@ -30,7 +30,7 @@ import androidx.tv.material3.MaterialThemeimport androidx.tv.material3.Surfaceimport androidx.tv.material3.SurfaceDefaultsimport androidx.tv.material3.Text-import com.streamvault.app.R+import com.streamvault.feature.live.Rimport com.streamvault.feature.live.presentation.epg.GuideDensityimport com.streamvault.feature.live.presentation.epg.LiveGuideHeroBadgeimport com.streamvault.feature.live.presentation.epg.currentLiveGuideNowdiff --git a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgScreen.kt b/feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgScreen.ktsimilarity index 98%rename from app/src/main/java/com/streamvault/app/ui/screens/epg/EpgScreen.ktrename to feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgScreen.ktindex 737c94a7..61e9e28a 100644--- a/app/src/main/java/com/streamvault/app/ui/screens/epg/EpgScreen.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/epg/LiveEpgScreen.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport android.view.inputmethod.InputMethodManagerimport com.streamvault.domain.playback.ArchiveReplayMechanism@@ -33,6 +33,8 @@ import com.streamvault.feature.live.presentation.epg.LiveGuideEpgOverrideLabelsimport com.streamvault.feature.live.presentation.epg.LiveGuideOptionsLabelsimport com.streamvault.feature.live.presentation.epg.LiveGuideOptionsOverlayimport com.streamvault.feature.live.presentation.epg.liveGuideOptionsDayStart+import com.streamvault.feature.live.api.LiveEpgScaffoldContent+import com.streamvault.feature.live.navigation.LiveRoutePatternsimport androidx.compose.foundation.BorderStrokeimport androidx.compose.foundation.backgroundimport androidx.compose.foundation.clickable@@ -117,17 +119,11 @@ import androidx.tv.material3.MaterialThemeimport androidx.tv.material3.Surfaceimport androidx.tv.material3.SurfaceDefaultsimport androidx.tv.material3.Text-import com.streamvault.app.R-import com.streamvault.app.device.rememberIsTelevisionDevice+import com.streamvault.feature.live.Rimport com.streamvault.core.ui.image.ChannelLogoBadge-import com.streamvault.app.navigation.Routesimport com.streamvault.core.ui.platform.rememberNotificationPermissionGate-import com.streamvault.app.ui.components.SelectionChip-import com.streamvault.app.ui.components.SelectionChipRowimport kotlinx.coroutines.launchimport com.streamvault.core.ui.components.dialogs.PinDialog-import com.streamvault.app.ui.components.shell.AppNavigationChrome-import com.streamvault.app.ui.components.shell.AppScreenScaffoldimport com.streamvault.core.ui.theme.FocusBorderimport com.streamvault.core.ui.theme.OnSurfaceimport com.streamvault.core.ui.theme.OnSurfaceDim@@ -163,7 +159,7 @@ private sealed interface LockedGuideAction {}@Composable-fun FullEpgScreen(+fun LiveEpgScreen(currentRoute: String,initialCategoryId: Long? = null,initialAnchorTime: Long? = null,@@ -171,6 +167,7 @@ fun FullEpgScreen(onPlayChannel: (Channel, Long, Boolean, Long?, String) -> Unit,onPlayArchive: (Channel, Program, Long, Boolean, Long?, String) -> Unit,onNavigate: (String) -> Unit,+ scaffold: LiveEpgScaffoldContent,viewModel: EpgViewModel = hiltViewModel()) {val uiState by viewModel.uiState.collectAsStateWithLifecycle()@@ -199,7 +196,7 @@ fun FullEpgScreen(recordingBlockedMessage = stringResource(R.string.notification_permission_recording_alert_required))val returnRoute = remember(uiState.selectedCategoryId, uiState.guideAnchorTime, uiState.showFavoritesOnly) {- Routes.epg(+ LiveRoutePatterns.epg(categoryId = uiState.selectedCategoryId.takeIf { it != ChannelRepository.ALL_CHANNELS_ID },anchorTime = uiState.guideAnchorTime,favoritesOnly = uiState.showFavoritesOnly@@ -403,16 +400,7 @@ fun FullEpgScreen(else -> null}- AppScreenScaffold(- currentRoute = currentRoute,- onNavigate = onNavigate,- title = stringResource(R.string.nav_epg),- subtitle = stringResource(R.string.guide_shell_subtitle),- navigationChrome = AppNavigationChrome.TopBar,- topBarVisible = topNavVisible,- compactHeader = true,- showScreenHeader = false- ) {+ scaffold(currentRoute, stringResource(R.string.nav_epg), stringResource(R.string.guide_shell_subtitle), topNavVisible) {LiveGuideContent(modifier = Modifier.fillMaxSize(),isInitialLoading = uiState.isInitialLoading,diff --git a/app/src/main/java/com/streamvault/app/ui/screens/epg/PlayerTransparentGuideOverlay.kt b/feature/live/src/main/java/com/streamvault/feature/live/epg/LivePlayerTransparentGuideOverlay.ktsimilarity index 98%rename from app/src/main/java/com/streamvault/app/ui/screens/epg/PlayerTransparentGuideOverlay.ktrename to feature/live/src/main/java/com/streamvault/feature/live/epg/LivePlayerTransparentGuideOverlay.ktindex 5428ea82..db26034b 100644--- a/app/src/main/java/com/streamvault/app/ui/screens/epg/PlayerTransparentGuideOverlay.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/epg/LivePlayerTransparentGuideOverlay.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport androidx.activity.compose.BackHandlerimport androidx.compose.foundation.background@@ -28,10 +28,8 @@ import androidx.tv.material3.MaterialThemeimport androidx.tv.material3.Surfaceimport androidx.tv.material3.SurfaceDefaultsimport androidx.tv.material3.Text-import com.streamvault.app.R+import com.streamvault.feature.live.Rimport com.streamvault.domain.playback.isArchivePlayable-import com.streamvault.app.ui.screens.epg.EpgUiState-import com.streamvault.app.ui.screens.epg.EpgViewModelimport com.streamvault.feature.live.presentation.epg.LiveGuideNowProviderimport com.streamvault.feature.live.presentation.epg.LiveGuideSearchOverlayimport com.streamvault.feature.live.presentation.epg.LiveGuideSearchOverlayLabels@@ -44,7 +42,7 @@ import com.streamvault.feature.live.presentation.epg.LiveGuideMessageStateimport com.streamvault.feature.live.presentation.epg.LiveGuideGridimport com.streamvault.feature.live.presentation.epg.LiveGuideGridLabelsimport com.streamvault.feature.live.presentation.epg.currentLiveGuideNow-import com.streamvault.app.ui.screens.epg.isGuideCategoryLocked+import com.streamvault.feature.live.epg.isGuideCategoryLockedimport com.streamvault.core.ui.theme.OnSurfaceDimimport com.streamvault.core.ui.theme.Primaryimport com.streamvault.domain.model.Categorydiff --git a/feature/live/src/main/java/com/streamvault/feature/live/navigation/LiveRoutePatterns.kt b/feature/live/src/main/java/com/streamvault/feature/live/navigation/LiveRoutePatterns.ktindex 19d7fca5..f6448288 100644--- a/feature/live/src/main/java/com/streamvault/feature/live/navigation/LiveRoutePatterns.kt+++ b/feature/live/src/main/java/com/streamvault/feature/live/navigation/LiveRoutePatterns.kt@@ -7,4 +7,10 @@ object LiveRoutePatterns {const val EPG = "epg"const val EPG_DESTINATION ="epg?categoryId={categoryId}&anchorTime={anchorTime}&favoritesOnly={favoritesOnly}"++ fun epg(categoryId: Long? = null, anchorTime: Long? = null, favoritesOnly: Boolean = false): String {+ val encodedCategoryId = categoryId ?: -1L+ val encodedAnchorTime = anchorTime ?: -1L+ return "$EPG?categoryId=$encodedCategoryId&anchorTime=$encodedAnchorTime&favoritesOnly=$favoritesOnly"+ }}diff --git a/feature/live/src/main/res/values/strings.xml b/feature/live/src/main/res/values/strings.xmlindex 5477da8d..82bdb42f 100644--- a/feature/live/src/main/res/values/strings.xml+++ b/feature/live/src/main/res/values/strings.xml@@ -123,4 +123,126 @@<string name="live_source_unavailable_short">Unavailable</string><string name="nav_live_tv">Live TV</string><string name="playlist_no_provider">No Provider</string>+ <string name="epg_archive_provider_hint">This provider supports catch-up for the channel, but this program is not marked archive-ready in the current guide window.</string>+ <string name="epg_archive_ready_hint">Archive or catch-up playback should be available for this program.</string>+ <string name="epg_archive_stale_hint">Guide data looks stale, so replay availability may be incomplete until the guide refreshes.</string>+ <string name="epg_archive_unavailable_hint">Archive playback is not available for this channel.</string>+ <string name="epg_clear_search">Clear Search</string>+ <string name="epg_clear_search_close">Clear & Close</string>+ <string name="epg_day_selector_label">Browse by day</string>+ <string name="epg_day_today">Today</string>+ <string name="epg_day_tomorrow">Tomorrow</string>+ <string name="epg_day_yesterday">Yesterday</string>+ <string name="epg_density_cinematic">Cinematic</string>+ <string name="epg_density_cinematic_hint">Larger rows for distant viewing</string>+ <string name="epg_density_comfortable">Comfortable</string>+ <string name="epg_density_comfortable_hint">Balanced for everyday browsing</string>+ <string name="epg_density_compact">Compact</string>+ <string name="epg_density_compact_hint">Fits more channels on screen</string>+ <string name="epg_density_label">Guide layout</string>+ <string name="epg_density_subtitle">Choose how much guide detail fits on screen.</string>+ <string name="epg_error">Unable to load the TV guide right now.</string>+ <string name="epg_favorite_badge">Favorite</string>+ <string name="epg_favorites_filter_all">All Channels</string>+ <string name="epg_favorites_filter_all_hint">Browse the full live lineup</string>+ <string name="epg_favorites_filter_favorites">Favorites Only</string>+ <string name="epg_favorites_filter_favorites_hint">Stay on your pinned live channels</string>+ <string name="epg_favorites_filter_subtitle">Keep the guide on all channels or your live favorites only.</string>+ <string name="epg_favorites_filter_title">Guide source</string>+ <string name="epg_filter_hint">Choose another category or refresh the guide.</string>+ <string name="epg_filter_label">Guide Filter</string>+ <string name="epg_filter_short">Categories</string>+ <string name="epg_hero_no_program_description">Program details are limited for this entry.</string>+ <string name="epg_hero_no_schedule_hint">This channel has no guide entries in the current window.</string>+ <string name="epg_jump_back">-3h</string>+ <string name="epg_jump_back_half_hour">-30m</string>+ <string name="epg_jump_forward">+3h</string>+ <string name="epg_jump_forward_half_hour">+30m</string>+ <string name="epg_jump_now">Now</string>+ <string name="epg_jump_prime_time">Prime Time</string>+ <string name="epg_jump_tomorrow">Tomorrow</string>+ <string name="epg_loading">Loading TV guide...</string>+ <string name="epg_mode_all">Timeline</string>+ <string name="epg_mode_all_hint">All visible rows</string>+ <string name="epg_mode_anchored">At Selected Time</string>+ <string name="epg_mode_anchored_hint">Only channels airing at the current guide anchor</string>+ <string name="epg_mode_archive">Archive Ready</string>+ <string name="epg_mode_archive_hint">Channels with catch-up or archive entries</string>+ <string name="epg_mode_label">Guide mode</string>+ <string name="epg_mode_subtitle">Switch between broad browsing, anchor-time browsing, and archive-friendly rows.</string>+ <string name="epg_next_day">Next Day</string>+ <string name="epg_no_channels_in_category">No channels found in this guide category</string>+ <string name="epg_no_data">No EPG data</string>+ <string name="epg_no_info">No EPG information</string>+ <string name="epg_no_provider">Add or activate a provider to view the TV guide.</string>+ <string name="epg_no_schedule">No schedule data available</string>+ <string name="epg_no_schedule_short">No schedule</string>+ <string name="epg_no_scheduled_channels">No channels with guide data in this selection</string>+ <string name="epg_no_search_results">No matching programs in this guide window</string>+ <string name="epg_options_short">Options</string>+ <string name="epg_override_clear">Use automatic match</string>+ <string name="epg_override_current_external">External match: %1$s</string>+ <string name="epg_override_current_label">Current match</string>+ <string name="epg_override_current_manual">Manual override: %1$s</string>+ <string name="epg_override_current_none">No resolved EPG match is currently available for this channel.</string>+ <string name="epg_override_current_provider">Provider native: %1$s</string>+ <string name="epg_override_manage">Adjust EPG Match</string>+ <string name="epg_override_no_candidates">No assigned external EPG channels are available. Refresh or assign a source in Settings.</string>+ <string name="epg_override_no_search_results">No assigned XMLTV channels match this search.</string>+ <string name="epg_override_search_placeholder">Search assigned XMLTV channels...</string>+ <string name="epg_override_selected_badge">Current</string>+ <string name="epg_override_title">EPG Match</string>+ <string name="epg_page_back">Page -</string>+ <string name="epg_page_forward">Page +</string>+ <string name="epg_previous_day">Prev Day</string>+ <string name="epg_program_details_hide">Hide Details</string>+ <string name="epg_program_details_show">Program Details</string>+ <string name="epg_program_reminder_cancel">Cancel Reminder</string>+ <string name="epg_program_reminder_loading">Updating Reminder...</string>+ <string name="epg_program_reminder_set">Remind Me</string>+ <string name="epg_program_replay_partial">Provider catch-up only</string>+ <string name="epg_program_replay_ready">Archive-ready</string>+ <string name="epg_program_status_title">Replay Status</string>+ <string name="epg_program_unknown_value">Unknown</string>+ <string name="epg_provider_troubleshooting_incomplete_metadata">Replay may fail because the provider advertises catch-up without enough playback metadata.</string>+ <string name="epg_provider_troubleshooting_m3u_best_effort">M3U replay is best effort and depends on the playlist catch-up template.</string>+ <string name="epg_provider_troubleshooting_no_archive">This channel is not flagged as archive-ready by the provider.</string>+ <string name="epg_provider_troubleshooting_ready">Replay metadata is present, but the provider may still reject this specific program window.</string>+ <string name="epg_provider_troubleshooting_stale">Guide freshness is low, so replay mapping may still be incomplete until the guide refreshes.</string>+ <string name="epg_provider_troubleshooting_stalker_ready">Portal archive metadata is present; playback will request an archive link for the selected window.</string>+ <string name="epg_provider_troubleshooting_title">Provider Troubleshooting</string>+ <string name="epg_provider_troubleshooting_xtream_ready">Xtream replay metadata is present; playback will use the channel stream id and selected archive window.</string>+ <string name="epg_recording_conflict_body">"%1$s" conflicts with: %2$s. Replace the conflicting recording(s)?</string>+ <string name="epg_recording_conflict_cancel">Cancel</string>+ <string name="epg_recording_conflict_replace">Replace</string>+ <string name="epg_recording_conflict_title">Recording Conflict</string>+ <string name="epg_refresh_guide">Refresh Guide</string>+ <string name="epg_retry">Retry</string>+ <string name="epg_retry_hint">Try again or switch to another category.</string>+ <string name="epg_schedule_daily_recording">Record Daily</string>+ <string name="epg_schedule_recording">Record</string>+ <string name="epg_schedule_summary_short">%1$d/%2$d with guide</string>+ <string name="epg_schedule_weekly_recording">Record Weekly</string>+ <string name="epg_scheduled_only_hint">Turn off Scheduled only or switch to another category.</string>+ <string name="epg_search_apply">Search</string>+ <string name="epg_search_empty_hint">Try another title, broaden the category, or clear the search.</string>+ <string name="epg_search_label">Program Search</string>+ <string name="epg_search_placeholder">Search titles in the current guide window...</string>+ <string name="epg_show_app_navigation">Show App Nav</string>+ <string name="epg_stale_short">Guide may be stale</string>+ <string name="epg_stale_warning">Guide data looks incomplete or stale for this selection.</string>+ <string name="epg_time_controls">Guide Window</string>+ <string name="epg_title">TV Guide</string>+ <string name="epg_view_options_label">Guide view</string>+ <string name="epg_view_scheduled_only_hint">Hide channels with no guide data</string>+ <string name="epg_view_scheduled_only_off">All loaded channels</string>+ <string name="epg_view_scheduled_only_on">Scheduled only</string>+ <string name="epg_watch_archive">Play Catch-up</string>+ <string name="epg_watch_live">Watch Live</string>+ <string name="guide_shell_subtitle">Guide filters, schedule density, and focused program detail in one remote-first surface.</string>+ <string name="nav_epg">Guide</string>+ <string name="notification_permission_recording_alert_required">Enable notifications for StreamVault to receive recording failure alerts.</string>+ <string name="notification_permission_reminder_required">Enable notifications for StreamVault to receive program reminders.</string>+ <string name="player_archive_badge">Archive</string>+ <string name="settings_parental_control">Parental Control</string></resources>diff --git a/app/src/test/java/com/streamvault/app/ui/screens/epg/EpgViewModelTest.kt b/feature/live/src/test/java/com/streamvault/feature/live/epg/EpgViewModelTest.ktsimilarity index 99%rename from app/src/test/java/com/streamvault/app/ui/screens/epg/EpgViewModelTest.ktrename to feature/live/src/test/java/com/streamvault/feature/live/epg/EpgViewModelTest.ktindex a4eef031..0290acd3 100644--- a/app/src/test/java/com/streamvault/app/ui/screens/epg/EpgViewModelTest.kt+++ b/feature/live/src/test/java/com/streamvault/feature/live/epg/EpgViewModelTest.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport com.google.common.truth.Truth.assertThatimport com.google.common.truth.Truth.assertWithMessagediff --git a/app/src/test/java/com/streamvault/app/ui/screens/epg/GuideDateTimeTest.kt b/feature/live/src/test/java/com/streamvault/feature/live/epg/GuideDateTimeTest.ktsimilarity index 98%rename from app/src/test/java/com/streamvault/app/ui/screens/epg/GuideDateTimeTest.ktrename to feature/live/src/test/java/com/streamvault/feature/live/epg/GuideDateTimeTest.ktindex 11a6e9d6..c0fd37a0 100644--- a/app/src/test/java/com/streamvault/app/ui/screens/epg/GuideDateTimeTest.kt+++ b/feature/live/src/test/java/com/streamvault/feature/live/epg/GuideDateTimeTest.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport com.streamvault.feature.live.presentation.epg.guidePrimeTimeAnchorimport com.streamvault.feature.live.presentation.epg.jumpGuideAnchorToDaydiff --git a/app/src/test/java/com/streamvault/app/ui/screens/epg/ProgramReminderIssueMessageTest.kt b/feature/live/src/test/java/com/streamvault/feature/live/epg/ProgramReminderIssueMessageTest.ktsimilarity index 97%rename from app/src/test/java/com/streamvault/app/ui/screens/epg/ProgramReminderIssueMessageTest.ktrename to feature/live/src/test/java/com/streamvault/feature/live/epg/ProgramReminderIssueMessageTest.ktindex 8e6ddccd..62210a54 100644--- a/app/src/test/java/com/streamvault/app/ui/screens/epg/ProgramReminderIssueMessageTest.kt+++ b/feature/live/src/test/java/com/streamvault/feature/live/epg/ProgramReminderIssueMessageTest.kt@@ -1,4 +1,4 @@-package com.streamvault.app.ui.screens.epg+package com.streamvault.feature.live.epgimport com.streamvault.feature.live.presentation.epg.programReminderDeliveryIssueMessagediff --git a/feature/live/src/test/java/com/streamvault/feature/live/navigation/LiveRoutePatternsTest.kt b/feature/live/src/test/java/com/streamvault/feature/live/navigation/LiveRoutePatternsTest.ktindex 58819abd..1e74a75a 100644--- a/feature/live/src/test/java/com/streamvault/feature/live/navigation/LiveRoutePatternsTest.kt+++ b/feature/live/src/test/java/com/streamvault/feature/live/navigation/LiveRoutePatternsTest.kt@@ -12,5 +12,11 @@ class LiveRoutePatternsTest {assertThat(LiveRoutePatterns.EPG).isEqualTo("epg")assertThat(LiveRoutePatterns.EPG_DESTINATION).isEqualTo("epg?categoryId={categoryId}&anchorTime={anchorTime}&favoritesOnly={favoritesOnly}")+ assertThat(LiveRoutePatterns.epg()).isEqualTo(+ "epg?categoryId=-1&anchorTime=-1&favoritesOnly=false"+ )+ assertThat(LiveRoutePatterns.epg(42L, 1_234L, true)).isEqualTo(+ "epg?categoryId=42&anchorTime=1234&favoritesOnly=true"+ )}}