Skip to content

Harden Android shared and mobile foundations - #11

Merged
RXWatcher merged 13 commits into
Silo-Server:mainfrom
RXWatcher:android-client-foundation-mobile
Jul 1, 2026
Merged

RXWatcher merged 13 commits into
Silo-Server:mainfrom
RXWatcher:android-client-foundation-mobile

Conversation

@RXWatcher

@RXWatcher RXWatcher commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the shared/mobile/foundation portion of Harden Android clients, playback, and TV parity #10 on top of the current Silo namespace upstream main.
  • Hardens shared Android playback/download/profile/settings foundations and mobile reader/detail/library behavior.
  • Keeps Android TV-specific visual/player parity work out of this first PR so review can focus on the cross-client and mobile surface changes.
  • Includes Android 7 support work and related docs/spec notes.

Verification

  • ./gradlew :androidApp:assembleDebug :androidTvApp:assembleDebug :shared:testDebugUnitTest :android-shared:testDebugUnitTest :androidApp:testDebugUnitTest
  • Result: BUILD SUCCESSFUL

Notes

Summary by CodeRabbit

  • New Features

    • Added Android 7.0/7.1 (mobile + TV) playback support with updated documentation and compatibility behavior.
    • Added/propagated a preferred quality option (including “4K”) for playback selection.
    • Added watched/unwatched toggling on item detail screens.
    • Improved startup splash timing and visibility behavior.
  • Bug Fixes

    • Improved playback fallback recovery (including server remux behavior when needed).
    • Made subtitle/audio sync and MPV video scaling more consistent.
    • Strengthened reader download validation and EPUB chapter sanitization for safer rendering.
    • Improved subtitle handling and default appearance behavior.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@RXWatcher, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 29 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 10fd3b37-0a98-44ac-8103-406f555516af

📥 Commits

Reviewing files that changed from the base of the PR and between df6f13f and 0af77f8.

📒 Files selected for processing (23)
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicyTest.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnsiKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerHud.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListScreen.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/components/TvAnsiKeyboardSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvAuthFocusSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupReadabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerControlsUsabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModelSharedCoordinatorTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchLayoutReadabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListFocusSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/shell/TvCascadeInteractionSourceTest.kt
  • docs/superpowers/plans/2026-07-01-android-tv-player-hud-redesign.md
  • docs/superpowers/plans/2026-07-01-tv-launcher-icon.md
📝 Walkthrough

Walkthrough

This PR adds Android 7.0/7.1 compatibility, refactors playback version and quality selection, expands MPV playback controls, gates client surfaces behind flags, adds watched-state toggling, hardens EPUB reading, and updates Android TV UI/navigation, typography, and launcher-icon related tests and docs.

Changes

Android 7 Compatibility and MPV Backend Gating

Layer / File(s) Summary
MPV device floor and backend selector
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/backend/MpvDeviceFloor.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/backend/VideoPlaybackBackendSelector.kt, android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/backend/*
MpvDeviceFloor docs clarify the API 26+ requirement, and backend selection now forces Media3 when MPV is unsupported, with expanded tests covering Android 7/ABI combinations.
Manifest, build, and docs policy
androidApp/src/androidMain/AndroidManifest.xml, androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/AndroidManifestPolicyTest.kt, androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/TvAndroidManifestPolicyTest.kt, README.md, docs/superpowers/*
Disables app backup and adds tests/docs for the Android 7 install floor, MPV override contract, and Media3 fallback policy.

MPV Player Enhancements

Layer / File(s) Summary
Video scale mode contract
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvVideoScaleMode.kt
Adds the MPV scale-mode enum and controller interface.
MpvPlayer scaling, delay, logging
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayer.kt, android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayerSourceTest.kt
Implements scale-mode application, audio/subtitle delay setters, expanded event logging, header handling changes, and override-selection fixes.
Service sync routing and TV tunneling
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/TrackSelectionPresets.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt, related tests
Routes sync offsets to MpvPlayer, disables TV tunneling, and raises device-dependent target buffer caps.

Playback Recovery, Capability, and Version Selection

Layer / File(s) Summary
Dolby Vision and recovery planning
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackCapabilityDetector.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackRecoveryPlanner.kt, related tests
Extracts the Dolby Vision direct-play helper and adds null-plan recovery handling that returns ServerRemux.
Container policy and shared version selector
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/PlaybackContainerPolicy.kt, shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt, related tests
Removes mkv/matroska from MPV-preferred containers and adds shared playback version ranking helpers.
Start request/result metadata and wiring
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackStartRequest.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackStartResult.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlayerUiState.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackSessionCoordinator.kt
Adds preferred-quality, file-resolution, and subtitle preference fields and wires them through the session result/UI state path.
Mobile and TV playback version wiring
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/*, androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/*, shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt
Updates mobile and TV playback starters/viewmodels/screens to use shared version selection, preferred-quality overrides, and next-episode quality propagation.
Session logging
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackSessionManager.kt, related tests
Adds qualityPreference and transcode fallback details to session logs.

UI Feature Gating, Watched Toggle, Quality Preferences

Layer / File(s) Summary
Feature flags and gating
shared/src/commonMain/kotlin/org/siloserver/silo/model/feature/ClientSurfacePolicy.kt, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/MainScreen.kt, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailScreen.kt, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/AccountSection.kt, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/SettingsScreen.kt, androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/settings/TvSettingsScreen.kt
Adds client surface flags and gates Requests and Watch Together UI surfaces behind them on mobile and TV.
Watched toggle
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailViewModel.kt, MovieDetailContent.kt, SeriesDetailContent.kt, ItemDetailScreen.kt, tests
Adds optimistic watched-state toggling and threads the callback through detail content and screens.
Profile quality canonicalization and 4K
shared/src/commonMain/kotlin/org/siloserver/silo/model/profile/ProfileQualityPreference.kt, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/profiles/*, androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/*, androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/data/preferences/TvSettingsEnums.kt, androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/*, androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/settings/TvSettingsScreen.kt, related tests
Adds shared quality normalization/display helpers, wires them into profile forms and settings, and adds 4K support plus legacy 4k normalization.
Misc UI timing and parsing
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/people/PersonDetailViewModel.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/ui/components/StartupSplashVideo.kt, shared/src/commonMain/kotlin/org/siloserver/silo/model/settings/SubtitleAppearance.kt, related tests
Simplifies personId parsing, adds minimum-visible splash timing, and changes the default subtitle background style.
Android TV keyboard, layout, and typography
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/*, .../components/*, .../detail/*, .../player/*, .../profiles/*, .../search/*, .../requests/*, .../settings/*, .../theme/Spacing.kt, related tests
Reworks TV remote text entry and a large set of TV UI surfaces, spacing tokens, dialogs, HUDs, search/requests flows, and playback overlays to match the new keyboard-first and readability changes.

Download Naming and EPUB Reader Hardening

Layer / File(s) Summary
Download extension validation
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadOpenTarget.kt, android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt, related tests
Requires explicit extension/container information and removes the default "download" fallback.
EPUB sanitizer and reader hardening
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizer.kt, EpubReflowSource.kt, ReflowWebView.kt, ReflowableReader.kt, ReaderFileCache.kt, related tests
Adds EPUB chapter sanitization, disables universal file access, adds crash-remount behavior, and validates cached reader files.

Estimated code review effort: 5 (Critical) | ~120 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 7.34% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the PR’s main focus on hardening Android shared and mobile foundations, even though it omits some TV and docs work.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RXWatcher

Copy link
Copy Markdown
Contributor Author

Stacked TV follow-up PR: https://github.com/RXWatcher/silo-android/pull/1

This pair replaces the previous combined PR #10.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2100f0268a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt (1)

68-76: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Validate the target name before deleting the existing download.

Line 68 still deletes the current file before the new Line 146 failure path runs. If a retry/resume path reaches prepareWrite(...) without fileName/container, this now erases the existing bytes and then throws, turning validation into data loss.

Proposed fix
     fun prepareWrite(
         serverId: String,
         profileId: String,
         fileId: Int,
         fileName: String? = null,
         container: String? = null,
         mediaType: String? = null,
     ): DownloadTarget {
+        val displayName = localMediaFileName(fileId, fileName, container)
         publicStore.delete(serverId, profileId, fileId, uriString = null)
         return publicStore.create(
             serverId = serverId,
             profileId = profileId,
             fileId = fileId,
-            displayName = localMediaFileName(fileId, fileName, container),
+            displayName = displayName,
             container = container,
             mediaType = mediaType,
         )
     }

Also applies to: 130-147

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt`
around lines 68 - 76, The delete-and-recreate flow in
DownloadStorage.prepareWrite should not remove the existing download before
validating the new target name. Update prepareWrite (and the retry/resume path
it shares with the later failure branch) so fileName/container are validated
first, then call publicStore.delete only after the target is confirmed and
publicStore.create can succeed. Use the prepareWrite and
publicStore.create/publicStore.delete symbols to keep the existing bytes safe on
validation failures.
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt (1)

162-194: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Re-apply sync offsets after MPV swaps

createMpvPlayer() does not seed audio-delay or sub-delay, so a backend switch to MPV can drop the active AudioSyncMs/SubtitleSyncMs until the settings flows emit again. Re-apply the current offsets after transferPlaybackState.

🔧 Suggested fix
             transferPlaybackState(from = old, to = newPlayer)
+            (newPlayer as? MpvPlayer)?.let {
+                it.setAudioDelayMs(delayProcessor.getActiveDelayMs())
+                it.setSubtitleDelayMs(subtitleOffsetHolder.getOffsetMs())
+            }
             if (newPlayer is ExoPlayer) {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt`
around lines 162 - 194, After transferPlaybackState in SiloPlaybackService,
re-apply the current AudioSyncMs and SubtitleSyncMs values to the newly created
MPV player because createMpvPlayer() does not initialize those delays. Use the
existing playerSettingsStore.audioSyncMsFlow and
playerSettingsStore.subtitleSyncMsFlow state (or the cached values they feed
into audioSyncJob and subtitleSyncJob) and call the MPvPlayer setters
immediately when the active player switches so the offsets persist across
backend swaps without waiting for the flows to emit again.
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt (1)

410-435: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Preserve coroutine cancellation here. runCatching { playerSettingsStore.refreshFromServer() } and the outer catch (e: Exception) both catch CancellationException, so a cancelled load can be treated as a normal error and continue updating UI. Rethrow cancellation and only handle real failures.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt`
around lines 410 - 435, The loading flow in PlayerViewModel is swallowing
coroutine cancellation because both runCatching around
playerSettingsStore.refreshFromServer() and the outer catch on the
start/playback block catch CancellationException. Update the error handling in
this section to rethrow cancellation immediately and only map real failures to
UI errors, keeping the behavior around videoPlaybackCoordinator.start and the
_uiState update unchanged for non-cancellation exceptions.
🧹 Nitpick comments (1)
androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/detail/MobileDetailActionsSourceTest.kt (1)

22-39: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Prefer a behavior test here over source-string assertions.

Lines 22-39 only prove that certain text exists in the files. They will still pass if the optimistic update/revert logic in toggleWatched() regresses, which is the risky part of this change. A small ItemDetailViewModel test with success/failure fakes would give much better coverage.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/detail/MobileDetailActionsSourceTest.kt`
around lines 22 - 39, Replace the source-string assertions in
MobileDetailActionsSourceTest with a behavior-focused test against
ItemDetailViewModel and toggleWatched(). Cover both success and failure paths
using fakes for personalDataRepository so you verify the optimistic update and
revert behavior rather than checking for hardcoded text in the source.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayer.kt`:
- Around line 1450-1455: Update the raw `setVideoSurface(...)` path in
`MpvPlayer` so `Stretch` uses the active surface dimensions instead of stale
defaults; `applyVideoScaleMode()` currently reads
`currentSurfaceWidth/currentSurfaceHeight`, but those may not be refreshed when
`setVideoSurface(surface)` is called directly. Ensure the surface-size state is
set or recomputed before applying video scale mode, and reuse the same logic
used by `updateVideoSurfaceSize()`/`applyVideoScaleMode()` so `Stretch` fills
the current surface consistently.

In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt`:
- Around line 30-46: The hard-coded targetBufferBytes values in
PlaybackBufferPolicy are too high for Android 7 low-memory devices. Update the
PlaybackBufferPolicy selection logic in PlaybackBufferPolicy so the cap is
chosen dynamically based on device memory class or low-RAM status instead of
using one fixed ceiling for all PlaybackBufferMode values. Keep the existing
mode-specific tuning, but lower the effective cap for constrained devices and
preserve the larger cap only on devices with enough heap headroom.

In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailViewModel.kt`:
- Around line 526-545: Serialize watched-state updates in
ItemDetailViewModel.toggleWatched() so rapid taps cannot apply stale rollback
values out of order. Track/guard the in-flight mutation (or otherwise ensure
only the latest toggle can revert state) before calling
personalDataRepository.setWatched(contentId, target), and make
updatePlayedState(played) only restore the current authoritative value rather
than the captured current from each coroutine.

In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizer.kt`:
- Around line 29-35: The URI check in EpubHtmlSanitizer should reject all
absolute schemes, not just the current `://` patterns. Update the logic in the
sanitizer’s normalized-URL validation to detect any value that starts with a URI
scheme (for example `https:`, `file:`, `content:`) and strip it, while still
allowing only relative book resources. Keep the change localized to the existing
sanitizer function that performs the `normalized.startsWith(...)` checks.

In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/ReflowableReader.kt`:
- Around line 207-229: The crash recovery path in ReflowableReader’s onCrash
currently remounts ReflowWebView without preserving the last known locator
state, which can reset the section to page 0 and overwrite the bookmark on the
next Relocated event. Update the onEvent handling for ReflowEvent.Relocated to
keep the latest ev.pageProgression and re-seed the relocation state used by the
WebView before webViewResetKey is incremented in onCrash, so the replacement
view starts from the current locator instead of an empty reset state.

In
`@androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/navigation/ClientSurfaceVisibilitySourceTest.kt`:
- Around line 22-35: The tests in ClientSurfaceVisibilitySourceTest are only
checking for absence of one old callback string, so they can miss broken gating
if the code is reformatted or extracted. Update
requestsRemainRoutableButHiddenFromMobileMenus and
watchTogetherCodeRemainsRoutableButHiddenFromMobileDetailOverflow to assert the
actual gated structure instead, using the relevant source strings from
accountSection, itemDetailScreen, mainScreen, and settingsScreen to verify the
callback is conditionally wrapped behind the feature flags. Prefer positive
assertions on the conditional form and the enabled flag symbols rather than
relying on a single exact negative substring.

In
`@shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt`:
- Around line 32-42: playbackResolutionRank() only matches a fixed set of
aliases, so numeric inputs like 540p or 360p currently fall through as unknown.
Update the rank logic in PlaybackVersionSelector.playbackResolutionRank to
extract and parse numeric resolution values from the normalized string before
the alias checks, and return that numeric height when present. Keep the existing
alias handling as a fallback so auto and capped selection can correctly compare
actual numeric resolutions like 540p against 480p.

---

Outside diff comments:
In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt`:
- Around line 68-76: The delete-and-recreate flow in
DownloadStorage.prepareWrite should not remove the existing download before
validating the new target name. Update prepareWrite (and the retry/resume path
it shares with the later failure branch) so fileName/container are validated
first, then call publicStore.delete only after the target is confirmed and
publicStore.create can succeed. Use the prepareWrite and
publicStore.create/publicStore.delete symbols to keep the existing bytes safe on
validation failures.

In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt`:
- Around line 162-194: After transferPlaybackState in SiloPlaybackService,
re-apply the current AudioSyncMs and SubtitleSyncMs values to the newly created
MPV player because createMpvPlayer() does not initialize those delays. Use the
existing playerSettingsStore.audioSyncMsFlow and
playerSettingsStore.subtitleSyncMsFlow state (or the cached values they feed
into audioSyncJob and subtitleSyncJob) and call the MPvPlayer setters
immediately when the active player switches so the offsets persist across
backend swaps without waiting for the flows to emit again.

In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt`:
- Around line 410-435: The loading flow in PlayerViewModel is swallowing
coroutine cancellation because both runCatching around
playerSettingsStore.refreshFromServer() and the outer catch on the
start/playback block catch CancellationException. Update the error handling in
this section to rethrow cancellation immediately and only map real failures to
UI errors, keeping the behavior around videoPlaybackCoordinator.start and the
_uiState update unchanged for non-cancellation exceptions.

---

Nitpick comments:
In
`@androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/detail/MobileDetailActionsSourceTest.kt`:
- Around line 22-39: Replace the source-string assertions in
MobileDetailActionsSourceTest with a behavior-focused test against
ItemDetailViewModel and toggleWatched(). Cover both success and failure paths
using fakes for personalDataRepository so you verify the optimistic update and
revert behavior rather than checking for hardcoded text in the source.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c41f76b4-bb00-4ce9-888e-a60d0ff00d80

📥 Commits

Reviewing files that changed from the base of the PR and between 537a465 and 2100f02.

⛔ Files ignored due to path filters (1)
  • android-shared/src/androidMain/res/raw/startup_splash.mp4 is excluded by !**/*.mp4
📒 Files selected for processing (74)
  • README.md
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadOpenTarget.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackCapabilityDetector.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackRecoveryPlanner.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackSessionManager.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/TrackSelectionPresets.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/backend/MpvDeviceFloor.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/backend/VideoPlaybackBackendSelector.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayer.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvVideoScaleMode.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/PlaybackContainerPolicy.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackSessionCoordinator.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackStartRequest.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlaybackStartResult.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/video/VideoPlayerUiState.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/ui/components/StartupSplashVideo.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/downloads/DownloadOpenTargetTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/downloads/DownloadStorageTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicyTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackCapabilityDetectorDolbyVisionTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackRecoveryPlannerTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackSessionManagerLoggingTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/SiloPlaybackServiceSubtitleSyncSourceTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/TrackSelectionPresetsSourceTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/backend/MpvDeviceFloorTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/backend/VideoPlaybackBackendSelectorTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayerSourceTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/video/PlaybackContainerPolicyTest.kt
  • androidApp/src/androidMain/AndroidManifest.xml
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/MainScreen.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailScreen.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/MovieDetailContent.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/SeriesDetailContent.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/people/PersonDetailViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/MobileVideoPlaybackStarter.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/profiles/CreateProfileScreen.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/profiles/CreateProfileViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/profiles/EditProfileScreen.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/profiles/EditProfileViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/ReaderFileCache.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizer.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubReflowSource.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/ReflowWebView.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/ReflowableReader.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/AccountSection.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/PlaybackSettings.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/SettingsScreen.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/settings/SettingsViewModel.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/AndroidManifestPolicyTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/navigation/ClientSurfaceVisibilitySourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/navigation/MobileDownloadVisibilityTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/detail/MobileDetailActionsSourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModelSharedCoordinatorTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/profiles/ProfileQualitySourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/ReaderEngineHostSourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/ReaderFileCacheTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/ReflowWebViewEpubResourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizerTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/settings/PlaybackQualitySettingsSourceTest.kt
  • docs/superpowers/plans/2026-06-30-android-7-support.md
  • docs/superpowers/specs/2026-06-30-android-7-support-design.md
  • shared/src/commonMain/kotlin/org/siloserver/silo/model/feature/ClientSurfacePolicy.kt
  • shared/src/commonMain/kotlin/org/siloserver/silo/model/profile/ProfileQualityPreference.kt
  • shared/src/commonMain/kotlin/org/siloserver/silo/model/settings/SubtitleAppearance.kt
  • shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt
  • shared/src/commonTest/kotlin/org/siloserver/silo/model/feature/ClientSurfacePolicyTest.kt
  • shared/src/commonTest/kotlin/org/siloserver/silo/model/profile/ProfileQualityPreferenceTest.kt
  • shared/src/commonTest/kotlin/org/siloserver/silo/model/settings/SubtitleAppearanceTest.kt
  • shared/src/commonTest/kotlin/org/siloserver/silo/playback/PlaybackVersionSelectorTest.kt

@RXWatcher

Copy link
Copy Markdown
Contributor Author

Addressed the remaining review-body items as well:

  • DownloadStorage.prepareWrite now validates the local display filename before deleting existing bytes (1e4d009).
  • SiloPlaybackService reapplies cached audio/subtitle sync offsets when binding a newly-created MPV player (e4fe99e).
  • PlayerViewModel.loadContent now rethrows CancellationException instead of mapping coroutine cancellation to a normal UI error (1e4d009).
  • The watched-toggle test nit is now covered with behavior tests for optimistic success and stale failure rollback ordering (40da74e).

Verification passed:
./gradlew --no-build-cache :androidApp:assembleDebug :androidTvApp:assembleDebug :shared:testDebugUnitTest :android-shared:testDebugUnitTest :androidApp:testDebugUnitTest

@RXWatcher

Copy link
Copy Markdown
Contributor Author

Upstream stacked TV follow-up PR is now #12: #12

This supersedes the fork-local stacked PR link.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 14

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.kt (1)

204-208: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Don’t swallow the post-scroll focus handoff.

After scrollToItem(), the target row can still be uncomposed on the same frame. runCatching { it.requestFocus() } drops that failure with no retry, so entering a >6-library cascade can leave the user with no focused row. Defer the request to the next frame or reuse the token-based deferred-focus path you already use for pills.

Suggested fix
                     if (libraries.size > 6) {
                         val index = libraries.indexOfFirst { it.id == id }
                         lazyListState.scrollToItem(index.coerceAtLeast(0))
+                        withFrameNanos { }
                     }
-                    libraryRequesters[id]?.let { runCatching { it.requestFocus() } }
+                    libraryRequesters[id]?.requestFocus()
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.kt`
around lines 204 - 208, The focus handoff after `lazyListState.scrollToItem()`
in `TvCascadeSelector` is being swallowed by the immediate `runCatching {
it.requestFocus() }`, which can fail before the target row is composed. Update
the `libraries.size > 6` path to defer the focus request to the next frame or
route it through the same token-based deferred-focus mechanism used for pills,
so the `libraryRequesters[id]` focus is retried once the row is available.
🧹 Nitpick comments (4)
androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListFocusSourceTest.kt (1)

8-15: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Don't lock this test to the exact one-liner.

This hard-codes runCatching { firstFocus.requestFocus() }, so a real fix for the focus race in TvServerListScreen will fail the test even when behavior improves. Assert the observable focus contract instead of the source string.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListFocusSourceTest.kt`
around lines 8 - 15, The test in TvServerListFocusSourceTest is overly tied to
the exact source implementation in TvServerListScreen by asserting a specific
one-line string. Update it to verify the observable focus behavior/contract for
server rows when the list materializes, rather than matching the exact
`runCatching { firstFocus.requestFocus() }` text, so implementation refactors
that still fix the focus race won’t break the test.
androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileQualitySourceTest.kt (1)

9-20: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Prefer behavior tests over source-string assertions.

These asserts pin the ViewModels to exact source text, so a helper rename or harmless refactor will fail the test without changing quality serialization. Exercise the canonical value through the ViewModel/public state instead of File(...).readText().

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileQualitySourceTest.kt`
around lines 9 - 20, The test currently asserts against source text in the
ViewModel files, which makes it brittle to refactors. Update
TvProfileQualitySourceTest to exercise the behavior of TvCreateProfileViewModel
and TvEditProfileViewModel through their public API/state and verify the
canonical quality value is persisted, instead of using File(...).readText() and
string contains checks. Keep the coverage focused on the observable
serialization behavior rather than implementation details.
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardState.kt (1)

3-3: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Rename this constant to camelCase.

TV_CREDENTIAL_MAX_LENGTH is still a Kotlin property in this repo's style rules, so it should use camelCase.
As per coding guidelines, "**/*.kt: Use camelCase for Kotlin functions and properties."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardState.kt`
at line 3, Rename the Kotlin constant TV_CREDENTIAL_MAX_LENGTH in
TvCredentialKeyboardState to camelCase to match the repo’s property naming
rules, and update any references to the new name wherever this constant is used
so the symbol remains consistent.

Source: Coding guidelines

androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt (1)

140-144: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Rename this property to camelCase.

TvCredentialActivationKeyCodes is a property, so it should follow the repo's Kotlin camelCase rule.
As per coding guidelines, "**/*.kt: Use camelCase for Kotlin functions and properties."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt`
around lines 140 - 144, Rename the Kotlin property
TvCredentialActivationKeyCodes in TvCredentialKeyboard to camelCase to match the
repo’s naming convention for properties. Update the declaration and any
references to use a camelCase name such as tvCredentialActivationKeyCodes,
keeping the same set of key codes and behavior unchanged.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt`:
- Around line 24-27: `PlaybackBufferPolicy.forMode` currently treats
`PlaybackBufferDeviceProfile.Unknown` as roomy because `targetBufferBytes()`
falls through to the roomy branch; update the policy logic so Unknown is handled
as constrained by default, not as the largest cap. Use the existing
`PlaybackBufferDeviceProfile` and `targetBufferBytes()` symbols to route Unknown
(and any unresolved profile) through the constrained/safe buffer path, and make
sure the related branches in the affected policy helpers also preserve this
behavior.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnsiKeyboard.kt`:
- Around line 451-468: Vertical DPAD target selection is using raw list indices
instead of visual key positions, so the TvAnsiKeyboard navigation in
findTvAnsiVerticalTarget() and nearestFocusableKeyIndex() can jump to the wrong
key when rows contain weighted keys like Space. Update the vertical lookup to
compare against each key’s rendered horizontal position/center (derived from the
row layout/weights) rather than the slot index, and use that metric to choose
the nearest focusable key in the target row. Keep the existing
findTvAnsiVerticalTarget() flow, but make nearestFocusableKeyIndex() return the
key whose visual alignment is closest to the current keyIndex.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt`:
- Around line 128-137: The shouldOpenCredentialKeyboard() helper currently
treats both KeyDown and KeyUp as activation, which makes onOpenKeyboard() fire
twice for a single press in TvCredentialKeyboard. Update the key handling in
shouldOpenCredentialKeyboard() so it only returns true for one edge event
(preferably KeyDown) while keeping the existing checks for DirectionCenter,
Enter, NumPadEnter, and TvCredentialActivationKeyCodes.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupScreen.kt`:
- Around line 123-131: Synchronize the URL keyboard focus with pairing state in
TvServerSetupScreen so focus is not restored to the URL field when pairing ends
while the keyboard was already visible. Update the logic around
LaunchedEffect(isActivePairing) and LaunchedEffect(isUrlKeyboardVisible) to
reset or retrigger keyboard-focus handling when pairing cancels/fails, so
keyboard visibility changes are reflected and
keyboardFirstKeyFocusRequester.requestFocus() runs again instead of leaving
focus behind the keyboard. Apply the same fix to the duplicated setup flow
referenced by the second affected block.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboard.kt`:
- Around line 117-124: The shouldOpenServerUrlKeyboard helper is matching both
KeyDown and KeyUp, which can trigger onOpenKeyboard() twice from
onPreviewKeyEvent. Update TvServerUrlKeyboard so this activation check only
returns true for one phase (preferably KeyDown) while keeping the existing key
checks for Key.DirectionCenter, Key.Enter, and Key.NumPadEnter.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerHud.kt`:
- Around line 1045-1047: The Outline controls are reusing focus requesters from
the subtitle text/background groups, so right-navigation lands in the wrong
place. Add a dedicated FocusRequester in TvPlayerHud for the outline swatches,
then update the Outline row and the first outline swatch to use that new
requester instead of subtitleTextColorFocus or subtitleBackgroundColorFocus.
Also check the related outline UI blocks in the later sections of TvPlayerHud
and wire them consistently to the new outline focus anchor.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt`:
- Line 395: The quick subtitle picker is only handled by BackHandler, but
TvPlayerRemoteKeyBridge still remains active while showQuickSubtitlePicker is
open. Update the remote bridge guard in TvPlayerScreen so it also checks
showQuickSubtitlePicker and suppresses Play/Pause and HUD key handling whenever
the picker is visible, matching the modal behavior already used for other
overlays.
- Around line 2172-2197: In applyPlayerViewVideoFillMode, remove the extra
underlying surface scaling applied through getVideoSurfaceView() for
VideoFillMode.Zoom, since PlayerView.RESIZE_MODE_ZOOM already handles the zoom
behavior. Keep resizeModeForVideoFillMode(mode) and the logging intact, but
avoid applying the FitSurfaceScale/CropLetterboxSurfaceScale transform to the
videoSurface in Zoom mode so native 16:9 content is not double-cropped.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModel.kt`:
- Line 612: The `selectedFileResolution` value in `TvPlayerViewModel` is staying
stuck at the launch-time `VideoPlayerUiState.Ready` value, while
`TvPlayerScreen.selectVideoQuality(...)` can change the active quality later
without updating the ViewModel. Update the ViewModel to read from the live
selected quality state, or make sure quality override success paths propagate
the new resolution back into `selectedFileResolution` before it is reused. Apply
this consistently in `startTranscodeFallback`, `PlayNextRequest`, and any other
paths that currently depend on the stale `selectedFileResolution` field.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchScreen.kt`:
- Around line 154-185: Focus is being chosen from a stale search snapshot in
TvSearchScreen’s onSearch handler. Update the logic around SiloSearchKeyboard so
focus is moved only after the new search results are applied, not by checking
the pre-submit state.items value. Use the search result state and the
firstResultFocusRequester/firstFilterChipFocusRequester only once the refreshed
query state is available, and guard the request so it targets the currently
attached UI.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListScreen.kt`:
- Around line 81-85: The initial focus logic in TvServerListScreen’s
LaunchedEffect currently swallows a failed firstFocus.requestFocus() call, so it
never retries if the row is not yet attached. Replace the silent runCatching
approach with a retry mechanism that waits until the first row can actually
accept focus and attempts requestFocus again, using the existing state.servers
size-driven effect and firstFocus reference to locate the logic.

In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupReadabilityTest.kt`:
- Around line 73-80: The ordering check in TvServerSetupReadabilityTest is too
broad because serverUrlFieldInspectsRemoteKeysBeforeFocusableCanConsumeCenter
uses the first occurrences of onPreviewKeyEvent and focusable anywhere in
TvServerUrlKeyboard.kt. Update the test to target only the URL-field modifier
chain in the TvServerUrlKeyboard block, using a more specific slice or search
anchored to the URL field’s composable/function so the assertion validates that
local ordering instead of a different earlier chain.

In `@docs/superpowers/plans/2026-07-01-android-tv-player-hud-redesign.md`:
- Around line 5-19: The plan for TvPlayerHud.kt is missing explicit adaptive
layout work for the Audio and Subtitles tabs, even though the goal requires all
tabs to avoid clipping. Update the task breakdown to include Audio/Subtitles
pane layout and scrolling-safe row/content primitives alongside Info, Stats,
Video, and Chapters, and add focused tests in the existing HUD test set to
verify those tabs render without clipping and still preserve
search/translation/picker behavior.

In `@docs/superpowers/plans/2026-07-01-tv-launcher-icon.md`:
- Around line 13-17: The plan contains machine-specific checkout and device
values, so update the instructions in the plan document to use repo-relative
paths instead of the absolute local path and replace the Google TV Streamer
serial with a placeholder or environment variable. Keep the guidance in the same
section that references the working directory and verification target so it
remains portable for anyone following the TV launcher icon plan.

---

Outside diff comments:
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.kt`:
- Around line 204-208: The focus handoff after `lazyListState.scrollToItem()` in
`TvCascadeSelector` is being swallowed by the immediate `runCatching {
it.requestFocus() }`, which can fail before the target row is composed. Update
the `libraries.size > 6` path to defer the focus request to the next frame or
route it through the same token-based deferred-focus mechanism used for pills,
so the `libraryRequesters[id]` focus is retried once the row is available.

---

Nitpick comments:
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt`:
- Around line 140-144: Rename the Kotlin property TvCredentialActivationKeyCodes
in TvCredentialKeyboard to camelCase to match the repo’s naming convention for
properties. Update the declaration and any references to use a camelCase name
such as tvCredentialActivationKeyCodes, keeping the same set of key codes and
behavior unchanged.

In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardState.kt`:
- Line 3: Rename the Kotlin constant TV_CREDENTIAL_MAX_LENGTH in
TvCredentialKeyboardState to camelCase to match the repo’s property naming
rules, and update any references to the new name wherever this constant is used
so the symbol remains consistent.

In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileQualitySourceTest.kt`:
- Around line 9-20: The test currently asserts against source text in the
ViewModel files, which makes it brittle to refactors. Update
TvProfileQualitySourceTest to exercise the behavior of TvCreateProfileViewModel
and TvEditProfileViewModel through their public API/state and verify the
canonical quality value is persisted, instead of using File(...).readText() and
string contains checks. Keep the coverage focused on the observable
serialization behavior rather than implementation details.

In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListFocusSourceTest.kt`:
- Around line 8-15: The test in TvServerListFocusSourceTest is overly tied to
the exact source implementation in TvServerListScreen by asserting a specific
one-line string. Update it to verify the observable focus behavior/contract for
server rows when the list materializes, rather than matching the exact
`runCatching { firstFocus.requestFocus() }` text, so implementation refactors
that still fix the focus race won’t break the test.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8cc63b8d-1606-4b79-beba-3769f384e879

📥 Commits

Reviewing files that changed from the base of the PR and between 2100f02 and df6f13f.

⛔ Files ignored due to path filters (10)
  • androidTvApp/src/androidMain/res/mipmap-hdpi/ic_launcher.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-hdpi/ic_launcher_foreground.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-mdpi/ic_launcher.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-mdpi/ic_launcher_foreground.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xhdpi/ic_launcher.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xhdpi/ic_launcher_foreground.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xxhdpi/ic_launcher_foreground.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.png is excluded by !**/*.png
  • androidTvApp/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_foreground.png is excluded by !**/*.png
📒 Files selected for processing (109)
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicy.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlayerFactory.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayer.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/downloads/DownloadStorageTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicyTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/SiloPlaybackServiceSubtitleSyncSourceTest.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayerSourceTest.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizer.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/ReflowableReader.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/navigation/ClientSurfaceVisibilitySourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/detail/MobileDetailActionsSourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModelSharedCoordinatorTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/ReaderEngineHostSourceTest.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/EpubHtmlSanitizerTest.kt
  • androidTvApp/src/androidMain/AndroidManifest.xml
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/MainTvActivity.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/data/preferences/TvSettingsEnums.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/di/AndroidTvModule.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnchoredSelectorMenu.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnsiKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAuroraChrome.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvEpisodeCard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvFocusMarquee.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvFullScreenPicker.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvOptionDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvPinEntryDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvRootHeroBackdrop.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvTextInputDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/navigation/TvAppNavigation.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/navigation/TvRoute.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminUserEditScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardState.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvLoginScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvLoginViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboardState.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvSetupScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvSignupScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/calendar/TvCalendarScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/collections/TvCreateCollectionDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvCastCrewSection.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailEpisodeRail.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailFactsTable.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailHero.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailMetadata.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailSectionHeader.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailVersionSelection.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvExpandableSynopsis.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvMediaInfoDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/people/TvPersonDetailScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvHoldSeekIndicator.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerHud.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerTransportCluster.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvSubtitleAppearanceOptions.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvVideoPlaybackStarter.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvCreateProfileViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvEditProfileViewModel.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileForm.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/requests/TvRequestsScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchKeyboard.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/settings/TvSettingsScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/theme/Spacing.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/TvAndroidManifestPolicyTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/data/preferences/TvPlaybackQualitySourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/components/TvAnsiKeyboardSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/components/TvAuroraChromeSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/components/TvTextInputDialogSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/navigation/TvClientSurfaceVisibilitySourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvAuthFocusSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardStateTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvLoginViewModelSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerSetupReadabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboardStateTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/calendar/TvCalendarSizingSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailMetadataTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailPlaybackSelectionSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailVersionSelectionTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/PlayerTrackEntriesTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerControlsUsabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerEngineRequestHelpersTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvPlayerViewModelSharedCoordinatorTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/player/TvSubtitleAppearanceOptionsTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileQualitySourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/requests/TvRequestsUsabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchLayoutReadabilityTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/servers/TvServerListFocusSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/shell/TvCascadeInteractionSourceTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvDialogScalingTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvLauncherIconAssetsTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvSkylineTokenParityTest.kt
  • docs/superpowers/plans/2026-07-01-android-tv-player-hud-redesign.md
  • docs/superpowers/plans/2026-07-01-tv-launcher-icon.md
  • docs/superpowers/specs/2026-07-01-android-tv-player-hud-redesign-design.md
  • docs/superpowers/specs/2026-07-01-tv-launcher-icon-design.md
  • shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt
  • shared/src/commonTest/kotlin/org/siloserver/silo/playback/PlaybackVersionSelectorTest.kt
✅ Files skipped from review due to trivial changes (12)
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboardStateTest.kt
  • androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvCredentialKeyboardStateTest.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvHoldSeekIndicator.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvFocusMarquee.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvOptionDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvEpisodeCard.kt
  • docs/superpowers/specs/2026-07-01-tv-launcher-icon-design.md
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/auth/TvServerUrlKeyboardState.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailFactsTable.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/people/TvPersonDetailScreen.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvMediaInfoDialog.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileForm.kt
🚧 Files skipped from review as they are similar to previous changes (10)
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/downloads/DownloadStorage.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/SiloPlaybackService.kt
  • androidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModelSharedCoordinatorTest.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/ItemDetailViewModel.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/reader/reflow/ReflowableReader.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerViewModel.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/downloads/DownloadStorageTest.kt
  • shared/src/commonMain/kotlin/org/siloserver/silo/playback/PlaybackVersionSelector.kt
  • android-shared/src/androidMain/kotlin/org/siloserver/silo/common/player/mpv/MpvPlayer.kt
  • android-shared/src/androidUnitTest/kotlin/org/siloserver/silo/common/player/PlaybackBufferPolicyTest.kt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant