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

If you want to give me the output from Firefox, I can try to make something that can import into ADBTuner, or at least attempt for the benefit of the community. I would need a copy of that channelInfoList JSON @spammedeeper mentioned.

I have a whole load of confirmed Gracenote IDs for YouTube TV, so I could probably use those for most of the channels, honestly, so it wouldn't be too hard to put something together.

Oh, I was saying that if @jsfullam gave me the output from the DirecTV Guide, I could try to create an importable JSON file to automate.

I use DirecTV Stream, have it running in both ADBTuner and AH4C. The DirecTV app works pretty well in both. I use a custom config in ADBT to fresh start the app every time I tune with a deep link. I'm sure I've shared results somewhere.

The most reliable tuning with DirecTV has been with their Osprey Hardware boxes. They have consistent performance. For ADBTuner, you don't have to worry about running the DTV app as the whole interface/launcher IS the app. You just send it a link and it opens, rather quickly.

Another advantage of the Osprey Boxes is they support channel input. If the Deep Links ever stop working, or start changing regularly needing deep link URL updates, I will fall back to my previous setup in AH4C to tune by channel. The channel numbers, which have been around for years, will not change. This setup is slower as the input takes longer, but is simple and very reliable. I ran it for a few years (and still do in my backup setup).

Some small notes on the Ospreys. They are a fantastic fit if you want to automate tuning of DTV channels. The have Ethernet and are cheap on eBay. That said, they are not well suited for anything else as any downloaded application performance is pretty slow compared to the $30 Onn 4K Plus. And, who knows how long DirecTV will support them. But they just work, I don't have to mess with them much.

For anyone considering DirecTV Stream, especially the interesting Genre Packs, feel free to ping me in this thread, happy to assist.

I looked into AH4C and just couldn't get it working on Unraid, although then I realized I needed to use Portainer, so I probably could get it working now. I just didn't see the advantage for my setup, given that ADB tuner worked so well with Philo and YouTube TV.

Regardless, I've made a couple of JSONs already for YouTube TV and Philo, so I'd be happy to make one for DirecTV with the current DeepLinks, if they work. It looks like if you tune with compatibility mode on, at least with the current ADBTuner Beta, it'll kill the app prior to launching it. That should hopefully get DirecTV Stream to maybe work with a regular Android TV box, I would imagine. But I'm not 100% sure because I'm not a subscriber.

Honestly, it's probably better to try to find a way to get the deep links to work, especially if they don't change frequently. Because those Osprey boxes, although if they work well, still have to be getting pretty old and will eventually fail just for long term compatibility sake since $20 GTV boxes are plentiful at Walmart. :joy:

Edit: I just re-read your post, I'm very curious how your custom config works.
I don't plan on switching anytime soon, but I'm curious how you made the custom config!

I was able to follow your very clear step by step process using my Chrome browser. I managed to get the info for the specific channel I was looking for. (KNBC 4 Los Angeles)

The DirecTV genre Packs are exactly why I made the jump from YTTV to DTV. The MyEntertainment pack coupled with the MyCinema add on fit my need well at half the price of YTTV. The Roku Bridge project does work well for this. But, I'd like to bring my Onn boxes back into the picture with ADBTuner. Right now, they are only being used for a Peacock channel or two...

2 Likes

I have Unraid and run AH4C in Docker, have been for a few years. If you swing back to AH4C, ping me, I can assist.

Here is my ADBT Config for my Onn 4K boxes and DirecTV App


{
    "name": "DirecTV App - Onn 4K Plus (Recording)",
    "author": "",
    "version": "0",
    "description": "Tuning from any Resume State, priority on slow reliable tuning, not speed",
    "uuid": "a98f2693-0453-497f-87f2-4cb7caf6090e",
    "global_options": {
        "wait_for_video_playback_detection": true,
        "use_fixed_delay": true,
        "fixed_delay_seconds": 12,
        "check_for_and_clear_whos_watching_prompts": false,
        "wait_after_post_playback_start_commands_seconds": 0
    },
    "pre_tune_commands": [
        "input keyevent 224"
    ],
    "tune_commands": [
        "am start -S -W -a android.intent.action.VIEW -d '||TARGET_URL_OR_IDENTIFIER||' '||TARGET_PACKAGE_NAME||'"
    ],
    "post_tune_commands": [
        "input keyevent 3",
        "input keyevent 26"
    ]
}

You may notice the "Recording" part of the title. This is unique to my setup. My Osprey boxes do all the heavy lifting. I also heavily utilize ADBT Playlists (per App M3U) to have unique tuner priority in Channels. My setup is as such pretty much follows:

  • ADBTuner - DirecTV with Osprey - All Channels - Fastest tuning for live TV Watching (and the amazing MutliView setup).
  • ADBTuner - DirecTV App on Onn 4K Plus - All Channels - Mainly for recording as tuning takes a touch longer.
  • ADBTuner - Unique Playlists for Onn 4K Plus - Many playlists to give priority to live news and sports channels per their unique android app, sorted in Channels DVR tuner priority. Mainly for recording.
  • AH4C - DirecTV with Osprey - All Channels - When all other tuners fail, this one works

And one last thing. I did "make" the custom config in ADBT, but the real magic is all the work put in by @turtletank and his commitment to this community. In the spirit of the holiday, a sincere thank you for all you've done to make this amazing project.

That's really, really cool.
Thanks for sharing. I looked at the genre packs and I don't think I would save any money compared to YouTube TV and Philo with the channels I watch.

I need the news and entertainment channels and then my wife would want the sports channels and we need locals. By the time I get all those individual packs, I'm basically at the price I'm paying for YouTube TV and Philo together. And if I get a regular DirecTV package, I think I'm paying more than I am right now, or if not the same amount.

It's good to know that an alternative exists if something does happen with YouTube TV or Philo down the line, I'm glad DirecTV does work with ADBTuner!

I hear ya. I'm just a fan of DirecTV, works for my house and budget. But I will say the best experience I've had with ADBTuner has been pairing it with YouTube TV. Much like DirecTV and Osprey Boxes, the YTTV experience is baked into Google TV. Deep links just work, are fast, and you have a lot less tweaking to do. It is a very nice in production.

Actually, Philo works especially well.
The only issue I have is with Reelz. For some reason with that particular channel it works fine for recordings but is better over TVE for live. Occasionally, despite it being set in Philo to not do this, it will sometimes start a show from the beginning rather than from live, which obviously messes up the entire viewing experience and you have to grab the remote for the Android box and fast forward. I think it's because that's a premium channel and it only happens with that channel where the show will start from the beginning.

I have to look to see if there's some sort of activity for the Philo app to force Philo to start a stream live.

This is where I'm at. MyEntertainment ($34.99/mo) + MyCinema($9.99/mo). Total $45.98/mo. An added benefit is that DTV includes Disney+, HULU, and HBOMax with these packs.

I only need locals for news during emergencies or for holiday parades or specials. So, I added the MyNews base package temporarily to get me through this holiday season. ($39.99/mo)

I don't watch sports. But, if I happen to have guests who live for their teams, I believe that I can temporarily add and remove those packs, as needed.

I'd love to grab the basic guide info you need to make a full channel list JSON for everyone to use. I made it this far, and don't know what to do next... @spammedeeper ?

Copy response

{
    "name": "Philo - Skip to Live",
    "author": "David B",
    "version": "1.0.0",
    "description": "Load Philo channels via deep link and automatically skip to live playback instead of starting from the beginning of the current program.",
    "uuid": "7c4e8f12-3a9d-4b6e-a1c5-2d8f9e0b7a3c",
    "global_options": {
        "wait_for_video_playback_detection": false,
        "use_fixed_delay": false,
        "fixed_delay_seconds": 0,
        "check_for_and_clear_whos_watching_prompts": true,
        "wait_after_post_playback_start_commands_seconds": 0
    },
    "pre_tune_commands": [
        "input keyevent KEYCODE_MEDIA_STOP",
        "am force-stop '||TARGET_PACKAGE_NAME||'"
    ],
    "tune_commands": [
        "am start -W -a android.intent.action.VIEW -d '||TARGET_URL_OR_IDENTIFIER||' '||TARGET_PACKAGE_NAME||'",
        "sleep 2"
    ],
    "post_playback_start_commands": [
        "rm -f /sdcard/Documents/philo-ui.xml /sdcard/Documents/stop",
        "sleep 5",
        "while [ ! -f /sdcard/Documents/stop ]; do input keyevent 19; input keyevent 19; sleep 1; done & input keyevent 19; sleep 0.2; input keyevent 19; sleep 0.5; for i in 1 2 3 4 5 6 7; do for c in 1 2; do uiautomator dump /sdcard/Documents/philo-ui.xml 2>/dev/null; if grep 'Jump to live button' /sdcard/Documents/philo-ui.xml | grep -q 'focused=\"true\"'; then echo 1 > /sdcard/Documents/stop; sleep 0.5; input keyevent 23; exit 0; fi; done; input keyevent 22; sleep 0.2; done; echo 1 > /sdcard/Documents/stop; sleep 0.5; input keyevent 23",
        "rm -f /sdcard/Documents/philo-ui.xml /sdcard/Documents/stop"
    ],
    "post_tune_commands": [
        "am force-stop '||TARGET_PACKAGE_NAME||'",
        "input keyevent KEYCODE_HOME"
    ]
}

See here for more reliable config: ADBTuner: A "channel tuning" application for networked Google TV / Android TV devices - #2879 by mackid1993

1 Like

Thank you, Aman.

@mackid1993 , I have captured the info which you will need to create an importable DirecTV channel list. Problem is, there are far too many characters to include in a post or message through this forum. Is there another way for me to send you the file? It's about 800 KB.

Pastebin should work.

Never heard of it. I'll take a look...
Dang, max file size of 512 KB...

Try a github gist.

I think I have all the channels somewhere, in Excel. They include Music and the "Free" IIRC. Let me go take a look.

I haven't got a clue what that is... Unfortunately, I think that I'm into this way over my head.

Do you have Google Drive? Perhaps share a link?