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

So when you mention buying this $15 router and putting it in AP mode and having it do Wifi are you saying to plug it into my main netgear nighthawk router and then plug the LinkPi device into the Linksys router?

Working on an assumption your Onn TV may be dropping WiFi, and issues with the R7000, thought it might be worth a try using different WiFi. You could also grab an Onn 4K Pro with Ethernet and see if it acts better.

I agree with getting a pro and trying the ethernet connection also its a MUCH better device than the wifi only version (you can always return it after you test if you want to)

@Accustiver, do you have a network switch? If not you can pick up a 5 port gigabit switch on amazon dirt cheap. Take the ethernet cable out of your pc and plug it into the switch. Then plug the Onn pro, the encoder, and your computer into the switch. (Of course you will have to reconfigure adb tuner with the ip of the onn pro). This will elimitate wifi and the entire wired network. See how that test pans out and if it still fails then we'll have to cross the next bridge :slight_smile:

I actually do have a network switch. I’ve ordered the onn 4k pro and it should be arriving today. Will hook that up, set up, and put the new ip in adbtuner and we’ll see what happens. Will let you know. Thanks for all your help!

1 Like

Apologies ahead of time, but I've read most of this thread, and still have probably a dumb question.

I've been using TVE with DirecTV Stream and more and more channels are being removed from it. So I was messing around with Chrome Capture and while it works, it's not passing the wife test. So, I'm now looking into this solution.

We use Emby as a frontend, fed from the Channels server backend, with Threadfin as middleware to prune and massage the channel list. That all more or less works fine, with TVE channels, but not so hot for those that aren't TVE.

Do I need a linkpi enc5-v2 for 4 concurrent streams? If we want to watch different programs in the living room and the kids room for example, that occupies 2 "inputs" on the linkpi with 2 independent streaming devices (like the onn pro)?

Conceptually, I get the idea, I think.

Input 1 on the linkpi = onn pro #1 tuned to NFL Network
Input 2 on the linkpi = onn pro #2 tuned to Nickelodeon
Input 3 on the linkpi = onn pro #3 tuned to Hallmark

..etc and so on

Is that...accurate? Essentially every screen needs its own dedicated backend streaming device? If we wanted to do 6 screens, I'd be looking at the Link Pi ENC8 as the go to device?

ADBTuner is a great project, but it's not the right one to use with DTVStream, you'll want to head over to the ah4c thread.

There was a brief period in time when the DTV app worked with deeplinks using this project, but a DTV app update broke that compatibility. ah4c still works fine though.

2 Likes

Well I'm beginning to think the problem is my router. I got the onn 4k pro and hooked it up via ethernet cable and interestingly enough, I get an orange light on my router for this connection as well. Anyway, I set everything up correctly, put in the IP address into the ADBTuner settings, and unfortunately I'm just getting the same failed results. I'm thinking it might be time to get a newer WIFI 6 router?

Hmm im not sure what you mean when you say you had an orange light. Im not familiar with consumer routers. Does the onn device work on its own if you stream something? If it does i dont think your router is preventing it from working. The whole idea of isolating this equipment to a switch is to rule out the router. The computer, channels server, adbtuner, and the linkpi's traffic does not have to traverse the router. SInce they are all on the same switch the router does not have any involvement with that traffic. The only device where it does is the onn device and that is for just traffic destined for the internet. Even then if you had an issue where the onn device couldnt connect to the internet, you still should be able to communicate with it locally via adbtuner.

I could be 100% wrong though so swapping your router could help even though my experience says no.

Im leaning with it being an issue with your computer/docker. I am really not a fan of docker for windows but since that is the platform you are on, you dont have much choice. If this were my situation i would rule that out by setting up a linux server, installing docker and adbtuner and seeing if the issue persists. That may be too much in the weeds for you though...

1 Like

So the orange light on my router supposedly means the speed is slower. I have a white light for the ethernet port my computer is hooked into on the router, but for the LinkPi and onn device, the lights end up being orange. Now granted, yes, the onn device does work on its own if I stream something, but here's what's interesting...stuff was definitely running slower and buffering when using ethernet, but when I had it connected through WiFi everything was nice and smooth. That doesn't seem right at all. Fastest should be when plugged in via ethernet.

Who knows what is ultimately causing this problem, but bottom line is, my router is definitely an older one...dates back to like 2013 when it was manufactured, so it's older technology and WiFi 5. I think just in general it would be better to have something more recent, so I found a good deal on a Netgear Nighthawk AX5400. It stinks I'm gonna have to put in all these custom settings again that I have for my network (static IP addresses for various devices, port forwarding, etc.) but in the end it's probably best to be on the latest technology and WiFi 6, and if I'm still getting the problem, then I definitely know there's no way it's the router.

Unplug and replug the cable sometimes works if one of the devices is not negotiated properly.
Also try another cable if plugging doesn't work, could be a wire may have come loose in one of the connecters.

Ok orange light. That is probably indicating 100Mbit which is normal as the onn device does not have a gigabit nic. Wifi is faster because the link speed is higher. Dont worry about that now.

But... the fact that you are saying that the onn device is doing that tells me that you are not connecting it to the switch. You should have it set up like this. Cable from switch to router. Cable from switch to pc, cable from switch to onn, cable from switch to linkpi. Old or not, your router is not in play right now except when the onn device is streaming from the internet. Ignore the buffering etc, we dont care about that atm. It is not indicitive of any greater issue. Once this is resolved ill tell you what usb hub with ethernet to buy and you cam get the higher link speed. In the mean time hook everyhting up like i described and lets see what happens.

Ok I guess I'm a little confused now. My router has multiple jacks to plug into for an ethernet connection. When you were asking if my router had a switch, that's what I thought you were referring to...having multiple jacks to plug into on one router. I have my PC plugged into one jack on the router, then the linkPi on another jack, and then finally I plugged the onn 4k pro into a third jack. But when I research switches, it seems that is actually a separate device that offers multiple jacks, and then you're feeding that all into the router with one cable...like a splitter. Is this actually what I would want to do? Wouldn't things run faster if they are all plugged directly into the router? Sorry, I'm no expert on this stuff, but I'm all about learning and researching so appreciate your input!

Yeah for troubleshooting. This will isolate your gear and rule the router out.

A switch can add latency but we are talking nanoseconds. In your case the traffic between linkpi, your computer, and the onn device will not even travel upstream to the switch. The goal is to isolate the traffic. The onn device's internet traffc will go upstream to the router but you dont care about that right now. You just need to see if your router is the issue as it pertains to the adbtuner operation.

Something like this will do the trick.
NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (GS305) - Home Network Hub, Office Ethernet Splitter, Plug-and-Play, Silent Operation, Desktop or Wall Mount https://a.co/d/6orsgzM

Ok, well I guess I'll get one of these cheap switches then and see what happens. Would this one be good too? https://www.bestbuy.com/site/tp-link-5-port-10-100-1000-mbps-unmanaged-switch-black/6537994.p?skuId=6537994

yeah. basically same thing

Need Help---
I am having difficulty setting up ADBTuner on a Linux box. I have gone through AI assisting with troubleshooting, but I must be missing something. I mapped 8080 on the router, docker seems to be running appropriately but everytime I try to access ADBTuner through the web browser it either says site cant be reached or internal server error. According to AI evaluation of my log it appears the ADBTuner container is running, but it’s encountering a database connection error. Then further evaluation it told me the persistent issue is with the SQLite database file, which the application is unable to open or create. I am a complete noob when it comes to Linux and I am using AI to help me through this I thought it was helping but I know I must be missing something that I cant figure out.
http://localhost:8080 = Site can’t be reached
http://localhost:5592 = Internal Server Error

in the logs it is giving me the following error
sqlite3.OperationalError: unable to open database file
and this error
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
can anyone with more experience with Linux help me out?

How do you have this docker container configured? If the SQLite DB is missing it's likely you don't have a docker volume attached to the container.

A command line example for launching an ADBTuner container and an Docker Compose file are available here:
https://hub.docker.com/r/turtletank99/adbtuner

I made an attempt to read some of this thread BUT its massive
Just a few questions before i think about investing in this option as I use Optimum for my TVE source now.

  1. Will this ADB tuner fix /improve my NBC channels that CC4C uses now??
  2. Will i be able to tune any of the Paramount stations ??
  3. When Disney goes dark soon can i tune those stations using this ADB
  4. Is there a mater list of Channels to import or do I add all channels 1 at a time?

Thank you so much that worked!!!

  1. Will this ADB tuner fix /improve my NBC channels that CC4C uses now??

Yes, I use adb to run the NBC app.

  1. Will i be able to tune any of the Paramount stations ??

If you're talking about P+, no. But see next question.

  1. When Disney goes dark soon can i tune those stations using this ADB

Yes if you can get an Optimum stream box AND enable developer options (it's an Android TV device), you can then tune any of your channels via adb. But you will probably need to use ah4c for that (search for it here).

  1. Is there a master list of Channels to import or do I add all channels 1 at a time?

There's not a master list, any channels you want have to be added manually.