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

I pushed an update this morning that should fix the small stutters when tuning or closing one stream while watching another. Please let me know if you continue to see this issue after updating. Thanks!

1 Like

For those that are running Docker in Ubuntu (possibley other Linux as well), here is how I have updated the images over the last couple times.

sudo docker ps

Make note of the CONTAINER ID for the turtletank99/adbtuner IMAGE.

If you are running as a service on Ubuntu:

sudo systemctl stop ADBTuner.service

run the following:

sudo docker rm <CONTAINER ID>
sudo docker run -d --init -p 5592:5592 --name adbtuner -v adbtuner_config:/app/.config turtletank99/adbtuner

Then make sure it is running:

sudo docker ps

Restart the service (if required):

sudo systemctl start ADBTuner.service

There may be other ways to update the image, but this has worked for me without losing any data.

URayCoder 4K 4 Channels H.265 H.264

Thanks for digging into this! I no longer get the stutter, at least in limited testing. But I do get the "tuner lost" message with the second device. In testing, I kept the first encoder/streamer on NBC on an Onn device, and then used my iPhone, selecting a few different channels (one at a time) from the guide (from the second encoder/streamer, I presume). The first time, it worked flawlessly. But then, exiting out to the guide on the second device and selecting a new channel, the next three or so times I did this had the channel come in momentarily before going to the "tuner lost" screen. But the first channel stayed steady and didn't stutter, even after hitting the "Play" button to reload the channel on the second device.

Installed the latest update.

Hulu no longer works.

Or NBC...

is it just me?

1 Like

Did you change any of your URLS?
I'm still waiting for my HTMI encoder.
The URL stuff is so tricky.

Hey Guy, Sorry to do this to you but your latest update absolutely does not work. I rather have the interupped icon on my recordings than record the home screen of the adroid device. Seems when a 2nd tuner is needed it doesn't open the requested app on the 2nd tuner. I exported my last version so I am backup with the earlier version and working again. thanks you for your hard work. I hope you can get the latest working again for me. I did notice a quicker startup on the first tuner. Just for curiosity. I I start 3 versions of the server with 3 different ports could this work. The docker app doesn't take up much resorces in the NAS.

Will we be able to see a open source version of this project and review the code? Python is not by default async and is very tricky! not trying to cast any doubts. Just wanna see the code as promised (via discord).

I should have left well enough alone.
It was working perfectly.

I guess we wait for an update.......

1 Like

I have more work to do before I am comfortable releasing this with an open source license. I am fully aware of the complexities and not currently looking for contributions.

Thanks!

Thanks to @turtletank I was able to get a couple of encoders up and running quickly and painlessly.

I would like to ask for advice on encoders. My first purchase was a single channel URayCoder HEVC H.265 H.264, after trying a few different configurations and the latest firmware I still have audio sync issues every once in a while. My second purchase was a J-Tech Digital H.264 IPTV HDMI 1080P, extremely solid, no sync issues, no stuttering. I ordered another J-Tech, same model, when I opened the box I noticed the hardware looks identical to the first one, but the CPU on this one was maxed out and the video was stuttering, even when using the exact same configuration that worked perfectly on the first J-Tech.

My goal is to have 3 reliable HDMI tuners, any suggestions regarding encoders would be greatly appreciated.

@kennyb3653 @Anvil_DVR
Any chance you can provide logs from the docker container (docker logs adbtuner -n 2000) and provide some info about your environment (in addition to what you already provided)?

What Android devices you are using? HDMI encoder device models? Apps you are trying to tune? Configuration of channels that won't load (json export, or screenshot from the admin interface)?

2 Likes

I have the uray 4k coder with 3 Chromecast 4k.
Just the Hulu app and NBC app.
I don't have time to grab logs right now.

If I monitor the output from the encoder, I can see the app start, but then it just quits and goes back to the Home Screen. The video never starts.
Hope this helps.

Thanks for all the effort!
This thing is great, well it was. LOL.

The logs are gone because I deleted the container and Imported the full earlier version of the tuner. But the issue after investigating was not the docker container but the subscription through prime video ending with pararmount + merging showtime. Prime no longer providing Showtime Live channels except only the East and West and no support throught ShowtimeAnytime app. So now the app just shutdown. The latest release of adbTuner is not the issue.

for what it is worth, I am not having any issues with the new release. I am on YTTV, and have a fairly basic use case. 2 URayCoder h.264 encoders, using the FHD version of the Google Chromecast.

I just started a stream from my desktop, then started a 2nd stream from my laptop. no issues. Then killed the stream from my laptop and started another stream from a different channel. all worked fine.

I would be happy to test any other scenarios if needed.

This of course assumes that my update process worked. I don't see a way to see a version number in the ADBTune web interface, or even what the latest version is so I can't be 100% certain this time since there are no visual changes like there was for the previous update.

Does the NBC app work for you?

Seems to. I think I only have it installed on one of my Chromecasts, but it tuned MSNBC just fine when I tried. They are physically located in my office and I am not there, so I can't add it to my second CC, but 1 stream seems to work fine.

Ok, thanks for checking.
Mine worked perfectly prior to the resent update. Now the app opens and immediately closes. I'll play around with it again tonight.

I think I read somewhere that compatibility mode needs to be on. I assume since it was working that it is still on, but worth checking.

I just got my ONn android box connected to the docker and everything is installed.
I need to stop Hulu from prompting for who is watching andneed to know if compatibility mode needs to be enabled?
My device is showing Android 12 but if I start a source, it will show as in use.
I am now at the point where I need my HDMI video encoder to get everything up and working.
Any tips from people using the ONN box would be appreciated.