You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of my main annoyances with this integration has been with powering on my device. The default is for the device to send the power button followed by home if it is off.
this effectively breaks the television turning on the last input if it is configured to do so.
While this can easily be fixed by adding: turn_on_command: "input keyevent 26"
to the configuration, in order to override the default... I was curious if it might be feasible to make the default functionality follow what the television settings are set to. This can be determined by: adb shell settings get secure power_on_launch_mode
where
0 = home
1 = last input
I'm not really sure if there's anything being stored in this implementation that would determine that dynamically though.
thanks in advance.
The text was updated successfully, but these errors were encountered:
It's probably possible to create a shell command that processes (i.e., greps) the output of that command and only sends the "home" button action if that's what the setting specifies.
But I think the complexity of doing so and making sure that it works as expected across all devices makes this not worthwhile, given that there's a simple means for users to customize the turn on/off commands.
One of my main annoyances with this integration has been with powering on my device. The default is for the device to send the power button followed by home if it is off.
python-androidtv/androidtv/firetv/firetv_async.py
Line 177 in a2a0f33
python-androidtv/androidtv/firetv/firetv_sync.py
Line 177 in a2a0f33
While this can easily be fixed by adding:
turn_on_command: "input keyevent 26"
to the configuration, in order to override the default... I was curious if it might be feasible to make the default functionality follow what the television settings are set to. This can be determined by:
adb shell settings get secure power_on_launch_mode
where
0 = home
1 = last input
I'm not really sure if there's anything being stored in this implementation that would determine that dynamically though.
thanks in advance.
The text was updated successfully, but these errors were encountered: