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

@boukmandutty SlingTV tuning load time is much faster with ah4c after adjusting the stopbmitune.sh script with that command. Thanks again! :+1:

1 Like

Not sure if it is above, but is it possible to use peacock to adb into nbc instead of directv/sling/fubo?

{
    "name": "Osprey Quick Tune",
    "author": "David B.",
    "version": "1.0.0",
    "description": "Super fast tuning of always on Osprey hardware.",
    "uuid": "39734252-cf01-443e-97ac-e53d5220f40f",
    "global_options": {
        "wait_for_video_playback_detection": false,
        "use_fixed_delay": true,
        "fixed_delay_seconds": 3,
        "check_for_and_clear_whos_watching_prompts": false
    },
    "pre_tune_commands": [],
    "tune_commands": [
        "am start -a android.intent.action.VIEW -d '||TARGET_URL_OR_IDENTIFIER||' ||TARGET_PACKAGE_NAME||"
    ],
    "post_tune_commands": []
}

I wrote a config last night that seems to be tuning my Ospreys in about 4 - 4.5 seconds. Occasionally (very occasionally) you'll see a flash of the DirecTV channel change splash screen, but it's very rare and 99% of the time you just get a really fast tune. It expects that the Ospreys are kept awake at all times though, so I'm not sure how well it would work for devices that are slept.

1 Like

That's pretty darned fast! My TVE channels are (usually) in the 3-5 second range. The onn 4k boxes using your DirecTV 8.0.0 configuration are tuning in around 8 seconds when active, and more like 12-15 seconds when waking from a long rest.

2 Likes

Ospreys are basically Android with DirecTV wrapped around it, so they're just always ready to tune. The trick here was to use the fixed delay and three seconds is plenty when it's active to tune a channel.

1 Like

The problem with the DirecTV app on any Android TV box is there's a bug that when the app is sitting idle for too long, it will tune the wrong channel.

So the only way to achieve reliable tuning is to force stop the app using -S every single time. This makes it take like 8 to 10 seconds to tune a channel at best.

I tried so many ways to work around that and just came to the conclusion that force stopping the app is the only reliable method. That led me to just accumulating Osprey boxes. I really like DirecTV, like way more than YouTube TV, even though it's more expensive. The picture quality is so much better, and it mimics cable, which I miss from my childhood.

I didn't realize how much I missed traditional linear TV since I got rid of satellite when I was still living at home.

I watch a lot of broadcast news and locals, so linear TV kind of just makes sense for me, since I don't really like TV shows per se.

so how would one go about using this? I know you were making adjustments in various scripts so i'm a little lost.
I'm still using bnhf/ah4c:latest in portainer. still have not setup olivetin.
would it make sense for you to essentially make your own ah4c variation specifically for us dtv osprey guys?

I don't need olivein, just press the hamburger menu, there's a configurations option, you can paste the config in there and then set all your channels to it.

It really doesn't have to be done manually if you export your channels. Just do a find and replace with the UUID for my config. Then re-import. The OliveTin one click would automate all of this though.

For most cases that don't require a huge amount of bash scripting, I would say ADB Tuner is the way to go.

still super lost. lol. I setup docker, portainer, ah4c in win11. it worked (1 hickup) so that's the limit of my experience. I know the scripts it's currently running put my ospreys to sleep when tuning is done, but I could care less how much juice they use. I've just haven't had time to look into it and then you came along and tried all the hard stuff for me. :slight_smile:

Fortunately, for me, this isn't the case. I am happy to limit myself to the MyEntertainment Genre pack ($34.99), and the My Cinema add on ($9.99). So, my monthly bill is $44.98. If I want locals and news for some reason, I can turn it on and off. That isn't such a bargain as they charge MyNews as a base package for $39.99.

I also get a lot of my programming from Frndly TV, which is a deal at $83.88 for the entire year.

I grab a small handful of channels from Peacock, which is free through my Walmart+ membership. (You can choose between Peacock and Paramount+) And, of course, there are many free channels from Plex, Tubi, Pluto, and Samsung TV Plus.

lol I forgot this is the adbtuner thread. also something I've been meaning to play with, but have other priorities.

Yeah...it really depends on what you need

Sling Blue + ESPN Unlimited is my choice ATM although I may think about switching to DirecTV MySports package due to the greater TVE support and the fact that it has ESPN Umlimited included but it's nice to have options....

1 Like

Yeah, I mean, I just, I like the selection and looking through the channels. The genre packs, but they're missing things that I like. That's the problem.

I would end up needing multiple genre packs, and even then I'd be missing a few channels that I watch regularly, so it just wouldn't work for me. My previous setup was YouTube TV and Philo to get all the channels that I watch regularly, and DirecTV is just a touch more and I get way more in return.

2 Likes

Yeah...it's all about what you (and whoever else in your household watch). I'm calculating everything in my head (and with some help with ChatGPT and suppose.tv) and it just makes sense for my needs.

1 Like

Exactly, and having a full cable package is kind of just what we need, even though we're in our early 30s. It's kind of weird, actually.

2 Likes

Not weird if you like news and sports. There is a reason people pay for Channels DVR. :slight_smile:

1 Like

News, not really sports, but my wife likes sports. I just kind of sit there. LOL

My wife and I have rather limited interests. We prefer family friendly and emotionally uplifting programming. Classic cinema, old Western TV shows and movies, and classic TV family sitcoms. No news or sports, unless something special is happening.

This evening ... Sidney Poitier in "To Sir, With Love" recorded from TCM. After that, we wind down with "Make Room For Daddy/The Danny Thomas Show" from Catchy Comedy.

2 Likes

Thanks for this. This add has been really helpful in the FruitDeeplinks world.

Two questions, first being, I see you have added some hard coded text to match to your standard configs in this development build, what do you think about adding a 'watch live' or possible few other keywords to your next version of that build? I think if you added a few other keywords to the standard configs, people might be able to use either the default or compatibility mode versions for many of the apps now being supported in FruitDeepLinks world without having to come up with a bunch of custom configs.

Second question is about a specific app that I am trying to make work with this, where I am unable to utilize this new capability. This is for the Prime Video app. For it, I always get this:

2026-01-22 17:35:54.123 | 2026-01-23 01:35:54.123 - stream - [Tune Lp9D9HTa8pyP5EDCAgD5vc] Waiting for playback start. Status: unknown
2026-01-22 17:36:08.483 | 2026-01-23 01:36:08.483 - lib.adb - [Tune Lp9D9HTa8pyP5EDCAgD5vc] Detected 100.0% black pixels. Assuming HDCP is active and video is playing.
2026-01-22 17:36:08.483 | 2026-01-23 01:36:08.483 - stream - [Tune Lp9D9HTa8pyP5EDCAgD5vc] Media playback detected. Stopping tuning text match process.

As I understand it, you have several ways in your code that can 'detect video'. It seems that for the Prime Video app, it does this with 100% black pixels, before it gets to the event splash screen, which means it is never able to do the text search, thus leaving events for this app at the splash screen.

Is there a modification that you could make in your code, so that this new text search feature could still be used for this particular app?

Edit: Nevermind on the Prime Video issue, I got that fixed with a tweak with my encoder settings, no longer an outlier.

Still think it would be cool if a few keywords were added to your text search terms in your development version. I have experimented with a bunch of the apps that are being integrated into the fruitdeeplinks world, and I have found if these search terms are added to your defaults, then it seems everything I have tried will get past through the equivalent watch live screens:

           "watch",
           "live",
           "start"

Need some help - trying to set up a ONN4K pro box with wired ethernet with ADBTuner. What settings should I have WRT enable wireless debugging and enable usb debugging? (developer mode is on but those are off and ADBTuner sees my Linkp[i endpoint but says failed android connection. won't let me enable wireless debug mode if I am running with the device hardwired. Any help appreciated.