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

I appologize for not finding this... Can anyone forward the NBC PKG info for both Firestick and Android.

I am failing guessing it.

Thanks!

Nevermind...fogot compatibility mode.

Just a small update. I was able to get this for under $200 with the use of some coupons and it appears to be the identical unit I got from eBay. It’s probably the cheapest option I’ve found. I will put it through some burn in testing but so far I haven’t been able to find a difference.
https://a.aliexpress.com/_mKpglbK

That's a pretty good deal. Very similar to the J-Tech models. I would venture to bet they share firmware as well.

is this possible with directv stream? i see a few different mentions of it but i haven't been able to figure out what i'm supposed to do to get it working (if it's even possible)...

Using DTVStream isn't possible with this project, but I have it running with the ah4c project. Tuning is not as fast as when deep links are available (required for this project), but it's reliable. See this thread for details:

Search is your friend here, focusing on posts related to DirecTV and DTVStream.

3 Likes

I would use the same steps as we did to figure out NFL Sunday Ticket. You have to grab the youtube link while watching

3 Likes

Interesting development in my constant stutter situation. I signed up for YTTV, and lo and behold, no stuttering at all. Same encoder settings I was using for Hulu, and no stutter. Anyone else using Hulu and seeing no stutter? I tried a bunch of other encoder settings, with YTTV as the source, and found it very hard to get a stutter. My encoder must not like something about the Hulu stream. Even though Hulu does not stutter when the Chromecast is plugged directly into a TV. Quite frustrating.

i didn't have stuttering problems with Hulu but had to babysit it too much.
My boxes would get logged out of the system and it would sometimes not load the stream.
YTTV just works. Fubo on their app just works.

2 Likes

Agreed, Hulu seems to require a lot of babysitting. Getting logged off, forced password changes, TVE auth issues, etc. It's a shame because it is the best value for what I want, but I've had enough. Fixing my stuttering issue is icing on the cake.

I haven't played with Sling TV but I've got the experimental version and the app looks promising.
In my area, if CBS and ktla aren't a must have Sling with orange and blue plas total tv would be a good package. I probably wouldn't mess around with TVE because it is so badly supported so the ADB project is your friend in this case.

2 Likes

Catching up on the party, but logs show this message:

server - Tuner: Application (com.amazon.firetv.youtube.tv) is not installed. Exiting

Any ideas?

First idea would be: Do you have the YouTube TV App installed on the FireStick you have plugged into your HDMI encoder?

Most definitely

I just setup ADBTuner with Firestick 4K Max sticks and had the same error in my logs. And, I knew I had installed YouTube TV - 100% sure.

Turns out, despite what I thought, I had installed YouTube and not YouTube TV.

Once I figured that out and installed YouTube TV then com.amazon.firetv.youtube.tv worked without issue.

In fact, it works so well that I've nearly switched over to ADBTuner exclusively as my Channels DVR sources.

Kudos and a huge thank you to @turtletank for building ADBTuner.

2 Likes

Embarrassingly, repurposing a Firestick 4K, I found this one did indeed not have yttv. Thanks for the clue. All is now well. This project works very well for things like YTTV channels that are not obtainable with TVE.

Anyone ever seen errors like these:

2023/12/12 19:14:28.849123 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.849180 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x815ef80] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.862389 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.862451 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x8170540] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.876732 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.876815 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x845a5c0] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.889405 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.889520 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x7ffaa80] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.891033 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-remux:      Last message repeated 69 times
2023/12/12 19:14:28.891089 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-remux:  [hls @ 0x94b9980] Non-monotonous DTS in output stream 0:1; previous: 3392820, current: 3392010; changing to 3392821. This may result in incorrect timestamps in the output file.
2023/12/12 19:14:28.892474 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-remux:  [NULL @ 0x9492000] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.904853 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.904921 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x7fc0a00] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.918725 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [NULL @ 0x7fb7680] Invalid NAL unit 4, skipping.
2023/12/12 19:14:28.918761 [HLS] ffmpeg: ch9499-dANY-ip192.168.152.217-1-----10000-0--0-0---false-false-0.01-0:  [hevc @ 0x815ef80] Invalid NAL unit 4, skipping.

It never ends, and my stream is pixelated at times. I've tried lowering bitrate and quality. All connections are wired. Thanks in advance.

That means the encoder is sending malformed h264. Check to see if there is a firmware update.

I'm stuck. Have the Onn and Uray4khevc which are working fine using Onn remote and viewing on my Mac with ffplay.

Onn is in developer mode but I was never asked by android to approve the connection but ADBTuner shows "Available".

I can't figure out how to get the information to complete the Add Channel with url, package and alt package.

I shell'ed into ADBTuner and I can't find any application logs or add client. I did a tcp port scan to Onn device and there are no ports open so I can't see how ADBTuner communicates.

(My end goal is Amazon Prime TNF, YTTV/USA.)

Found logs via lib/apps.py to stdout which is docker logs

lib.adb - ADB: Error while running command. Check for approval popup on device.

But I'm looking at output and see no popup.