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

You will normally run the pull comand in your shell using the proper docker command
From what i'm seeing in Synology, I can stop the docker and pull the latest image.
I can then restart the docker.
Container manager is what i believe they are calling it in DSM 7
if the update shows as available, i can apply the update from within container manager in the images section.

2 Likes

I’m not on Ubuntu, but if it helps, I run the commands from this post in Terminal in the Mac every time there is an update: ADBTuner: An "channel tuning" application for networked Google TV / Android TV devices - #44 by turtletank

It’s worked so far.

1 Like

I’ve seen this a few times in the DVR when channel numbers get switched around. Deleting the m3u source entirely from the DVR and re-adding usually fixes this as well.

@cyberskier when you have a chance, can you let me know if you still see that stutter on the first stream when loading a second?

Good timing for this question. I was recording a movie last night, and avoided loading an ADBTuner channel on a second device to make sure my recording didn't get the stutter.

I just tried it via the Channels app on an Apple TV for the first channel, and my iPhone for the second, and then again with the Channels app on an Onn 4k box for the first channel, and my iPhone for the second. I tried 3 or 4 times each. Definitely an improvement - there were times where there was no stutter. But maybe 1 or 2 times, I did get the stutter on the first device (Apple TV or Onn device) as a channel loaded on the second. And there was one time where I didn't get the stutter on the first device when loading a channel on the second device, but got stutter on the first device when pressing "Done" to exit the channel on the second device. And about half the time, the channel on the second device would come in and then go out, with the message of "The connection to the tuner was lost. Please press play to try again." Pressing play would always load the channel. No idea if this is related.

1 Like

None of these devices (that I know of) pass DD5.1, maybe because of licensing issues. With TVE that's usually not an issue because they don't send DD 5.1 anyway.

I noticed on my Ubuntu VM (22.04 LTS) that the Docker container wasn't auto starting if I rebooted. Normally this won't be an issue on a VM, howerver, if I ran updates, it could be a problem (since I would reboot!!). So I created a service that launches the adbtuner container on reboot.

First, create the service file:

sudo nano /etc/systemd/system/ADBTuner.service

Then put this inside the service file:

[Unit]
Description=ADBTuner container
Requires=docker.service
After=docker.service

[Service]
Restart=always
ExecStart=/usr/bin/docker start -a adbtuner
ExecStop=/usr/bin/docker stop -t 2 adbtuner
[Install]
WantedBy=default.target

The activate the service with:
sudo systemctl enable ADBTuner.service

That should be it. I'm not an expert on Docker, so I used this Stack Overfow post as a guide.

[EDIT]: In order to update the docker image, the service needs to be stopped:

sudo systemctl stop ADBTuner.service

Update the container, then start the service again:

sudo systemctl start ADBTuner.service

How do you find the Package name & Component? Is there a listing somewhere?

I pushed an update that includes the following changes:

  • Eliminated the whole component/activity/explicit intent configuration. Android 12 devices now work without having to specify anything other than the application package name.

  • Added an optional dropdown menu for selecting a package name. The list of application packages is generated from the list of applications installed on the connected Android devices. Credit for this idea goes to @tmm1.

5 Likes

After exclusively using this docker (and previously the HDMI go program) with YTTV, I finally got the NBC app to come up on the Onn box after fixing some network DNS settings (it doesn't like Adguard/DNS blockers) - I authenticated it and was able to watch a channel for a while (had to use compatibility mode) - I was able to tune it and watch multiple times from my PC via web browser and 1 TV, but now it wants me to re-authorize - is this a common problem with the NBC app? Or will it eventually stop asking to authenticate? Also, has anyone else noticed that it has to be run in compatibility mode with ADBTuner?

I have seen the "Not Authorized" thing from time to time in the NBC app as well. I haven't really looked into a cause, hopefully we can find a fix.

The NBC app is basically a web browser that loads the nbc.com page. It doesn't use the normal video playback methods so unfortunately it does have to run in compatibility mode.

The URL links in the browser are to specific episodes. I don't see how it can record a series or something different unless we know the specific URL of each episode.
Anyone have any insight on Hulu with Live TV?

3 Likes

From the guide.
Click on the channel icon, not the show.
Then take the link from the address bar.
Replace the word "Network" in the link to "Watch"
That worked for me, even though nothing is playing in the browser, it will in the app.

I've only done this with a couple of channels so.....no guarantee.

1 Like

I am trying to get VICE up but it won't work. Boooo...Lol

1 Like

Not sure if this is the same stream you are looking for, but the 398th channel in Plex’s M3U is VICE News: https://i.mjh.nz/Plex/us.m3u8

1 Like

Thanks but this is the Regular Vice CHannel. I wanna record all the Dark Side of Wrestling shows as well as Dark side of Sports, Comedy etc. Basically all their Dark Side of stuff...

1 Like

Plex has a second VICE Channel (not News) also at #383. Is that it?

I also see VICE Channel on SamsungTV+, it's #45. I'm pretty sure that's where I recorded some of those shows from in the past...

M3U: https://i.mjh.nz/SamsungTVPlus/us.m3u8
Guide data: https://i.mjh.nz/SamsungTVPlus/us.xml.gz

2 Likes

I'm getting the following link.
https://www.hulu.com/network/vice-bde4af8e-b348-448f-a580-a7ea6e5d4dc4
According to the example posted in the group it should be as follows.
https://www.hulu.com/watch/vice-bde4af8e-b348-448f-a580-a7ea6e5d4dc4

Trying to get the hand of Hulu myself. I get the channel on FRNDLY tvso don't need it but good to know it is here.

In the Hulu link, replace the word "Network", with "Watch"

Now I can no longer watch my Haystack TV app. Is there any way to have this as an optional setting. Worked great before.

1 Like

I've been able to reproduce the stutter now consistently when watching the main stream on my Onn device, and tuning in a second channel on my iPhone. When I tune in the second channel, the first device stutters, and the second channel comes in briefly on the iPhone, before it disappears and I get the "tuner lost" message. I don't know how this works, but it's almost like the tuner thinks the channel hasn't tuned, so takes some action which ends the stream.