Ok so it seems this problem generally occurs if I haven't been tuning to any channels for awhile that are coming from ADBTuner. I'll explain a scenario here:
This afternoon I came home from running errands...hadn't touched Channels/ADBTuner for a couple hours. I went to play a channel and naturally the endless spinning wheel and then eventually the tuner unreachable error message saying to hit play again...hit play again...and then get the link not found 404 error message. Here's a look at the logs from both ADBTuner and Channels:
ADBTuner Log:
2024-09-03 15:05:03 2024-09-03 19:05:02.761 - server - No tuners available.
2024-09-03 15:05:17 2024-09-03 19:05:17.943 - server - No tuners available.
2024-09-03 15:05:18 2024-09-03 19:05:17.990 - uvicorn.access - 172.17.0.1:32990 - "GET /stream/29 HTTP/1.1" 404
2024-09-03 15:05:40 2024-09-03 19:05:40.914 - server - No tuners available.
2024-09-03 15:05:40 2024-09-03 19:05:40.916 - uvicorn.access - 172.17.0.1:44768 - "GET /stream/29 HTTP/1.1" 404
2024-09-03 15:06:15 2024-09-03 19:06:15.181 - server - No tuners available.
2024-09-03 15:06:15 2024-09-03 19:06:15.183 - uvicorn.access - 172.17.0.1:48286 - "GET /stream/29 HTTP/1.1" 404
Channels Log:
2024/09/03 15:04:57.009263 [ERR] Could not start stream for M3U-ADBTuner ch60 NICK: M3U: 901 Tuner Unreachable: Timeout after 20.01s connecting to: http://192.168.1.6:5592/stream/29
2024/09/03 15:05:18.494622 [ERR] Could not start stream for M3U-ADBTuner ch60 NICK: M3U: GET: http://192.168.1.6:5592/stream/29: 404 Not Found
2024/09/03 15:05:40.919025 [ERR] Could not start stream for M3U-ADBTuner ch60 NICK: M3U: GET: http://192.168.1.6:5592/stream/29: 404 Not Found
2024/09/03 15:06:15.185707 [ERR] Could not start stream for M3U-ADBTuner ch60 NICK: M3U: GET: http://192.168.1.6:5592/stream/29: 404 Not Found
Now, I open up my ADBTuner UI and come to find that ADBTuner is still locked in on a channel that I selected a couple hours ago, however that channel is no longer playing on the onn 4k pro device. That third little box far right next to the endpoint connection status and Android version will be blue indicating the old channel, and if I click it, it will release the lock. Now, I go back to trying to play a channel again in "Channels" and all of a sudden, it will play just fine. I'll close it, and see that it was released as well on the ADBTuner UI. I'll select another channel, and it once again tunes fine and then gets released fine. Here's an example of that log:
ADBTuner Log:
2024-09-03 15:31:51 2024-09-03 19:31:49.466 - server - Available Tuners:
2024-09-03 15:31:51 2024-09-03 19:31:49.777 - server - Name: Google TV Priority:
2024-09-03 15:31:51 2024-09-03 19:31:49.777 - server - Selecting random tuner
2024-09-03 15:31:51 2024-09-03 19:31:49.889 - server - Reserved Tuner: Name: Google TV Priority:
2024-09-03 15:31:51 2024-09-03 19:31:49.914 - server - Using tuner id: 1 for stream.
2024-09-03 15:31:51 2024-09-03 19:31:49.965 - uvicorn.access - 172.17.0.1:37062 - "GET /stream/30 HTTP/1.1" 307
2024-09-03 15:31:51 2024-09-03 19:31:50.929 - server - Tuner: Tuning to NICK Jr on Google TV
2024-09-03 15:31:52 2024-09-03 19:31:52.804 - lib.adb - ADB: Connecting to device (attempt 1).
2024-09-03 15:31:53 2024-09-03 19:31:53.414 - lib.adb - ADB: Connected.
2024-09-03 15:31:53 2024-09-03 19:31:53.508 - lib.adb - ADB: 192.168.1.32 - settings list global
2024-09-03 15:31:53 2024-09-03 19:31:53.707 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-09-03 15:31:53 2024-09-03 19:31:53.707 - lib.adb - ADB: 192.168.1.32 - dumpsys display
2024-09-03 15:31:53 2024-09-03 19:31:53.834 - lib.adb - ADB: 192.168.1.32 - getprop ro.build.version.release
2024-09-03 15:31:53 2024-09-03 19:31:53.898 - lib.adb - ADB: Android Version: 12.0.
2024-09-03 15:31:53 2024-09-03 19:31:53.932 - lib.adb - ADB: 192.168.1.32 - pm list packages -3
2024-09-03 15:31:54 2024-09-03 19:31:54.007 - lib.adb - ADB: 192.168.1.32 - pidof com.philo.philo.google
2024-09-03 15:31:54 2024-09-03 19:31:54.053 - lib.adb - ADB: Stopping media playback.
2024-09-03 15:31:54 2024-09-03 19:31:54.053 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_STOP
2024-09-03 15:31:54 2024-09-03 19:31:54.265 - root - Using Nick Jr. to load channel.
2024-09-03 15:31:54 2024-09-03 19:31:54.265 - lib.adb - ADB: 192.168.1.32 - am start -a android.intent.action.VIEW -d "Nick Jr." com.philo.philo.google
2024-09-03 15:31:58 2024-09-03 19:31:58.897 - lib.adb - Checking for profile screen
2024-09-03 15:32:16 2024-09-03 19:32:16.783 - lib.adb - On screen text: "ay 4".
2024-09-03 15:32:17 2024-09-03 19:32:17.786 - server - Tuner: Compatibility Mode - Stream released after 27.23 seconds. Display was on, application (com.philo.philo.google) was closed.
2024-09-03 15:32:17 2024-09-03 19:32:17.786 - lib.adb - ADB: Closing connection - 192.168.1.32
2024-09-03 15:32:18 2024-09-03 19:32:18.198 - server - http disconnect
2024-09-03 15:32:18 2024-09-03 19:32:18.405 - lib.adb - ADB: Connecting to device (attempt 1).
2024-09-03 15:32:18 2024-09-03 19:32:18.588 - lib.adb - ADB: Connected.
2024-09-03 15:32:18 2024-09-03 19:32:18.588 - lib.adb - ADB: 192.168.1.32 - settings list global
2024-09-03 15:32:18 2024-09-03 19:32:18.653 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-09-03 15:32:18 2024-09-03 19:32:18.654 - lib.adb - ADB: Stopping media playback.
2024-09-03 15:32:18 2024-09-03 19:32:18.654 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_STOP
2024-09-03 15:32:18 2024-09-03 19:32:18.746 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_PAUSE
2024-09-03 15:32:18 2024-09-03 19:32:18.932 - lib.adb - ADB: Force stopping com.philo.philo.google.
2024-09-03 15:32:18 2024-09-03 19:32:18.932 - lib.adb - ADB: 192.168.1.32 - am force-stop com.philo.philo.google
2024-09-03 15:32:19 2024-09-03 19:32:19.121 - lib.adb - ADB: Closing connection - 192.168.1.32
2024-09-03 15:32:19 2024-09-03 19:32:19.137 - server - Released tuner ID: 1
2024-09-03 15:32:19 2024-09-03 19:32:19.138 - server - Tuner: Cleanup complete. Google TV (NICK Jr)
2024-09-03 15:32:19 2024-09-03 19:32:19.715 - server - Available Tuners:
2024-09-03 15:32:19 2024-09-03 19:32:19.715 - server - Name: Google TV Priority:
2024-09-03 15:32:19 2024-09-03 19:32:19.715 - server - Selecting random tuner
2024-09-03 15:32:19 2024-09-03 19:32:19.716 - server - Reserved Tuner: Name: Google TV Priority:
2024-09-03 15:32:19 2024-09-03 19:32:19.716 - server - Using tuner id: 1 for stream.
2024-09-03 15:32:19 2024-09-03 19:32:19.717 - uvicorn.access - 172.17.0.1:55136 - "GET /stream/30 HTTP/1.1" 307
2024-09-03 15:32:19 2024-09-03 19:32:19.731 - server - Tuner: Tuning to NICK Jr on Google TV
2024-09-03 15:32:19 2024-09-03 19:32:19.771 - lib.adb - ADB: Connecting to device (attempt 1).
2024-09-03 15:32:20 2024-09-03 19:32:20.040 - lib.adb - ADB: Connected.
2024-09-03 15:32:20 2024-09-03 19:32:20.041 - lib.adb - ADB: 192.168.1.32 - settings list global
2024-09-03 15:32:20 2024-09-03 19:32:20.178 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-09-03 15:32:20 2024-09-03 19:32:20.179 - lib.adb - ADB: 192.168.1.32 - dumpsys display
2024-09-03 15:32:20 2024-09-03 19:32:20.267 - root - Tuner: Stream open (attempt 1).
2024-09-03 15:32:20 2024-09-03 19:32:20.449 - lib.adb - ADB: 192.168.1.32 - getprop ro.build.version.release
2024-09-03 15:32:20 2024-09-03 19:32:20.560 - lib.adb - ADB: Android Version: 12.0.
2024-09-03 15:32:20 2024-09-03 19:32:20.568 - lib.adb - ADB: 192.168.1.32 - pm list packages -3
2024-09-03 15:32:20 2024-09-03 19:32:20.738 - lib.adb - ADB: 192.168.1.32 - pidof com.philo.philo.google
2024-09-03 15:32:20 2024-09-03 19:32:20.834 - lib.adb - ADB: Stopping media playback.
2024-09-03 15:32:20 2024-09-03 19:32:20.834 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_STOP
2024-09-03 15:32:20 2024-09-03 19:32:20.961 - root - Using Nick Jr. to load channel.
2024-09-03 15:32:20 2024-09-03 19:32:20.961 - lib.adb - ADB: 192.168.1.32 - am start -a android.intent.action.VIEW -d "Nick Jr." com.philo.philo.google
2024-09-03 15:32:21 2024-09-03 19:32:21.220 - httpx - HTTP Request: GET http://192.168.1.26:8090/stream0 "HTTP/1.0 200 OK"
2024-09-03 15:32:25 2024-09-03 19:32:25.616 - lib.adb - Checking for profile screen
2024-09-03 15:32:31 2024-09-03 19:32:31.485 - lib.adb - On screen text: "paw patrol |".
2024-09-03 15:32:32 2024-09-03 19:32:32.490 - lib.adb - Checking for profile screen
2024-09-03 15:32:36 2024-09-03 19:32:36.023 - server - Tuner: Compatibility Mode - Stream released after 16.3 seconds. Display was on, application (com.philo.philo.google) was closed.
2024-09-03 15:32:36 2024-09-03 19:32:36.023 - lib.adb - ADB: Closing connection - 192.168.1.32
2024-09-03 15:32:36 2024-09-03 19:32:36.025 - uvicorn.access - 172.17.0.1:55136 - "GET /stream/1/30 HTTP/1.1" 200
2024-09-03 15:32:36 2024-09-03 19:32:36.250 - root - Tuner: Stream open (attempt 1).
2024-09-03 15:32:36 2024-09-03 19:32:36.255 - httpx - HTTP Request: GET http://192.168.1.26:8090/stream0 "HTTP/1.0 200 OK"
2024-09-03 15:34:08 2024-09-03 19:34:08.660 - server - http disconnect
2024-09-03 15:34:08 2024-09-03 19:34:08.745 - lib.adb - ADB: Connecting to device (attempt 1).
2024-09-03 15:34:08 2024-09-03 19:34:08.790 - lib.adb - ADB: Connected.
2024-09-03 15:34:08 2024-09-03 19:34:08.790 - lib.adb - ADB: 192.168.1.32 - settings list global
2024-09-03 15:34:08 2024-09-03 19:34:08.846 - root - adb_allowed_connection_time=0, adb_enabled=1, adb_wifi_enabled=0
2024-09-03 15:34:08 2024-09-03 19:34:08.846 - lib.adb - ADB: Stopping media playback.
2024-09-03 15:34:08 2024-09-03 19:34:08.846 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_STOP
2024-09-03 15:34:08 2024-09-03 19:34:08.927 - lib.adb - ADB: 192.168.1.32 - input keyevent KEYCODE_MEDIA_PAUSE
2024-09-03 15:34:09 2024-09-03 19:34:09.072 - lib.adb - ADB: Force stopping com.philo.philo.google.
2024-09-03 15:34:09 2024-09-03 19:34:09.072 - lib.adb - ADB: 192.168.1.32 - am force-stop com.philo.philo.google
2024-09-03 15:34:09 2024-09-03 19:34:09.189 - lib.adb - ADB: Closing connection - 192.168.1.32
2024-09-03 15:34:09 2024-09-03 19:34:09.189 - server - Released tuner ID: 1
2024-09-03 15:34:09 2024-09-03 19:34:09.189 - server - Tuner: Cleanup complete. Google TV (NICK Jr)
Channels Log:
2024/09/03 15:32:10.423924 [ERR] Could not start stream for M3U-ADBTuner ch61 NICK Jr: M3U: 901 Tuner Unreachable: Timeout after 31.41s connecting to: http://192.168.1.6:5592/stream/30
2024/09/03 15:32:36.067140 [TNR] Opened connection to M3U-ADBTuner for ch61 NICK Jr
2024/09/03 15:34:08.633637 [SNR] Buffer statistics for 192.168.1.30 (SAMSUNG-SM-G900V) for ch61 NICK Jr: buf=0% drop=0%
2024/09/03 15:34:08.634147 [TNR] Closed connection to M3U-ADBTuner for ch61 NICK Jr
So this is really weird, but it seems like in general the problem occurs if you haven't tuned to something for a while, and then also perhaps ADBTuner is getting stuck locked on a channel after it's been closed. It's almost like ADBTuner has to be woken up or something. Again as I mentioned a while back, I have every setting that I can think of set to keep devices awake, not go to sleep, etc. whether it's my PC or the onn 4k pro device.