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

I recorded Sling programming. Setting up the encoder wasn't too bad with the help provided here. This docker uses deep links so you need to know if your applications supports them.

1 Like

On sale and shows extra 10% off coupon for me. Not sure if coupon is targeted but that is an excellent deal. I have an ENC5 and it runs great.

Your Link is to the ENC1 v2. The updated V3 is the one you want for about $25 more as it is significant upgrade over the V2.

1 Like

The Zinwell, and probably other 3.0 boxes will work with ADBTuner. I was able to connect. But would need help getting the app to be controlled.

Basically you have to turn off adb reboot, then turn adb back on and you are good until next reboot.

https://www.reddit.com/r/AndroidTV/comments/133hnmy/lpt_if_you_use_usb_otg_on_the_onn_boxesbe_sure/

3 Likes

about a week ago I started getting playback errors and saying that this channel may not be available in your area. It's been working great for months at this point. Anyone have any ideas?

Hi there,
You may need to grab the remote for the device being controled and re-define the location.
I'm guessing that you are using YtTV.
That is going to be the best shot.
ADB Tuner just works with the links. I've seen the issue with YTTV and usually tuning away and coming back will work.

So Im trying to get the NBC app working. I added the url that @kennyb3653 shared above. adbtuner tunes the channel just fine but Channels just gives me an error. Looking at the log from adbtuner, it appears that it cannot get the status. Is there something I have misconfigured? My hulu channels work great I am just playing here to see what I can do with different apps etc.

2024-03-27 15:11:33.834 - server - Reserved tuner 2

2024-03-27 15:11:33.834 - server - Using tuner id: 2

2024-03-27 15:11:33.834 - uvicorn.access - 192.168.254.228:51210 - "GET /stream/19 HTTP/1.1" 307

2024-03-27 15:11:33.843 - server - Tuner: Tuning to USA on Onn

2024-03-27 15:11:33.844 - lib.adb - ADB: Connecting to device (attempt 1).

2024-03-27 15:11:33.922 - lib.adb - ADB: Connected.

2024-03-27 15:11:33.922 - lib.adb - ADB: 10.100.12.19 - dumpsys display

2024-03-27 15:11:33.983 - lib.adb - ADB: 10.100.12.19 - getprop ro.build.version.release

2024-03-27 15:11:34.026 - lib.adb - ADB: Android Version: 12.0.

2024-03-27 15:11:34.026 - lib.adb - ADB: 10.100.12.19 - pm list packages -3

2024-03-27 15:11:34.111 - lib.adb - ADB: 10.100.12.19 - pidof com.nbcuni.nbc.androidtv

2024-03-27 15:11:34.229 - lib.adb - ADB: Stopping media playback.

2024-03-27 15:11:34.229 - lib.adb - ADB: 10.100.12.19 - input keyevent KEYCODE_MEDIA_STOP

2024-03-27 15:11:34.332 - lib.adb - ADB: 10.100.12.19 - am start -a android.intent.action.VIEW -d "nbctve://live/usa/usa_east" com.nbcuni.nbc.androidtv

2024-03-27 15:11:36.039 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:38.353 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:40.705 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:43.456 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:45.847 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:48.258 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:50.676 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:53.054 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:55.465 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:11:57.892 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:12:00.260 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:12:02.740 - server - Tuner: Waiting for playback start. Status: stopped

2024-03-27 15:12:03.953 - server - Tuner: Could not detect playback state. Giving up after 30.11 seconds. Display was on, application (com.nbcuni.nbc.androidtv) was running.

2024-03-27 15:12:03.953 - server - Released tuner 2

2024-03-27 15:12:03.953 - lib.adb - ADB: Stopping media playback.

2024-03-27 15:12:03.953 - lib.adb - ADB: 10.100.12.19 - input keyevent KEYCODE_MEDIA_STOP

2024-03-27 15:12:04.048 - lib.adb - ADB: 10.100.12.19 - input keyevent KEYCODE_MEDIA_PAUSE

2024-03-27 15:12:04.131 - uvicorn.access - 192.168.254.228:51210 - "GET /stream/2/19 HTTP/1.1" 404

What is your ADBTuner setup for that channel? IS compatibility mode selected?
This is what mine looks like.

Yep I just realized you need compatibility mode. You can see all of the app stuff before the stream loads but at least it loads and streams. Thanks!

Do you know if there is a list somewhere of deep links for live feeds on different apps? The live feeds are much better on the NBC app then they are on the Hulu app. The hulu app has some microstuttering going on and I was wondering if it was the linkpi or the hulu app. Now I know lol.

I don't know if there is a list, but I do know that this thread and the other threads on this have bits and pieces of links. I wish someone would gather them all up and pin them in the threads.
That is the problem with all of this is that from where it's started to where it is now has changed a lot and you need to decipher a lot of these threads to get it all working optimally.

This was correct. It was showing I was in the wrong location. For some reason, the fiber at my office shows the wrong locale.

If anyone else reads this, the solution was to click my icon in YTTV (on the Chromecast), go to locations, navigate to where you can update the location. Then open the app on your phone click your user icon, select location, and update the current playback area. I had to do that for each Chromecast, but it seemed to work just fine.

@turtletank first off great job with this!
I was wondering as a feature request if there could be a configurable extra delay in tuning a channel? I have Hulu live but I find the life feeds through the NBC app to be much better than the Hulu app. Problem is that it takes a little extra time to tune and you end up seeing the app before the stream starts. Having a +X delay would allow for some tweaking. See video below and thanks again!

Are location services turned off?

No, see 3 posts above, I got it fixed.

@krazijoe do you have an issue with the nbc app repeadidly asking to link your tv provider? When i try to relink, the website says my code is invalid. I refresh the code and the next one is invalid. This happens on both of my Onn devices. Then i will try again a few minutes later and it will work fine. This morning its back to asking me to link over and over again with invalid codes

I did with YoutubeTV but with DirectTV Stream it's been flawless.

1 Like

PSA for anyone who hasn't gone through this yet:
I am using hulu live and the NBC app. I bought 2 ONN devices and I had a firestick 4k max already.

Firestick:
Completely unreliable. If I open the hulu app manually then the ADBTuner commands to load a channel work 100% of the time. If the app is not loaded then it works about 50% of the time. I'm not heart broken anyway, as I cannot stand Amazons in home ad delivery system anyway.

Onn device:

  1. Enable stay awake while charging
    I had an issue where Channels was recording a channel where there were 4 shows in a row. After the 3rd show the popup came on the screen that says the device is going to sleep soon. Then it killed the video feed. The stay awake while charging completely solved this.
    image

  2. Apps only mode
    Holy crap this makes Android TV as close as it can get to being as user friendly as an Apple TV! All of the stupid crap on the homescreen is gone. This made setup of the apps MUCH easier and just generally looks better. To get to this screen, select your profile pic, then manage accounts, select your account again, scroll down to apps only mode and select it. Then you get a warning that they will not be able to give you a personalized experience (ads) and you really need to think about this. LOL, yeah no thanks.
    image image

  3. Ethernet adapter and USB Debugging
    You have to either choose ADB or Ethernet which I do not like. However there is a workaround. Turn off USB debugging and then change the USB behavior to NDIS. Reboot the device, when you verify Ethernet works OK, turn USB debugging back on. All is well until the next reboot.
    I have heard that there might be a ADB command that will enable this permanently but nothing concrete. If anyone has any insight on this that would be awesome.

6 Likes

When i first started using ADB Tuner, I was on Hulu Live tv.
The experience was just not good at all.
I filled over to YTTV. and all is good.
Hulu requires too much behind scenes messing with things.
Went over to YTTV then moved to Fubo and went to the docker.j

1 Like