The ah4c project would probably be a better choice for this. Search the ah4c thread regarding discussions about tuning DTV Osprey boxes using that same method. In fact, when you install ah4c, you can use a STREAMER_APP value of scripts/osprey/dtvosprey. Then you can adjust the three scripts ah4c uses for tuning (prebmitune.sh, bmitune.sh, stopbmitune.sh) to suit your specific situation.
Hi, I hope someone experienced with ADBTuner with an ONN box can help me because I must but missing something super obvious. I setup the docker in Unraid and it appears to be working correctly and shows it can connect to the ONN box and encoder and the tuner shows available. If I do a preview on one of the channels it can even read back what is on the screen looking for login screens etc. However, I can't for the life of me get it to actually launch an app. I have ESPN, Peacock, and Amazon enabled and installed and can select it under installed applications to launch but whenever it tries to launch a channel it just sits there and won't launch anything until it times out. Is there some setting in developer mode I am missing on Android 14? I have the ONN box set to app only and got rid of as many apps I could except the 3 I want to use. I also created a custom config getting rid of the pre-tune options in case it was timing out looking for that but same symptom, nothing will launch.
**I think I figured it out, the link wasn't right. Https links aren't working but the sportscenter:// link just worked.
Okay, thanks, Iāll give that a try.
Pushed a small update to adbtuner:development today (20260503-6).
Changes
-
Streaming Endpoint connectivity tests are now done at the TCP level instead of making HTTP requests. This confirms that the target device is on the network, but no longer confirms that specific URL is reachable and serving video. This improves tuning time with connectivity checks enabled and stops ADBTuner from hammering the streaming endpoint when MPEG_NULL_PACKETS is enabled. We also don't want to be starting up an encode on a device just to test connectivity.
-
Check playback status more frequently during the tuning process during periods when screenshots aren't being used for that purpose. This may get back up to 0.25 seconds of extra video while loading a channel.
I believe I'm out of places to optimize for "faster tuning." A well behaved app that can be kept in the foreground should be able to load a channel with playback detection in 1.5 - 2.5 seconds with something like an Onn 4k Plus or the new Onn 4k Pro 2nd Gen. Slower devices 4-5 seconds.
Presuming the connected Android device is awake, a tuning configuration with no delay ("use_fixed_delay": true, "fixed_delay_seconds": 0) should get you video in 0.3 - 0.5 seconds, but you will may have to watch your channel load.
Let me know if you run into any issues with this. Specifically on older, slower devices.
Just installed and tested loading a few channels. Definitely faster for me so far - about 4-6 secs vs 8-10 secs - using Firestick 4K Max sticks.
Question: Do these sticks fall into the older slower category you mentioned?
There are some helpful benchmarks at the link below. I wouldnāt consider either version of the Fire Stick 4K Max to be slow, but the newer devices are slightly faster. Results in ADBTuner will vary based on the content provider, network speed, etc.
Thanks for sharing. Good data points to have.
Last month, Spectrum expanded its app support to all Android TV devices, moving beyond its previous Samsung-exclusive limitation.
While the app doesn't currently support deep-link tuning, it does allow for tuning via channel numbers. Claude AI and I developed a script to bridge this gap for ADBTuner, Itās a bit slow, but it has proven to be mostly reliable.
{
"name": "Spectrum TV",
"author": "Custom",
"version": "2.1",
"description": "Tunes Spectrum TV via channel number keyevents. Set TARGET_URL_OR_IDENTIFIER to the channel number (e.g. 35 for CNN). Spectrum uses an internal WebView router with no deeplink support \u2014 channels are tuned via keyevents after app launch.",
"uuid": "f4a7b2c9-d831-4e56-9f0a-7c3e8b1d2a45",
"global_options": {
"wait_for_video_playback_detection": true,
"use_fixed_delay": false,
"fixed_delay_seconds": 0,
"wait_after_post_playback_start_commands_seconds": 0
},
"pre_tune_commands": [
"input keyevent KEYCODE_MEDIA_STOP",
"am force-stop com.spectrum.stva.androidtv",
"input keyevent KEYCODE_HOME"
],
"tune_commands": [
"adbtuner_open_app com.spectrum.stva.androidtv",
"sleep 8",
"input keyevent KEYCODE_DPAD_CENTER",
"for digit in $(echo '||TARGET_URL_OR_IDENTIFIER||' | grep -o '.'); do input keyevent KEYCODE_$digit; sleep 0.4; done",
"sleep 1"
],
"tune_match_text_commands": [
{
"match_text": [
"who's watching",
"choose an account",
"edit profiles",
"sign in"
],
"commands": [
"input keyevent KEYCODE_DPAD_CENTER"
],
"start_checking_after_seconds": 3
}
],
"post_playback_start_commands": [],
"post_tune_commands": [
"input keyevent KEYCODE_MEDIA_STOP",
"am force-stop com.spectrum.stva.androidtv",
"input keyevent KEYCODE_HOME"
],
"timed_keep_active_commands": []
}
Thank you @turtletank for making this possible.
Tivo Stream 4K user here. A scheduled recording went from the movie it was recording on an adbtuner channel to the Tivo home screen at 38:09 into the movie. What logs can I look at to see what caused this to happen?
What version of ADBTuner are you on? I was seeing this behavior until updating my container and havenāt seen it again.
20260501-1
I updated to this version a few weeks ago specifically to cure this problem but it crept back.
That's the version Iām on, but I am using 10 for the timeout instead of the default 8.
Add KNOWN_STREAM_DEFAULT_TIMEOUT with a setting of 10 to your environmental variables and see if that helps you.
Recorded a 4 hour golf tournament after changing KNOWN_STREAM_DEFAULT_TIMEOUT to 10. Thanks
Is the new Firestick Vega OS going to work with ADBTuner or should I start looking for ONN devices?
Start looking at ONN devices; Vega is not built on top of Android, but a custom Linux-based solution. Or, I mean, if you already have Android-based Firesticks, just stick with those!
Mine are 4k Max sticks from 2024. I was under the impression that they were going to be updated to Vega. I believe I have auto-update turned off, so the question will be how long before they stop working from either getting or not getting an update. Looks like the new onn 4k Pro is getting bought out at WalMart to be resold on eBay for 2x the price at the moment.
According to most reputable sources, many current fire sticks will be supported through Dec 31, 2030.
This is false; Vega is only for go-forward new devices (for the time being, Amazon may change their mind when if it should crash and burn and they lose market share). No older devices are being ported. They are just scared Google may screw with them eventually if they stay Android only.
Hi! Does anyone have a suggestion on the most optimal encoder setting for SlingTV? I use my family YouTubeTV account for some channels and wanted to pull in others using Sling. I have no output issues with YTV but Sling TV will frequently stutter during frame changes. I am not sure if there are other settings I should be changing other than these:
.
Wonder if this could be tweaked to work with ADBTuner and HDMI capture.
