Windows ADB Bridge App

I don't use YouTube TV anymore, but I have a slightly old New York City one that I can share.

I also have DirecTV's Ultimate package for the New York City area. While I'm using either ADB tuner or ah4c, I'm happy to provide those gists to help this project as well because I think this is a really cool idea.

Let me know if those will be helpful, especially the DirecTV Ultimate, because it has like the majority of the channels that DirecTV offers.

Also, with DirecTV, there's a project one click action to basically pull your entire guide. If you look at Olivetin, there's just like a DTVGrabber.sh script inside of the Docker container that has all of the logic. One that builds an M3U for ah4c, and there's another one that calls ADBTuner's API. Both of those involve going to stream.directtv.com and just copying a curl command out of the browser's dev tools. It takes like two seconds.

That way anyone can get their entire guide for DirecTV just merged right in without having to collect channels.

Actually, Chrome HDMI for Channels implemented something like this, which works really well. So, that might be a good repository to look at since that also runs on Windows. Regardless, let me know, and I'd be happy to provide those channelists that I've collected. I believe I also have one for Philo, although it's kind of old and might be out of date.

Thanks for the heads up. I will look into the repos and try and get the channels lists.

DTV Ultimate NYC Market: dtvstream-ultimate-nyc-adbtuner.json · GitHub
Philo + Movies and More (a bit old): philo+movies_more.json · GitHub
YTTV NYC Market (also a bit old): Youtube TV NYC Market · GitHub

I forgot to mention the DirecTV one are Osprey deep links, not DirecTV android app deep links. You just have to change the URL slightly for DirecTV. The identifier hash and call sign are the same.

Thanks for answering, I think one of the easy ways to handle it would be for your app to connect to the encoder stream and just provide a way to launch a script immediately after. I don't think you need to do pre-tune or post-tune or anything like that, could just be a simple dialog box with one script to launch (either with or without your app doing any ADB commands).

So you either have the normal way which is the way you do it now with deeplinks and/or run a script after if configured, passing the Android IP and channel name to the script.

I will look into it. I have done that with my Roku tuner script. l still have a few more things to add before I jump into that.

Dude, those are nice lists. Thank you.

No problem. Glad I was able to help.
Some of them might be a little stale, but the DirecTV one is current.

What are some of the apps that don't use deeplinks? I will need to test tuning commands on them when I get to that point. Thanks.

I should be angry with you that my stupid brain has been thinking about this on and off all day, but I came up with a really cool idea for the UI on this mod. I'm actually stoked about it.

1 Like

ESPN for their linear channels. Have to scroll all the way down to the bottom and then pick individual channels with adb.

Thanks.

I have a big release in the works. It will not be ready this week, but here are some of the things being worked on:

  • Simulated Keypress Tuning for apps that do not work with Deeplinks.

  • Fire OS Streamers Tuner Support

  • Cloud & Local Channel Packs to easily install large amount of channels at once.

  • Direct USB ADB Connections (Wired Mode) for Google branded devices that lose wireless debugging on restart.

  • UX/UI Improvements

Thanks for the update. One thing to remember with native apps is that some of them may be a little buggy with video, so you need something that can monitor the video and restart the app if it fails. I have to do that with the NBC app even though it supports deeplinks.

ADBTuner does this internally, I think. But it's another good reason to have the option to fire up a script.

Just fyi I've been doing some testing today with the Cenmate USB capture device on Win11 using the hardware transcoding that Channels provides:

and the results have been excellent using a Fire Stick 4k Max as source locked to 1080p. Virtually no CPU usage on my AMD Ryzen 7 and the PQ is great at 1080p/60. I have not tried it with fast action stuff like sports yet but that's my goal. This is connected via USB 3.0 to my server.

I have all the features working on my test PC. Just a little more fine tuning and testing. Hopefully I'll have a new release ready before Wednesday.

I want to expand on this. I have a CCwGTV device connected to my PC through a powered USB hub and it is working fine with wired USB Debugging to control it and it stays connected after power cycles. I tried using y splitters (OTG) and they will not work to power the device and ADB since the CCwGTV device acts as a host when they are used. The powered USB hub works fine without causing the device to act as a host. I am not sure if you can power 2 CCwGTV devices on the same hub. A 3 amp hub may work, but that will be stretching it.

Edit: tried to add a check to make sure the Macros apps were installed before they would run, but everything I tried made Windows detect a false Trojan. There is no check to verify an app is installed on a tuner. If the app is not installed, the script will start clicking away on the home screen. I'm going to try and figure another way around it without triggering a Trojan warning.
Nevermind. I figured it out.

Version 5.1.0 is released.
New Features/Improvements

  1. Simulated Keypress Tuning (Macros)
  2. Fire OS / Fire TV Support
  3. Cloud & Local Channel Packs (More Coming)
  4. Direct USB ADB Connections (Wired Mode)

The GitHub Repo has more information about all the features and how to use them.

1 Like

I apologize if this is a dumb question, but do I need an ADB tuner stack running for this to work or does this create it's own? Thanks.

@daldana7296 You need tuners, but this application takes your tuners(Google TV, Onn devices Fire sticks, etc) in combination with either a linkpi encoder or a capture dongle, and allows you to tune them to the sources you have, such as YouTube TV app, by way of an M3U that channels DVR can then use as a Custom Source and tunes in the channels.

The GitHub page goes into detail about setting everything up.

Ok, so if I have a capture dongle and a fire tv stick (Fire OS 6.7), is that all I need? Or do I need to run an adb stack in Docker?