Repository navigation
feat: a command for the TV when going back to the PC - #213
Merged
Merged
Conversation
A user confirmed ADB input switching works on a Coocaa/Skyworth TV, even from deep sleep, with a custom input command (#207). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
System -> TV gets an optional Android shell command sent when the desk comes back, before standby: the TV's Home screen (input keyevent 3) or another input instead of only turning it off. AdbProtocol.RestoreCommands lists what is sent (the command, then standby if on); with neither, nothing is sent, as before. Closes #209. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes The new restore command path, persistence and settings UI, ADB command ordering, localization, documentation, and test coverage were reviewed.
- TV restore behavior Adds an optional Android shell command before optional standby, sent over one ADB connection after the desk is restored.
- Settings and documentation Adds the setting to the UI and language catalogs, and documents it in guides, changelogs, and the manual TV checklist.
gpt-6-luna | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #209. Builds on #208 (TV control back), whose commit shows here until #208 merges; merge #208 first.
What
PLEXX-DE asked (issue #209, discussion #154) for the TV to go somewhere other than standby when the desk comes back: its Home screen, or another HDMI input.
input keyevent 3, the Home key).AdbProtocol.RestoreCommandsdecides the list (pure, tested);AndroidTvController.RestoreAsyncsends them on one connection, a second apart. The engine'sTurnOffbecameRestore, called whenTvControlConfig.HasRestoreStep.TvControlConfig.RestoreCommandis a new setting; Legacy keeps it untouched inconfig.json(feat: the Legacy build (1.6.2 that keeps the current app's settings) #200).docs/TESTING.md.Testing
dotnet test: 678 passing (1 new). Debug build OK.am start …input command). Not to be merged before that.🤖 Generated with Claude Code