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

The Osprey Android streaming boxes work well with DirecTV Stream and work great with AH4C.

1 Like

@turtletank Is the import/export broken? When I export from my current instance and import into my new instance for some reason the channel numbers and stream numbers change. I'm not sure why there is an offset in my current setup but for example.

Old Correct Config:
#EXTINF:-1 channel-id="201461084056971042226564267660924291399" channel-number="35" tvc-guide-stationid="10989",E!
http://192.168.1.29:5592/stream/34
#EXTINF:-1 channel-id="252295704591639726003434824124889956237" channel-number="36" tvc-guide-stationid="32645",ESPN
http://192.168.1.29:5592/stream/35
#EXTINF:-1 channel-id="53945956142932035475381372783991360932" channel-number="37" tvc-guide-stationid="45507",ESPN2
http://192.168.1.29:5592/stream/36
#EXTINF:-1 channel-id="331002770066912030276275174330770361100" channel-number="38" tvc-guide-stationid="16485",ESPNews
http://192.168.1.29:5592/stream/37

Config once I export and import into a new server

#EXTINF:-1 channel-id="242747140936481940037125989186269390617" channel-number="35" tvc-guide-stationid="10989",E!
http://192.168.1.17:5592/stream/35
#EXTINF:-1 channel-id="211898134837140895904663709016583725711" channel-number="36" tvc-guide-stationid="32645",ESPN
http://192.168.1.17:5592/stream/36
#EXTINF:-1 channel-id="60058069286449258042818106673401085556" channel-number="37" tvc-guide-stationid="45507",ESPN2
http://192.168.1.17:5592/stream/37
#EXTINF:-1 channel-id="244312838641368596565927173631008126189" channel-number="38" tvc-guide-stationid="16485",ESPNews
http://192.168.1.17:5592/stream/38

For some reason it wants to match up the channel numbers with the stream number but that shouldn't happen.

so all i need is a docker and a firestick with ADB access?

And a hardware HDMI Encoder ... to plug the firestick into.

any deals on encoders?

1 Like

LinkPi 5 port is on sale

I use uray

Amazon.com: URayCoder

1 Like

Here's one
https://a.co/d/0QTnXu3

You could get a USB hdmi encoder on the cheap to get an extra tuner for this too

1 Like

I got Plex and Pluto dockers going but this appears more complicated. I see I need an encoder. I've read a lot of the posts but there's so many it's confusing. Can someone help explain exactly what I can do with this? For example, I could create custom channels with guides from the peacock app live channels? Assuming that's accurate, is it difficult to get the links to put in my custom channels? Thanks.

1 Like

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.