ADBTuner: A "channel tuning" application for networked Google TV / Android TV devices

Like the Status page

[
  {
    "name": "Remote1",
    "device_ip_address": "192.168.50.177",
    "device_connected": true,
    "streaming_endpoint": "http://192.168.50.242:8086/0.ts",
    "streaming_endpoint_connected": true
  },
  {
    "name": "Remote2",
    "device_ip_address": "192.168.50.47",
    "device_connected": true,
    "streaming_endpoint": "http://192.168.50.242:8086/2.ts",
    "streaming_endpoint_connected": true
  },
  {
    "name": "Remote3",
    "device_ip_address": "192.168.50.67",
    "device_connected": true,
    "streaming_endpoint": "http://192.168.50.242:8086/4.ts",
    "streaming_endpoint_connected": true
  },
  {
    "name": "Remote4",
    "device_ip_address": "192.168.50.37",
    "device_connected": true,
    "streaming_endpoint": "http://192.168.50.242:8086/6.ts",
    "streaming_endpoint_connected": true
  },
  {
    "name": "Remote5",
    "device_ip_address": "192.168.50.184",
    "device_connected": true,
    "streaming_endpoint": "http://192.168.50.242:8086/10.ts",
    "streaming_endpoint_connected": true
  }
]

I need to do some more testing but with the non experimental build whats interesting is I notice that it opens multiple tuners with the same channel which shouldn't happen because my channels dvr should be sharing the connection. Then I get a message that no tuners are available. So if the experimental build is being more aggressive closing connection then I wonder if that's what's fixing it. I'll try to get some more logs to review in the next couple of days. But in general the experimental build is running well.

The experimental version of ADBTuner was updated with a new feature.

If all goes well this will eventually be added to the stable build of ADBTuner, but it will always be an unsupported, advanced user kind of thing. It's not something that most users would ever need to be aware of.

Anyway, I added something that I am calling "Configurations." A Configuration is a text file that contains a JSON object where some ADBTuner specific options are defined along with the actual ADB commands that will be used to tune a channel.

The purpose of this change is to allow for custom configurations for situations where an Android application could work with ADBTuner if just a few changes could be made. For example, some apps might have an overlay on top of the video when it starts and you might need to trigger the back button or something else to clear that overlay.

These configurations can be managed at /configurations in ADBTuner.

The default configurations (Standard, Compatibility Mode) were migrated to this format and can used as examples for writing a new configuration. They are both visible at /configurations.

For example, the default configuration is as follows:

{
    "name": "Deep Links (default, recommended)",
    "author": "ADBTuner",
    "version": "1.0.0",
    "description": "Loads content via deep link URLs (where supported). Recommended for most content.",
    "uuid": "8ec77d65-30d6-46a3-8045-282571cff8d8",
    "global_options": {
        "wait_for_video_playback_detection": true,
        "use_fixed_delay": false,
        "fixed_delay_seconds": 0,
        "check_for_and_clear_whos_watching_prompts": true
    },
    "pre_tune_commands": [
        "input keyevent KEYCODE_MEDIA_STOP"
    ],
    "tune_commands": [
        "am start -W -a android.intent.action.VIEW -d '||TARGET_URL_OR_IDENTIFIER||' '||TARGET_PACKAGE_NAME||'"
    ],
    "post_tune_commands": [
        "input keyevent KEYCODE_MEDIA_STOP",
        "input keyevent KEYCODE_MEDIA_PAUSE"
    ]
}

So lets say you have an application that works perfectly, but it ignores the stop and pause commands so video playback never actually stops. As a workaround, you could add an extra command to always navigate to the home screen after playback is finished.

{
    "name": "Always Exit to Home Screen",
    "author": "John Doe",
    "version": "1.0",
    "description": "Example App won't stop video playback unless you actually navigate away from the application.",
    "uuid": "3dfe3fe6-6f57-490e-be7d-18e459892c7e",
    "global_options": {
        "wait_for_video_playback_detection": true,
        "use_fixed_delay": false,
        "fixed_delay_seconds": 0,
        "check_for_and_clear_whos_watching_prompts": true
    },
    "pre_tune_commands": [
        "input keyevent KEYCODE_MEDIA_STOP"
    ],
    "tune_commands": [
        "am start -W -a android.intent.action.VIEW -d '||TARGET_URL_OR_IDENTIFIER||' '||TARGET_PACKAGE_NAME||'"
    ],
    "post_tune_commands": [
        "input keyevent KEYCODE_MEDIA_STOP",
        "input keyevent KEYCODE_MEDIA_PAUSE",
        "input keyevent KEYCODE_HOME"
    ]
}

And once the configuration has been added you can go back to the main ADBTuner configuration screen and select the new configuration for each channel as needed.


Some notes:

  1. UUIDs are used to identify each configuration so they obviously need to be unique.
  2. The strings ||TARGET_URL_OR_IDENTIFIER|| and ||TARGET_PACKAGE_NAME|| are replaced with the values from the fields with the same for each channel configuration.
  3. You cannot modify the default configuations. However, any custom configurations can be edited via the web interface.
  4. These custom configurations are stored as text files (.json) in .config/user_configurations.
  5. There is very little in the way of validation in the /configurations section of the web interface. It's not going to save invalid JSON and it enforces the presence of some required fields, but that's it.
  6. If you need to do something more substantial than adding/editing/removing a few ADB commands you are probably better off with something that provides a full scripting environment like ah4c.

Well I hope this helps for the few people who may need it and stays out of the way for those that don't!
Please let me know if you run into any issues.

1 Like

@turtletank I’m using hdmi usb capture, Onn 4k, and Hulu. The stream always comes up paused. It worked prior but one on the updates within the last 30 days has broken it. It is paused every time a stream is pulled up. I have tried compatiblity mode on and off, keep alive on and off with no improvement. Anything else I can try? Container logs below

2025-04-27 16:21:18.747 - server - Available Tuners:
2025-04-27 16:21:18.747 - server - Name: Onn1 Priority: 
2025-04-27 16:21:18.747 - server - Selecting random tuner
2025-04-27 16:21:18.747 - server - Reserved Tuner: Name: Onn1 Priority: 
2025-04-27 16:21:18.747 - server - Using tuner id: 1 for stream.
2025-04-27 16:21:18.748 - uvicorn.access - 192.168.1.152:39356 - "GET /stream/1 HTTP/1.1" 307
2025-04-27 16:21:18.748 - server - Tuner: Tuning to The Weather Channel on Onn1
2025-04-27 16:21:18.748 - server - Tuner: Using channel configuration: Deep Links (default, recommended) (8ec77d65-30d6-46a3-2025-282571cff8d8)
2025-04-27 16:21:18.749 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 16:21:18.888 - lib.adb - ADB: Connected.
2025-04-27 16:21:18.888 - lib.adb - ADB: 192.168.1.166 - settings list global
2025-04-27 16:21:18.955 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-27 16:21:18.955 - lib.adb - ADB: 192.168.1.166 - dumpsys display
2025-04-27 16:21:19.049 - lib.adb - ADB: 192.168.1.166 - getprop ro.build.version.release
2025-04-27 16:21:19.087 - lib.adb - ADB: Android Version: 12.0.
2025-04-27 16:21:19.087 - lib.adb - ADB: 192.168.1.166 - pm list packages -3
2025-04-27 16:21:19.157 - lib.adb - ADB: 192.168.1.166 - pidof com.hulu.livingroomplus
2025-04-27 16:21:19.218 - root - Using https://www.hulu.com/watch/the-weather-channel-f75ab9a3-c9bf-41e0-wxyz-70fbf3235633 to load channel.
2025-04-27 16:21:19.218 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_MEDIA_STOP
2025-04-27 16:21:19.291 - lib.adb - ADB: 192.168.1.166 - am start -W -a android.intent.action.VIEW -d 'https://www.hulu.com/watch/the-weather-channel-f75ab9a3-c9bf-41e0-wxyz-70fbf3235633' 'com.hulu.livingroomplus'
2025-04-27 16:21:20.964 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 16:21:23.240 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 16:21:25.541 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 16:21:27.834 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 16:21:29.954 - lib.adb - Detected 99.91% black pixels. Assuming HDCP is active and video is playing.
2025-04-27 16:21:29.954 - server - Tuner: Tuning completed in 11.21 seconds. Display was on, application (com.hulu.livingroomplus) was running.
2025-04-27 16:21:29.954 - lib.adb - ADB: Closing connection - 192.168.1.166
2025-04-27 16:21:29.954 - uvicorn.access - 192.168.1.152:39356 - "GET /stream/1/1 HTTP/1.1" 200
2025-04-27 16:21:29.957 - server - Tuner: Stream open (attempt 1).
2025-04-27 16:21:29.958 - httpx - HTTP Request: GET http://192.168.1.152:8089/devices/M3U-usbhdmi/channels/201/stream.mpg?format=ts "HTTP/1.1 200 OK"
2025-04-27 16:21:51.687 - server - Tuner: Client disconnected.
2025-04-27 16:21:51.687 - server - Tuner: Stream complete. Endpoint disconnected.
2025-04-27 16:21:51.688 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 16:21:51.720 - lib.adb - ADB: Connected.
2025-04-27 16:21:51.720 - lib.adb - ADB: 192.168.1.166 - settings list global
2025-04-27 16:21:51.795 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-27 16:21:51.795 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_MEDIA_STOP
2025-04-27 16:21:51.871 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-27 16:21:52.009 - server - Released tuner ID: 1
2025-04-27 16:21:52.009 - server - Tuner: Cleanup complete. Onn1 (The Weather Channel)
2025-04-27 16:23:08.935 - server - Performing keep alive tasks.
2025-04-27 16:23:08.936 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 16:23:09.447 - lib.adb - ADB: Connected.
2025-04-27 16:23:09.447 - lib.adb - ADB: Sending keep alive.
2025-04-27 16:23:09.447 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_WAKEUP
2025-04-27 16:23:09.517 - server - Reserved Tuner for maintenance: Name: Onn1
2025-04-27 16:23:09.517 - lib.adb - ADB: Preparing com.hulu.livingroomplus for future tuning operations.
2025-04-27 16:23:09.517 - lib.adb - ADB: 192.168.1.166 - pm list packages -3
2025-04-27 16:23:09.724 - server - Released tuner ID: 1

       

Did the channel load paused and you closed it after 22 seconds? Or did this happen on its own?
Edit: Are you using a recent experimental build?

Container was created 4/1 with experimental tag. I have just updated to latest experimental with same results. Paused playback. As far as closing after 22 sec, that was probably me. It will continue to playback the paused screen indefinitely. If you stop the stream and relaunch it it will display the stream in a different part of the show and it’s paused. So it seems it starts the stream correctly but then pauses it and it also seems to shut down the stream correctly.

      
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO:     Started server process [7]
INFO:     Waiting for application startup.
2025-04-27 19:20:49.356 - server - ADBTuner setup complete.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:5592 (Press CTRL+C to quit)
2025-04-27 19:20:49.361 - server - Performing keep alive tasks.
2025-04-27 19:20:49.362 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 19:20:49.663 - lib.adb - ADB: Connected.
2025-04-27 19:20:49.663 - lib.adb - ADB: Sending keep alive.
2025-04-27 19:20:49.663 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_WAKEUP
2025-04-27 19:20:49.740 - server - Reserved Tuner for maintenance: Name: Onn1
2025-04-27 19:20:49.740 - lib.adb - ADB: Preparing com.hulu.livingroomplus for future tuning operations.
2025-04-27 19:20:49.740 - lib.adb - ADB: 192.168.1.166 - pm list packages -3
2025-04-27 19:20:49.941 - server - Released tuner ID: 1
2025-04-27 19:21:23.703 - uvicorn.access - 192.168.1.131:53924 - "GET / HTTP/1.1" 200
2025-04-27 19:21:23.742 - uvicorn.access - 192.168.1.131:53924 - "GET /css/style.css?t=1745781683 HTTP/1.1" 200
2025-04-27 19:21:23.752 - uvicorn.access - 192.168.1.131:53924 - "GET /js/main.js?t=1745781683 HTTP/1.1" 200
2025-04-27 19:21:23.844 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 19:21:23.849 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 19:21:24.083 - lib.adb - ADB: Connected.
2025-04-27 19:21:24.084 - lib.adb - ADB: 192.168.1.166 - settings list global
2025-04-27 19:21:24.085 - lib.adb - ADB: Connected.
2025-04-27 19:21:24.085 - lib.adb - ADB: 192.168.1.166 - settings list global
2025-04-27 19:21:24.148 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-27 19:21:24.148 - lib.adb - ADB: 192.168.1.166 - pm list packages -3
2025-04-27 19:21:24.157 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-27 19:21:24.157 - lib.adb - ADB: 192.168.1.166 - dumpsys display
2025-04-27 19:21:24.213 - uvicorn.access - 192.168.1.131:53926 - "GET /admin/tuner/installed-packages?_=1745781683700 HTTP/1.1" 200
2025-04-27 19:21:24.253 - lib.adb - ADB: 192.168.1.166 - getprop ro.build.version.release
2025-04-27 19:21:24.308 - lib.adb - ADB: Android Version: 12.0.
2025-04-27 19:21:24.315 - httpx - HTTP Request: GET http://192.168.1.152:8089/devices/M3U-usbhdmi/channels/201/stream.mpg?format=ts "HTTP/1.1 200 OK"
2025-04-27 19:21:28.242 - uvicorn.access - 192.168.1.131:53924 - "GET /admin/tuner/metadata?_=1745781683698 HTTP/1.1" 200
2025-04-27 19:21:55.515 - server - Available Tuners:
2025-04-27 19:21:55.515 - server - Name: Onn1 Priority: 
2025-04-27 19:21:55.515 - server - Selecting random tuner
2025-04-27 19:21:55.515 - server - Reserved Tuner: Name: Onn1 Priority: 
2025-04-27 19:21:55.515 - server - Using tuner id: 1 for stream.
2025-04-27 19:21:55.515 - uvicorn.access - 192.168.1.152:55520 - "GET /stream/2 HTTP/1.1" 307
2025-04-27 19:21:55.516 - server - Tuner: Tuning to Nick Jr. on Onn1
2025-04-27 19:21:55.516 - server - Tuner: Using channel configuration: Deep Links (default, recommended) (8ec77d65-30d6-46a3-8045-282571cff8d8)
2025-04-27 19:21:55.517 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 19:21:55.711 - lib.adb - ADB: Connected.
2025-04-27 19:21:55.711 - lib.adb - ADB: 192.168.1.166 - settings list global
2025-04-27 19:21:55.782 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-27 19:21:55.782 - lib.adb - ADB: 192.168.1.166 - dumpsys display
2025-04-27 19:21:55.832 - lib.adb - ADB: 192.168.1.166 - getprop ro.build.version.release
2025-04-27 19:21:55.873 - lib.adb - ADB: Android Version: 12.0.
2025-04-27 19:21:55.874 - lib.adb - ADB: 192.168.1.166 - pm list packages -3
2025-04-27 19:21:55.944 - lib.adb - ADB: 192.168.1.166 - pidof com.hulu.livingroomplus
2025-04-27 19:21:56.052 - root - Using https://www.hulu.com/watch/nick-jr.-a75df65f-b76d-4026-9adc-9cbe4c168eb4 to load channel.
2025-04-27 19:21:56.052 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_MEDIA_STOP
2025-04-27 19:21:56.124 - lib.adb - ADB: 192.168.1.166 - am start -W -a android.intent.action.VIEW -d 'https://www.hulu.com/watch/nick-jr.-a75df65f-b76d-4026-9adc-9cbe4c168eb4' 'com.hulu.livingroomplus'
2025-04-27 19:21:57.759 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 19:22:00.043 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 19:22:02.330 - server - Tuner: Waiting for playback start. Status: stopped
2025-04-27 19:22:04.679 - lib.adb - Detected 99.91% black pixels. Assuming HDCP is active and video is playing.
2025-04-27 19:22:04.679 - server - Tuner: Tuning completed in 9.16 seconds. Display was on, application (com.hulu.livingroomplus) was running.
2025-04-27 19:22:04.679 - lib.adb - ADB: Closing connection - 192.168.1.166
2025-04-27 19:22:04.679 - uvicorn.access - 192.168.1.152:55520 - "GET /stream/1/2 HTTP/1.1" 200
2025-04-27 19:22:04.682 - server - Tuner: Stream open (attempt 1).
2025-04-27 19:22:04.683 - httpx - HTTP Request: GET http://192.168.1.152:8089/devices/M3U-usbhdmi/channels/201/stream.mpg?format=ts "HTTP/1.1 200 OK"
2025-04-27 19:25:49.942 - server - Performing keep alive tasks.
2025-04-27 19:25:49.943 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-27 19:25:49.973 - lib.adb - ADB: Connected.
2025-04-27 19:25:49.973 - lib.adb - ADB: Sending keep alive.
2025-04-27 19:25:49.973 - lib.adb - ADB: 192.168.1.166 - input keyevent KEYCODE_WAKEUP
1 Like

Thanks for the extra information.

Unfortunately I haven't been able to duplicate this. I tried to use the same devices (Onn 4k, USB HDMI capture via Channels) with your Hulu URL and I couldn't get it to pause as you describe.

Can you provide any additional information about your environment? What are you running the docker container on? Do you have any other apps connected to that Android device via ADB? Does this happen when you preview the video in ADBTuner's web interface? Or just in Channels DVR?

Can you try switching to the stable build and let me know if that changes anything?

Tried latest tag and had the same pause results. I also experienced the tuner not being released in the cdvr. So I’ve switched back to experimental.

My machine runs both the container and the cdvr server. Ubuntu 22.04 desktop running an amd 9600x cpu with 12 threads.

I don’t have any other apps being controlled by ADB or any other applications connecting to the Onn. This Onn is strictly for ADBTuner.

When viewing the preview button the stream comes up paused.

Here is the kicker I just discovered, my USB-HDMI capture source channel in channels is channel number 201. My ADBTuner channels output starts at 5000’s. So I decided it may be helpful to record the 201 channel and then tune to the 5000 weather channel so I could capture the behind the scenes happenings while that tune is happening real time. Sure enough it recorded that but also the video plays correctly unpaused in both the 201 recording and also while watching it on channel 5000.

It seems as though if cdvr is already tapped into the main usb source feed and ADBTuner launches a channel everything works correctly. Hopefully this will point you in a direction that can solve my issue.

@turtletank I still can't make heads or tails of what causes adbtuner to crash the docker engine. It's doesn't appear to be the network because I'm monitoring the different apps (channels, adbtuner), the chromecasts, and the HDMI encoders. Is there anyways for adbtuner to write logs to a file inside the container? I'm wondering if I am missing something that docker isn't catching.

I've tried running it on the same server as channels and on a separate docker instance. I don't think it's a resource issue as the machine running channels barely blinks when all 12 tuners are running and the separate docker instance is a plain ubuntu server running only adbtuner and portainer.

One thing I just noticed is this performing keep alive tasks. I don't have the keep alives enabled and what even more interesting is it appears to do it to active tuners. Is that expected functionality?

Since the Docker daemon itself is crashing, have you checked the logs on the host machine to see if they provide any additional information?

ADBTuner logs everything to stdout so you wouldn't be missing anything. As is typically the case, there is no syslog in the container itself.

ADBTuner tries to wake up other tuners when you load a channel so they are available for other tuning operations. That's what you are seeing. I just updated adbtuner:experimental with a build that disables this so you can see if that changes anything.

Can you try temporarily reducing the amount of "tuners" you have configured? Maybe limit it to 3 or 4 to see if that improves the situation?

If all else fails, I pushed an old build with none of the recent updates to adbtuner:legacy-testing if you want to try that and see if it could at least isolate your issues to something that was recently changed.

I ran 9 streams for several hours without issue. When I started using the 12th tuner and went to change to a new channel it failed. This is with the experimental build. I will try the legacy build now.

2025-04-30 14:06:29.707 | 2025-04-30 18:06:29.707 - server - Tuner: Tuning to FOX 2 on YTTV 12
2025-04-30 14:06:29.726 | 2025-04-30 18:06:29.725 - server - Tuner: Using channel configuration: Deep Links (default, recommended) (8ec77d65-30d6-46a3-8045-282571cff8d8)
2025-04-30 14:06:29.734 | 2025-04-30 18:06:29.733 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:06:29.840 | 2025-04-30 18:06:29.840 - lib.adb - ADB: Connected.
2025-04-30 14:06:29.841 | 2025-04-30 18:06:29.840 - lib.adb - ADB: 192.168.1.214 - settings list global
2025-04-30 14:06:29.902 | 2025-04-30 18:06:29.902 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-30 14:06:29.902 | 2025-04-30 18:06:29.902 - lib.adb - ADB: 192.168.1.214 - dumpsys display
2025-04-30 14:06:29.946 | 2025-04-30 18:06:29.946 - lib.adb - ADB: 192.168.1.214 - getprop ro.build.version.release
2025-04-30 14:06:29.978 | 2025-04-30 18:06:29.978 - lib.adb - ADB: Android Version: 12.0.
2025-04-30 14:06:29.978 | 2025-04-30 18:06:29.978 - lib.adb - ADB: 192.168.1.214 - pm list packages -3
2025-04-30 14:06:30.036 | 2025-04-30 18:06:30.036 - lib.adb - ADB: 192.168.1.214 - pidof com.google.android.youtube.tvunplugged
2025-04-30 14:06:30.087 | 2025-04-30 18:06:30.086 - root - Using https://tv.youtube.com/watch/7IXEKnFoTNM to load channel.
2025-04-30 14:06:30.087 | 2025-04-30 18:06:30.087 - lib.adb - ADB: 192.168.1.214 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:06:30.148 | 2025-04-30 18:06:30.148 - lib.adb - ADB: 192.168.1.214 - am start -W -a android.intent.action.VIEW -d 'https://tv.youtube.com/watch/7IXEKnFoTNM' 'com.google.android.youtube.tvunplugged'
2025-04-30 14:06:33.496 | 2025-04-30 18:06:33.496 - lib.adb - Detected 100.0% black pixels. Assuming HDCP is active and video is playing.
2025-04-30 14:06:33.497 | 2025-04-30 18:06:33.497 - server - Tuner: Waiting for playback start. Status: playing
2025-04-30 14:06:33.497 | 2025-04-30 18:06:33.497 - server - Tuner: Tuning completed in 3.79 seconds. Display was on, application (com.google.android.youtube.tvunplugged) was running.
2025-04-30 14:06:33.497 | 2025-04-30 18:06:33.497 - lib.adb - ADB: Closing connection - 192.168.1.214
2025-04-30 14:06:33.500 | 2025-04-30 18:06:33.500 - uvicorn.access - 192.168.65.1:52761 - "GET /stream/12/41 HTTP/1.1" 200
2025-04-30 14:06:33.521 | 2025-04-30 18:06:33.520 - server - Tuner: Stream open (attempt 1).
2025-04-30 14:06:33.593 | 2025-04-30 18:06:33.592 - httpx - HTTP Request: GET http://192.168.1.210/12.ts "HTTP/1.1 200 OK"
2025-04-30 14:06:54.005 | 2025-04-30 18:06:54.005 - server - Tuner: Client disconnected.
2025-04-30 14:06:54.005 | 2025-04-30 18:06:54.005 - server - Tuner: Stream complete. Endpoint disconnected.
2025-04-30 14:06:54.006 | 2025-04-30 18:06:54.006 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:06:54.044 | 2025-04-30 18:06:54.044 - lib.adb - ADB: Connected.
2025-04-30 14:06:54.044 | 2025-04-30 18:06:54.044 - lib.adb - ADB: 192.168.1.214 - settings list global
2025-04-30 14:06:54.117 | 2025-04-30 18:06:54.117 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-30 14:06:54.117 | 2025-04-30 18:06:54.117 - lib.adb - ADB: 192.168.1.214 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:06:54.194 | 2025-04-30 18:06:54.194 - lib.adb - ADB: 192.168.1.214 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:06:54.269 | 2025-04-30 18:06:54.268 - server - Released tuner ID: 12
2025-04-30 14:06:54.269 | 2025-04-30 18:06:54.269 - server - Tuner: Cleanup complete. YTTV 12 (FOX 2)
2025-04-30 14:06:54.969 | 2025-04-30 18:06:54.969 - server - Available Tuners:
2025-04-30 14:06:54.970 | 2025-04-30 18:06:54.969 - server - Name: YTTV 12 Priority: 
2025-04-30 14:06:54.970 | 2025-04-30 18:06:54.969 - server - Selecting random tuner
2025-04-30 14:06:54.970 | 2025-04-30 18:06:54.970 - server - Reserved Tuner: Name: YTTV 12 Priority: 
2025-04-30 14:06:54.970 | 2025-04-30 18:06:54.970 - server - Using tuner id: 12 for stream.
2025-04-30 14:06:54.972 | 2025-04-30 18:06:54.972 - uvicorn.access - 192.168.65.1:60921 - "GET /stream/43 HTTP/1.1" 307
2025-04-30 14:06:54.997 | 2025-04-30 18:06:54.996 - server - Tuner: Tuning to FOXNEWS on YTTV 12
2025-04-30 14:06:55.013 | 2025-04-30 18:06:55.012 - server - Tuner: Using channel configuration: Deep Links (default, recommended) (8ec77d65-30d6-46a3-8045-282571cff8d8)
2025-04-30 14:06:55.026 | 2025-04-30 18:06:55.025 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:06:55.139 | 2025-04-30 18:06:55.139 - lib.adb - ADB: Connected.
2025-04-30 14:06:55.139 | 2025-04-30 18:06:55.139 - lib.adb - ADB: 192.168.1.214 - settings list global
2025-04-30 14:06:55.205 | 2025-04-30 18:06:55.205 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2025-04-30 14:06:55.205 | 2025-04-30 18:06:55.205 - lib.adb - ADB: 192.168.1.214 - dumpsys display
2025-04-30 14:06:55.250 | 2025-04-30 18:06:55.250 - lib.adb - ADB: 192.168.1.214 - getprop ro.build.version.release
2025-04-30 14:06:55.283 | 2025-04-30 18:06:55.281 - lib.adb - ADB: Android Version: 12.0.
2025-04-30 14:06:55.283 | 2025-04-30 18:06:55.282 - lib.adb - ADB: 192.168.1.214 - pm list packages -3
2025-04-30 14:06:55.345 | 2025-04-30 18:06:55.344 - lib.adb - ADB: 192.168.1.214 - pidof com.google.android.youtube.tvunplugged
2025-04-30 14:06:55.405 | 2025-04-30 18:06:55.404 - root - Using https://tv.youtube.com/watch/L3-5JT6o4XA to load channel.
2025-04-30 14:06:55.405 | 2025-04-30 18:06:55.405 - lib.adb - ADB: 192.168.1.214 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:06:55.473 | 2025-04-30 18:06:55.472 - lib.adb - ADB: 192.168.1.214 - am start -W -a android.intent.action.VIEW -d 'https://tv.youtube.com/watch/L3-5JT6o4XA' 'com.google.android.youtube.tvunplugged'
2025-04-30 14:06:58.498 | 2025-04-30 18:06:58.498 - lib.adb - Detected 100.0% black pixels. Assuming HDCP is active and video is playing.
2025-04-30 14:06:58.499 | 2025-04-30 18:06:58.499 - server - Tuner: Waiting for playback start. Status: playing
2025-04-30 14:06:58.499 | 2025-04-30 18:06:58.499 - server - Tuner: Tuning completed in 3.52 seconds. Display was on, application (com.google.android.youtube.tvunplugged) was running.
2025-04-30 14:06:58.499 | 2025-04-30 18:06:58.499 - lib.adb - ADB: Closing connection - 192.168.1.214
2025-04-30 14:06:58.500 | 2025-04-30 18:06:58.500 - uvicorn.access - 192.168.65.1:60921 - "GET /stream/12/43 HTTP/1.1" 200
2025-04-30 14:06:58.507 | 2025-04-30 18:06:58.507 - server - Tuner: Stream open (attempt 1).
2025-04-30 14:06:58.565 | 2025-04-30 18:06:58.564 - httpx - HTTP Request: GET http://192.168.1.210/12.ts "HTTP/1.1 200 OK"
2025-04-30 14:07:22.180 | 2025-04-30 18:07:22.179 - server - Tuner: Playback failed.
2025-04-30 14:07:22.183 | 2025-04-30 18:07:22.183 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.186 | 2025-04-30 18:07:22.186 - server - Tuner: Playback failed.
2025-04-30 14:07:22.189 | 2025-04-30 18:07:22.189 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.190 | 2025-04-30 18:07:22.190 - server - Tuner: Playback failed.
2025-04-30 14:07:22.193 | 2025-04-30 18:07:22.193 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.194 | 2025-04-30 18:07:22.193 - server - Tuner: Playback failed.
2025-04-30 14:07:22.197 | 2025-04-30 18:07:22.197 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.211 | 2025-04-30 18:07:22.211 - server - Tuner: Playback failed.
2025-04-30 14:07:22.212 | 2025-04-30 18:07:22.211 - server - Tuner: Playback failed.
2025-04-30 14:07:22.216 | 2025-04-30 18:07:22.215 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.217 | 2025-04-30 18:07:22.216 - server - Tuner: Playback failed.
2025-04-30 14:07:22.218 | 2025-04-30 18:07:22.218 - server - Tuner: Playback failed.
2025-04-30 14:07:22.219 | 2025-04-30 18:07:22.219 - server - Tuner: Playback failed.
2025-04-30 14:07:22.224 | 2025-04-30 18:07:22.223 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.227 | 2025-04-30 18:07:22.227 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.231 | 2025-04-30 18:07:22.230 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.234 | 2025-04-30 18:07:22.234 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.235 | 2025-04-30 18:07:22.235 - server - Tuner: Playback failed.
2025-04-30 14:07:22.238 | 2025-04-30 18:07:22.238 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:22.239 | 2025-04-30 18:07:22.238 - server - Tuner: Playback failed.
2025-04-30 14:07:22.242 | 2025-04-30 18:07:22.242 - lib.adb - ADB: Connecting to device (attempt 1).
2025-04-30 14:07:27.189 | 2025-04-30 18:07:27.188 - lib.adb - timed out
2025-04-30 14:07:27.189 | 2025-04-30 18:07:27.189 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.195 | 2025-04-30 18:07:27.194 - lib.adb - timed out
2025-04-30 14:07:27.195 | 2025-04-30 18:07:27.195 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.196 | 2025-04-30 18:07:27.195 - lib.adb - timed out
2025-04-30 14:07:27.196 | 2025-04-30 18:07:27.195 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.201 | 2025-04-30 18:07:27.200 - lib.adb - timed out
2025-04-30 14:07:27.201 | 2025-04-30 18:07:27.201 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.223 | 2025-04-30 18:07:27.222 - lib.adb - timed out
2025-04-30 14:07:27.223 | 2025-04-30 18:07:27.223 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.230 | 2025-04-30 18:07:27.229 - lib.adb - timed out
2025-04-30 14:07:27.230 | 2025-04-30 18:07:27.230 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.241 | 2025-04-30 18:07:27.241 - lib.adb - timed out
2025-04-30 14:07:27.241 | 2025-04-30 18:07:27.241 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.242 | 2025-04-30 18:07:27.241 - lib.adb - timed out
2025-04-30 14:07:27.242 | 2025-04-30 18:07:27.242 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.242 | 2025-04-30 18:07:27.242 - lib.adb - timed out
2025-04-30 14:07:27.242 | 2025-04-30 18:07:27.242 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.248 | 2025-04-30 18:07:27.247 - lib.adb - timed out
2025-04-30 14:07:27.248 | 2025-04-30 18:07:27.248 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:27.248 | 2025-04-30 18:07:27.248 - lib.adb - timed out
2025-04-30 14:07:27.248 | 2025-04-30 18:07:27.248 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:28.190 | 2025-04-30 18:07:28.189 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.196 | 2025-04-30 18:07:28.195 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.197 | 2025-04-30 18:07:28.196 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.202 | 2025-04-30 18:07:28.201 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.224 | 2025-04-30 18:07:28.223 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.231 | 2025-04-30 18:07:28.230 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.242 | 2025-04-30 18:07:28.242 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.243 | 2025-04-30 18:07:28.242 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.243 | 2025-04-30 18:07:28.243 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.249 | 2025-04-30 18:07:28.248 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:28.249 | 2025-04-30 18:07:28.249 - lib.adb - ADB: Connecting to device (attempt 2).
2025-04-30 14:07:33.196 | 2025-04-30 18:07:33.196 - lib.adb - timed out
2025-04-30 14:07:33.196 | 2025-04-30 18:07:33.196 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.198 | 2025-04-30 18:07:33.197 - lib.adb - timed out
2025-04-30 14:07:33.198 | 2025-04-30 18:07:33.197 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.202 | 2025-04-30 18:07:33.201 - lib.adb - timed out
2025-04-30 14:07:33.202 | 2025-04-30 18:07:33.201 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.203 | 2025-04-30 18:07:33.202 - lib.adb - timed out
2025-04-30 14:07:33.203 | 2025-04-30 18:07:33.202 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.230 | 2025-04-30 18:07:33.229 - lib.adb - timed out
2025-04-30 14:07:33.230 | 2025-04-30 18:07:33.230 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.237 | 2025-04-30 18:07:33.236 - lib.adb - timed out
2025-04-30 14:07:33.237 | 2025-04-30 18:07:33.237 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.249 | 2025-04-30 18:07:33.248 - lib.adb - timed out
2025-04-30 14:07:33.249 | 2025-04-30 18:07:33.249 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.250 | 2025-04-30 18:07:33.249 - lib.adb - timed out
2025-04-30 14:07:33.250 | 2025-04-30 18:07:33.249 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.250 | 2025-04-30 18:07:33.250 - lib.adb - timed out
2025-04-30 14:07:33.250 | 2025-04-30 18:07:33.250 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.256 | 2025-04-30 18:07:33.255 - lib.adb - timed out
2025-04-30 14:07:33.256 | 2025-04-30 18:07:33.256 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:33.256 | 2025-04-30 18:07:33.256 - lib.adb - timed out
2025-04-30 14:07:33.256 | 2025-04-30 18:07:33.256 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:34.197 | 2025-04-30 18:07:34.196 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.199 | 2025-04-30 18:07:34.198 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.203 | 2025-04-30 18:07:34.202 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.204 | 2025-04-30 18:07:34.203 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.231 | 2025-04-30 18:07:34.230 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.238 | 2025-04-30 18:07:34.237 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.251 | 2025-04-30 18:07:34.250 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.251 | 2025-04-30 18:07:34.251 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.257 | 2025-04-30 18:07:34.256 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.258 | 2025-04-30 18:07:34.257 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:34.259 | 2025-04-30 18:07:34.259 - lib.adb - ADB: Connecting to device (attempt 3).
2025-04-30 14:07:39.203 | 2025-04-30 18:07:39.202 - lib.adb - timed out
2025-04-30 14:07:39.203 | 2025-04-30 18:07:39.203 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.205 | 2025-04-30 18:07:39.204 - lib.adb - timed out
2025-04-30 14:07:39.205 | 2025-04-30 18:07:39.205 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.209 | 2025-04-30 18:07:39.208 - lib.adb - timed out
2025-04-30 14:07:39.209 | 2025-04-30 18:07:39.209 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.210 | 2025-04-30 18:07:39.209 - lib.adb - timed out
2025-04-30 14:07:39.210 | 2025-04-30 18:07:39.209 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.237 | 2025-04-30 18:07:39.236 - lib.adb - timed out
2025-04-30 14:07:39.237 | 2025-04-30 18:07:39.237 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.244 | 2025-04-30 18:07:39.243 - lib.adb - timed out
2025-04-30 14:07:39.244 | 2025-04-30 18:07:39.244 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.257 | 2025-04-30 18:07:39.256 - lib.adb - timed out
2025-04-30 14:07:39.257 | 2025-04-30 18:07:39.257 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.257 | 2025-04-30 18:07:39.257 - lib.adb - timed out
2025-04-30 14:07:39.257 | 2025-04-30 18:07:39.257 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.263 | 2025-04-30 18:07:39.262 - lib.adb - timed out
2025-04-30 14:07:39.263 | 2025-04-30 18:07:39.262 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.264 | 2025-04-30 18:07:39.263 - lib.adb - timed out
2025-04-30 14:07:39.264 | 2025-04-30 18:07:39.263 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:39.265 | 2025-04-30 18:07:39.264 - lib.adb - timed out
2025-04-30 14:07:39.265 | 2025-04-30 18:07:39.264 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:40.204 | 2025-04-30 18:07:40.203 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.206 | 2025-04-30 18:07:40.205 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.210 | 2025-04-30 18:07:40.209 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.211 | 2025-04-30 18:07:40.210 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.238 | 2025-04-30 18:07:40.238 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.245 | 2025-04-30 18:07:40.244 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.258 | 2025-04-30 18:07:40.257 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.259 | 2025-04-30 18:07:40.258 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.264 | 2025-04-30 18:07:40.263 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.265 | 2025-04-30 18:07:40.264 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:40.266 | 2025-04-30 18:07:40.265 - lib.adb - ADB: Connecting to device (attempt 4).
2025-04-30 14:07:45.209 | 2025-04-30 18:07:45.209 - lib.adb - timed out
2025-04-30 14:07:45.209 | 2025-04-30 18:07:45.209 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.210 | 2025-04-30 18:07:45.210 - lib.adb - timed out
2025-04-30 14:07:45.210 | 2025-04-30 18:07:45.210 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.211 | 2025-04-30 18:07:45.211 - lib.adb - timed out
2025-04-30 14:07:45.211 | 2025-04-30 18:07:45.211 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.215 | 2025-04-30 18:07:45.215 - lib.adb - timed out
2025-04-30 14:07:45.215 | 2025-04-30 18:07:45.215 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.244 | 2025-04-30 18:07:45.244 - lib.adb - timed out
2025-04-30 14:07:45.244 | 2025-04-30 18:07:45.244 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.250 | 2025-04-30 18:07:45.250 - lib.adb - timed out
2025-04-30 14:07:45.250 | 2025-04-30 18:07:45.250 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.263 | 2025-04-30 18:07:45.263 - lib.adb - timed out
2025-04-30 14:07:45.263 | 2025-04-30 18:07:45.263 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.264 | 2025-04-30 18:07:45.264 - lib.adb - timed out
2025-04-30 14:07:45.264 | 2025-04-30 18:07:45.264 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.264 | 2025-04-30 18:07:45.264 - lib.adb - timed out
2025-04-30 14:07:45.264 | 2025-04-30 18:07:45.264 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.270 | 2025-04-30 18:07:45.270 - lib.adb - timed out
2025-04-30 14:07:45.270 | 2025-04-30 18:07:45.270 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:45.271 | 2025-04-30 18:07:45.271 - lib.adb - timed out
2025-04-30 14:07:45.271 | 2025-04-30 18:07:45.271 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:46.211 | 2025-04-30 18:07:46.210 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.212 | 2025-04-30 18:07:46.211 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.213 | 2025-04-30 18:07:46.212 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.217 | 2025-04-30 18:07:46.216 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.246 | 2025-04-30 18:07:46.245 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.251 | 2025-04-30 18:07:46.251 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.265 | 2025-04-30 18:07:46.264 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.266 | 2025-04-30 18:07:46.265 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.266 | 2025-04-30 18:07:46.265 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.272 | 2025-04-30 18:07:46.271 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:46.273 | 2025-04-30 18:07:46.272 - lib.adb - ADB: Connecting to device (attempt 5).
2025-04-30 14:07:51.215 | 2025-04-30 18:07:51.215 - lib.adb - timed out
2025-04-30 14:07:51.215 | 2025-04-30 18:07:51.215 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.217 | 2025-04-30 18:07:51.216 - lib.adb - timed out
2025-04-30 14:07:51.217 | 2025-04-30 18:07:51.216 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.217 | 2025-04-30 18:07:51.217 - lib.adb - timed out
2025-04-30 14:07:51.217 | 2025-04-30 18:07:51.217 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.223 | 2025-04-30 18:07:51.222 - lib.adb - timed out
2025-04-30 14:07:51.223 | 2025-04-30 18:07:51.223 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.252 | 2025-04-30 18:07:51.251 - lib.adb - timed out
2025-04-30 14:07:51.252 | 2025-04-30 18:07:51.252 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.258 | 2025-04-30 18:07:51.257 - lib.adb - timed out
2025-04-30 14:07:51.258 | 2025-04-30 18:07:51.257 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.271 | 2025-04-30 18:07:51.270 - lib.adb - timed out
2025-04-30 14:07:51.271 | 2025-04-30 18:07:51.271 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.272 | 2025-04-30 18:07:51.271 - lib.adb - timed out
2025-04-30 14:07:51.272 | 2025-04-30 18:07:51.272 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.272 | 2025-04-30 18:07:51.272 - lib.adb - timed out
2025-04-30 14:07:51.272 | 2025-04-30 18:07:51.272 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.273 | 2025-04-30 18:07:51.272 - lib.adb - timed out
2025-04-30 14:07:51.273 | 2025-04-30 18:07:51.272 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:51.279 | 2025-04-30 18:07:51.278 - lib.adb - timed out
2025-04-30 14:07:51.279 | 2025-04-30 18:07:51.279 - lib.adb - ADB: Connection error. Device may be waking up. Trying again.
2025-04-30 14:07:52.216 | 2025-04-30 18:07:52.215 - lib.adb - ADB: 192.168.1.206 - settings list global
2025-04-30 14:07:52.216 | 2025-04-30 18:07:52.216 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.216 | 2025-04-30 18:07:52.216 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.216 - lib.adb - ADB: 192.168.1.206 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.217 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.217 - lib.adb - ADB: 192.168.1.206 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.217 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.217 - server - Released tuner ID: 5
2025-04-30 14:07:52.217 | 2025-04-30 18:07:52.217 - server - Tuner: Cleanup complete. YTTV 5 (GOLF)
2025-04-30 14:07:52.219 | 2025-04-30 18:07:52.219 - lib.adb - ADB: 192.168.1.201 - settings list global
2025-04-30 14:07:52.220 | 2025-04-30 18:07:52.220 - lib.adb - ADB: 192.168.1.213 - settings list global
2025-04-30 14:07:52.221 | 2025-04-30 18:07:52.220 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.221 | 2025-04-30 18:07:52.220 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.221 | 2025-04-30 18:07:52.221 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.221 | 2025-04-30 18:07:52.220 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.222 | 2025-04-30 18:07:52.222 - lib.adb - ADB: 192.168.1.201 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.222 | 2025-04-30 18:07:52.222 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.222 | 2025-04-30 18:07:52.222 - lib.adb - ADB: 192.168.1.201 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.223 | 2025-04-30 18:07:52.222 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.223 | 2025-04-30 18:07:52.222 - server - Released tuner ID: 1
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.223 - lib.adb - ADB: 192.168.1.213 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.224 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.224 - lib.adb - ADB: 192.168.1.213 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.224 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.224 - server - Released tuner ID: 11
2025-04-30 14:07:52.224 | 2025-04-30 18:07:52.223 - server - Tuner: Cleanup complete. YTTV 1 (ACC)
2025-04-30 14:07:52.225 | 2025-04-30 18:07:52.223 - lib.adb - ADB: 192.168.1.209 - settings list global
2025-04-30 14:07:52.225 | 2025-04-30 18:07:52.224 - server - Tuner: Cleanup complete. YTTV 11 (ESPN2)
2025-04-30 14:07:52.227 | 2025-04-30 18:07:52.225 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.227 | 2025-04-30 18:07:52.227 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.229 | 2025-04-30 18:07:52.229 - lib.adb - ADB: 192.168.1.209 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.229 | 2025-04-30 18:07:52.229 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.229 | 2025-04-30 18:07:52.229 - lib.adb - ADB: 192.168.1.209 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.229 | 2025-04-30 18:07:52.229 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.229 | 2025-04-30 18:07:52.229 - server - Released tuner ID: 8
2025-04-30 14:07:52.230 | 2025-04-30 18:07:52.229 - server - Tuner: Cleanup complete. YTTV 8 (FS2)
2025-04-30 14:07:52.253 | 2025-04-30 18:07:52.252 - lib.adb - ADB: 192.168.1.203 - settings list global
2025-04-30 14:07:52.253 | 2025-04-30 18:07:52.252 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.253 | 2025-04-30 18:07:52.253 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.253 - lib.adb - ADB: 192.168.1.203 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.253 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.253 - lib.adb - ADB: 192.168.1.203 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.253 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.254 - server - Released tuner ID: 3
2025-04-30 14:07:52.254 | 2025-04-30 18:07:52.254 - server - Tuner: Cleanup complete. YTTV 3 (CBSSPORTS)
2025-04-30 14:07:52.259 | 2025-04-30 18:07:52.258 - lib.adb - ADB: 192.168.1.204 - settings list global
2025-04-30 14:07:52.259 | 2025-04-30 18:07:52.258 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.259 | 2025-04-30 18:07:52.259 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.259 - lib.adb - ADB: 192.168.1.204 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.259 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.259 - lib.adb - ADB: 192.168.1.204 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.259 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.260 - server - Released tuner ID: 4
2025-04-30 14:07:52.260 | 2025-04-30 18:07:52.260 - server - Tuner: Cleanup complete. YTTV 4 (ESPNU)
2025-04-30 14:07:52.272 | 2025-04-30 18:07:52.271 - lib.adb - ADB: 192.168.1.202 - settings list global
2025-04-30 14:07:52.272 | 2025-04-30 18:07:52.271 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.272 | 2025-04-30 18:07:52.272 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.272 - lib.adb - ADB: 192.168.1.202 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.272 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.272 - lib.adb - ADB: 192.168.1.202 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.272 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.273 - server - Released tuner ID: 2
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.273 - server - Tuner: Cleanup complete. YTTV 2 (FS1)
2025-04-30 14:07:52.273 | 2025-04-30 18:07:52.273 - lib.adb - ADB: 192.168.1.207 - settings list global
2025-04-30 14:07:52.274 | 2025-04-30 18:07:52.273 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.276 | 2025-04-30 18:07:52.273 - lib.adb - ADB: 192.168.1.212 - settings list global
2025-04-30 14:07:52.276 | 2025-04-30 18:07:52.276 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.276 | 2025-04-30 18:07:52.276 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.276 | 2025-04-30 18:07:52.275 - lib.adb - ADB: 192.168.1.208 - settings list global
2025-04-30 14:07:52.277 | 2025-04-30 18:07:52.275 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.278 | 2025-04-30 18:07:52.276 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.278 | 2025-04-30 18:07:52.277 - lib.adb - ADB: 192.168.1.212 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.279 | 2025-04-30 18:07:52.278 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.279 | 2025-04-30 18:07:52.278 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.280 | 2025-04-30 18:07:52.279 - lib.adb - ADB: 192.168.1.207 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.280 | 2025-04-30 18:07:52.279 - lib.adb - ADB: 192.168.1.212 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.281 | 2025-04-30 18:07:52.279 - lib.adb - ADB: 192.168.1.211 - settings list global
2025-04-30 14:07:52.281 | 2025-04-30 18:07:52.280 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.282 | 2025-04-30 18:07:52.280 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.282 | 2025-04-30 18:07:52.281 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.283 | 2025-04-30 18:07:52.281 - lib.adb - ADB: 192.168.1.207 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.283 | 2025-04-30 18:07:52.282 - lib.adb - ADB: 192.168.1.208 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.283 | 2025-04-30 18:07:52.282 - server - Released tuner ID: 10
2025-04-30 14:07:52.284 | 2025-04-30 18:07:52.282 - lib.adb - Failed to retrieve current configuration. Will not update Android device configuration.
2025-04-30 14:07:52.284 | 2025-04-30 18:07:52.283 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.284 | 2025-04-30 18:07:52.283 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.284 | 2025-04-30 18:07:52.284 - lib.adb - ADB: 192.168.1.208 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.284 | 2025-04-30 18:07:52.284 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.285 | 2025-04-30 18:07:52.283 - server - Tuner: Cleanup complete. YTTV 10 (ESPN)
2025-04-30 14:07:52.287 | 2025-04-30 18:07:52.284 - server - Released tuner ID: 6
2025-04-30 14:07:52.287 | 2025-04-30 18:07:52.287 - server - Tuner: Cleanup complete. YTTV 6 (ESPNews)
2025-04-30 14:07:52.288 | 2025-04-30 18:07:52.287 - lib.adb - ADB: 192.168.1.211 - input keyevent KEYCODE_MEDIA_STOP
2025-04-30 14:07:52.288 | 2025-04-30 18:07:52.288 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.288 | 2025-04-30 18:07:52.288 - lib.adb - ADB: 192.168.1.211 - input keyevent KEYCODE_MEDIA_PAUSE
2025-04-30 14:07:52.290 | 2025-04-30 18:07:52.289 - lib.adb - ADB: Error while running command. Check for approval popup on device.
2025-04-30 14:07:52.290 | 2025-04-30 18:07:52.289 - server - Released tuner ID: 7
2025-04-30 14:07:52.290 | 2025-04-30 18:07:52.290 - server - Tuner: Cleanup complete. YTTV 7 (FOXWEATHER)
2025-04-30 14:07:52.291 | 2025-04-30 18:07:52.290 - server - Released tuner ID: 9
2025-04-30 14:07:52.291 | 2025-04-30 18:07:52.291 - server - Tuner: Cleanup complete. YTTV 9 (BIG10HD)
2025-04-30 14:08:12.475 | INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
2025-04-30 14:08:12.475 | INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2025-04-30 14:08:13.519 | INFO:     Started server process [7]
2025-04-30 14:08:13.519 | INFO:     Waiting for application startup.
2025-04-30 14:08:13.520 | 2025-04-30 18:08:13.519 - server - ADBTuner setup complete.
2025-04-30 14:08:13.527 | INFO:     Application startup complete.
2025-04-30 14:08:13.535 | INFO:     Uvicorn running on http://0.0.0.0:5592 (Press CTRL+C to quit)
1 Like

bnhf/olivetin:latest (aka bnhf/olivetin:2025.05.01) pushed today with support for monitoring your ADBTuner "up" status, on a user selectable interval. If either device_connected or streaming_endpoint_connected are false, an alert will be sent either via your OliveTin ALERT_EMAIL values or via an Apprise supported service:

screenshot-htpc6-2025_05_01-10_00_05

2 Likes

Was there a new release ?

2025-05-02 22:20:24.305 - lib.adb - ADB: 192.168.50.47 - pidof com.hbo.hbonow
2025-05-02 22:20:24.379 - lib.adb - ADB: Stopping media playback.
2025-05-02 22:20:24.379 - lib.adb - ADB: 192.168.50.47 - input keyevent KEYCODE_MEDIA_STOP
2025-05-02 22:20:24.467 - lib.adb - ADB: Connected.
2025-05-02 22:20:24.467 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:20:24.467 - lib.adb - ADB: 192.168.50.177 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:20:25.402 - root - Using https://play.max.com/channel/watch/a4c770bb-eeab-5236-bad0-c4e3bdcfb67c/b7622186-b110-58be-922f-a42a2dafe29e to load channel.
2025-05-02 22:20:25.402 - lib.adb - ADB: 192.168.50.47 - am start -a android.intent.action.VIEW -d "https://play.max.com/channel/watch/a4c770bb-eeab-5236-bad0-c4e3bdcfb67c/b7622186-b110-58be-922f-a42a2dafe29e" com.hbo.hbonow
2025-05-02 22:20:25.480 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:20:25.816 - lib.adb - ADB: Connected.
2025-05-02 22:20:25.816 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:20:25.817 - lib.adb - ADB: 192.168.50.67 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:20:26.864 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:20:27.231 - lib.adb - ADB: Connected.
2025-05-02 22:20:27.232 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:20:27.232 - lib.adb - ADB: 192.168.50.37 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:20:28.338 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:20:28.543 - lib.adb - ADB: Connected.
2025-05-02 22:20:28.544 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:20:28.544 - lib.adb - ADB: 192.168.50.184 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:20:30.478 - server - Tuner: Waiting for playback start. Status: unknown
2025-05-02 22:20:39.883 - lib.adb - Checking for profile screen
2025-05-02 22:20:41.972 - lib.adb - On screen text: "who's watching?  kids: os  ; kids add profile edwin".
2025-05-02 22:20:41.972 - lib.adb - Matched "who's watching".
2025-05-02 22:20:41.974 - server - Tuner: Profile screen detected.
2025-05-02 22:20:41.974 - lib.adb - ADB: 192.168.50.47 - input keyevent KEYCODE_DPAD_CENTER
2025-05-02 22:20:44.484 - lib.adb - Checking for profile screen
2025-05-02 22:20:47.313 - lib.adb - Detected 100.0% black pixels. Assuming HDCP is active and video is playing.
2025-05-02 22:20:47.313 - server - Tuner: Tuning completed in 23.73 seconds. Display was on, application (com.hbo.hbonow) was closed.
2025-05-02 22:20:47.313 - lib.adb - ADB: Closing connection - 192.168.50.47
2025-05-02 22:20:47.314 - server - http disconnect
2025-05-02 22:20:47.320 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:20:47.421 - root - Tuner: Stream open (attempt 1).
2025-05-02 22:20:47.492 - httpx - HTTP Request: GET http://192.168.50.242:8086/2.ts "HTTP/1.1 200 OK"
2025-05-02 22:20:47.520 - lib.adb - ADB: Connected.
2025-05-02 22:20:47.520 - lib.adb - ADB: 192.168.50.47 - settings list global
2025-05-02 22:20:47.585 - root - adb_allowed_connection_time=0, adb_auth_timeout=0, adb_enabled=1
2025-05-02 22:20:47.585 - lib.adb - ADB: Stopping media playback.
2025-05-02 22:20:47.585 - lib.adb - ADB: 192.168.50.47 - input keyevent KEYCODE_MEDIA_STOP
2025-05-02 22:20:48.482 - lib.adb - ADB: 192.168.50.47 - input keyevent KEYCODE_MEDIA_PAUSE
2025-05-02 22:20:49.790 - lib.adb - ADB: Closing connection - 192.168.50.47
2025-05-02 22:20:49.791 - server - Released tuner ID: 2
2025-05-02 22:20:49.791 - server - Tuner: Cleanup complete. Remote2 (HBOSPHD)
2025-05-02 22:22:06.917 - server - Available Tuners:
2025-05-02 22:22:06.917 - server - Name: Remote1 Priority: 
2025-05-02 22:22:06.917 - server - Name: Remote2 Priority: 
2025-05-02 22:22:06.918 - server - Name: Remote3 Priority: 
2025-05-02 22:22:06.918 - server - Name: Remote4 Priority: 
2025-05-02 22:22:06.918 - server - Name: Remote5 Priority: 
2025-05-02 22:22:06.918 - server - Selecting random tuner
2025-05-02 22:22:06.919 - server - Reserved Tuner: Name: Remote3 Priority: 
2025-05-02 22:22:06.919 - server - Using tuner id: 3 for stream.
2025-05-02 22:22:06.920 - uvicorn.access - 192.168.50.11:51973 - "GET /stream/1 HTTP/1.1" 307
2025-05-02 22:22:06.933 - server - Tuner: Tuning to HBOHDP on Remote3
2025-05-02 22:22:06.941 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:22:07.290 - lib.adb - ADB: Connected.
2025-05-02 22:22:07.290 - lib.adb - ADB: 192.168.50.67 - settings list global
2025-05-02 22:22:07.387 - root - adb_allowed_connection_time=0, adb_auth_timeout=0, adb_enabled=1
2025-05-02 22:22:07.387 - lib.adb - ADB: 192.168.50.67 - dumpsys display
2025-05-02 22:22:07.485 - lib.adb - ADB: 192.168.50.67 - getprop ro.build.version.release
2025-05-02 22:22:07.524 - lib.adb - ADB: Android Version: 9.0.
2025-05-02 22:22:07.527 - lib.adb - ADB: 192.168.50.67 - pm list packages -3
2025-05-02 22:22:07.531 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:22:07.629 - lib.adb - ADB: 192.168.50.67 - pidof com.hbo.hbonow
2025-05-02 22:22:07.719 - lib.adb - ADB: Stopping media playback.
2025-05-02 22:22:07.719 - lib.adb - ADB: 192.168.50.67 - input keyevent KEYCODE_MEDIA_STOP
2025-05-02 22:22:07.771 - lib.adb - ADB: Connected.
2025-05-02 22:22:07.771 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:22:07.771 - lib.adb - ADB: 192.168.50.177 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:22:08.461 - root - Using https://play.max.com/channel/watch/a903ca8a-6d5e-559b-a027-f82997397694/452e5d78-1cca-59a9-8508-21b25d813874 to load channel.
2025-05-02 22:22:08.462 - lib.adb - ADB: 192.168.50.67 - am start -a android.intent.action.VIEW -d "https://play.max.com/channel/watch/a903ca8a-6d5e-559b-a027-f82997397694/452e5d78-1cca-59a9-8508-21b25d813874" com.hbo.hbonow
2025-05-02 22:22:08.484 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:22:08.810 - lib.adb - ADB: Connected.
2025-05-02 22:22:08.811 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:22:08.811 - lib.adb - ADB: 192.168.50.47 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:22:09.540 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:22:09.830 - lib.adb - ADB: Connected.
2025-05-02 22:22:09.831 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:22:09.831 - lib.adb - ADB: 192.168.50.37 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:22:10.592 - lib.adb - ADB: Connecting to device (attempt 1).
2025-05-02 22:22:10.873 - lib.adb - ADB: Connected.
2025-05-02 22:22:10.874 - lib.adb - ADB: Sending keep alive.
2025-05-02 22:22:10.874 - lib.adb - ADB: 192.168.50.184 - input keyevent KEYCODE_WAKEUP
2025-05-02 22:22:12.095 - server - Tuner: Waiting for playback start. Status: unknown
2025-05-02 22:22:22.088 - lib.adb - Checking for profile screen
2025-05-02 22:22:23.898 - lib.adb - On screen text: "who's watching?  adlets a  ; kids add profile ein".
2025-05-02 22:22:23.898 - lib.adb - Matched "who's watching".
2025-05-02 22:22:23.900 - server - Tuner: Profile screen detected.
2025-05-02 22:22:23.900 - lib.adb - ADB: 192.168.50.67 - input keyevent KEYCODE_DPAD_CENTER
2025-05-02 22:22:26.469 - lib.adb - Checking for profile screen
2025-05-02 22:22:28.864 - lib.adb - On screen text: "manage profile  name  content preferences  ced ale hy tv-ma_ nc-17 4  manage ratings at max.com/editprofiles  at aa ile hy  lock profile eo  require a profile pin to enter this profile. display language english (us) >  personal information  tie dn dt] 8 1953)".
2025-05-02 22:22:30.536 - lib.adb - Checking for profile screen
2025-05-02 22:22:32.954 - lib.adb - On screen text: "manage profile  name  content preferences  ced ale hy tv-ma_nc-17 ze  manage ratings at max.com/editprofiles  at aa ile hy  lock profile eo  require a profile pin to enter this profile. display language english (us) >  personal information  birth year 1959)".
2025-05-02 22:22:34.681 - lib.adb - Checking for profile screen
2025-05-02 22:22:36.857 - lib.adb - On screen text: "manage profile  name  content preferences  ced ale hy tv-ma_ nc-17 o  manage ratings at max.com/editprofiles  at aa ile hy  lock profile eo  require a profile pin to enter this profile. display language english (us) >  personal information  tie dn dt] 8 1958)".
2025-05-02 22:22:38.666 - server - Tuner: Could not detect playback state. Giving up after 31.74 seconds. Display was on, application (com.hbo.hbonow) was running.
2025-05-02 22:22:38.667 - server - Released tuner ID: 3
2025-05-02 22:22:38.667 - lib.adb - ADB: Stopping media playback.
2025-05-02 22:22:38.667 - lib.adb - ADB: 192.168.50.67 - input keyevent KEYCODE_MEDIA_STOP
2025-05-02 22:22:39.467 - lib.adb - ADB: 192.168.50.67 - input keyevent KEYCODE_MEDIA_PAUSE

Did something change with the Max app? It looks like it’s trying to clear the profile screen and ended up on the edit profile screen instead? Is it not highlighting a profile by default?

I checked a few tuners and they seem to work nothing has changed ... I will reboot my tuners maybe one is failing.

I went back to compatibility mode ... I have been running all week without it ... but it is more Stable if the APP is closed after Streaming. Tested all tuners they all worked.

@turtletank finally got around to testing this update and it is working absolutely perfect.

Very easy to edit the config to fine tune it.

Thanks heaps for adding this in to your project and making my life easier.

1 Like

My HBO channels on the MAX app are working fine but my Showtime East and West channels on Paramount+ have stopped getting past the profile selection screen. I have been traveling for awhile so I am not sure when this started. The last good recording I have is from early March but I have not tried it until the last couple days. I use compatibility mode for both MAX and Paramount. I have also tried with this turned off. I am running "latest" adbtuner from April 27th. Using multiple ONN 4K Pro's and GTV chromecast 4K's. Logs of recent attempt below.

2025-06-03 12:51:43.308 - lib.adb - ADB: Connecting to device (attempt 1).
2025-06-03 12:51:43.362 - root - Using https://www.paramountplus.com/live-tv/stream/showtime-east/ to load channel.
2025-06-03 12:51:43.362 - lib.adb - ADB: 10.1.3.41 - am start -a android.intent.action.VIEW -d "https://www.paramountplus.com/live-tv/stream/showtime-east/" com.cbs.ott
2025-06-03 12:51:43.449 - lib.adb - ADB: Connected.
2025-06-03 12:51:43.449 - lib.adb - ADB: Sending keep alive.
2025-06-03 12:51:43.449 - lib.adb - ADB: 10.1.3.43 - input keyevent KEYCODE_WAKEUP
2025-06-03 12:51:43.506 - lib.adb - ADB: Connecting to device (attempt 1).
2025-06-03 12:51:43.554 - lib.adb - ADB: Connected.
2025-06-03 12:51:43.554 - lib.adb - ADB: Sending keep alive.
2025-06-03 12:51:43.554 - lib.adb - ADB: 10.1.3.44 - input keyevent KEYCODE_WAKEUP
2025-06-03 12:51:47.945 - lib.adb - Checking for profile screen
2025-06-03 12:51:49.639 - lib.adb - Checking for profile screen
2025-06-03 12:51:50.070 - lib.adb - H264 video with a short GOP (1-3 seconds) is highly recommended. Other configurations will result in tuning delays.
2025-06-03 12:51:51.245 - lib.adb - Checking for profile screen
2025-06-03 12:51:53.067 - lib.adb - Checking for profile screen
2025-06-03 12:51:54.731 - lib.adb - Checking for profile screen
2025-06-03 12:51:55.589 - lib.adb - On screen text: "select or cr-~ a [ edit, profiles".
2025-06-03 12:51:56.590 - lib.adb - Checking for profile screen
2025-06-03 12:51:58.252 - server - Tuner: Compatibility Mode - Stream released after 15.22 seconds. Display was on, application (com.cbs.ott) was closed.
2025-06-03 12:51:58.252 - lib.adb - ADB: Closing connection - 10.1.3.41

1 Like

Head's Up:
It seems that Android 14 was released for the Onn 4k Pro.
Do NOT install this update if you are using an Onn 4k Pro with ADBTuner, ah4c, or similar projects. I don't know if these devices will automatically update like the Chromecast. Hopefully not.

Does anyone know if the Android 14 update for the Onn 4K Pro breaks YouTubeTV working with ADBTuner?

I wonder if the regular Onn TV 4K and Onn TV HD are getting this update...

UPDATE: found this - the Onn TV 4K is also getting the update

I haven’t tested the update on the Onn 4K Pro, but so far there have been two issues with using ADBTuner with Android TV 14.

  1. It uses a different method to authenticate ADB connections and uses Wifi by default. I haven’t fixed this yet, but I believe it should be possible to support the new this mechanism in ADBTuner.

  2. Developer Mode is turned off after every reboot. I have no idea how this can be fixed without root on the device.

1 Like