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

They don't seem to carry them here in Canadian stores :frowning: , but I'll keep an eye out!

I did, yup! The Fubo one still hits. It must be the Fire, as @Anvil_DVR doesn't seem to be having them anymore.

Yes, I haven't had the prompt once since the "fix".

It should not matter what device I think you have to look for the FIX and update ADBTuner.

Hmm, currently on the 8/11 image. I assume that's the latest @turtletank ?

@Ryboflavins I just pushed an update (08/13) that should fix the Fubo thing on Fire TV devices.

The Fire TV devices are totally fine, it's just there are subtle differences in how things work between Android versions so it takes some extra effort to ensure compatibility.

@Anvil_DVR Thank you for the logs. I will look into the Hulu thing.

3 Likes

Since at least a few ADBTuner users are getting hip to the convenience of Portainer, I thought I'd add another piece to the ease-of-use puzzle.

Among the containers I install everywhere I'm running Docker and Portainer is Watchtower. Watchtower is a very easy way to keep all of your containers up-to-date including itself and Portainer.

It can be setup to run automatically, but I don't recommend that -- instead I suggest running it on demand. That way you don't have any breaking changes installed without realizing why it happened.

Watchtower will only update running containers, so if you don't want a particular container updated for some reason, stop it before running Watchtower -- and start it again once Watchtower exits.

Here's the compose for Portainer-Stacks with the run-once flag set:

version: '3.9'
services:
  watchtower:
    image: containrrr/watchtower:latest
    container_name: watchtower
    environment:
      - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      - WATCHTOWER_RUN_ONCE=true
    labels:
      - 'com.centurylinklabs.watchtower.enable=true'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

When you first spin-it-up, it'll update your running containers and then exit. Leave it in this exit state until the next time you want to check for updates -- then tick the box next to it and click "Start" in Portainer-Containers.

4 Likes

Thanks as always! I'll keep an eye out for the popups!

Thanks again for the logs. I believe it's just a timing thing. Sometimes Hulu is slow to open (usually on a cold start). The profile screen check adds some additional delay that makes it more likely the tune operation will exceed the 30 second timeout limit.

I just pushed an update (08/14) that temporarily limits this profile screen check to channels using compatibility mode. If you are using Fubo make sure the compatibility mode option is enabled for all Fubo channels.

Ok,
I will pull it later today and give it a go.
Overall its been working great!

Has anyone had Wi-Fi issues with there Google Chromecast 4K with Google TV? I am having constant quality changes during the stream from the NBC app. I looked at my Unifi to see if there were issues with the Wi-Fi and it’s having constant issues and I’m right by the AP. It’s the only device I am having Wi-Fi issues with. Wondering if it’s the Wi-Fi chip on board and was wondering if I should hard line it?

When I was using NBC, I noticed it would always start out crappy, and then after a time clear up.
This was regardless of what I used to watch the channel.
I am using Chromecast 4k units and have had no Wi-Fi issues at all.
But my Chromecast units are literally 2 feet from the router.

I think its NBC. I get the channels from Hulu or Fubo now.

How can I tell that I'm actually running the latest version after importing settings in Docker Container. My last import was looking to pull turtletank99-adbtuner1:2023717. Stated that it didn't exist so I edited the json file to pull turtletank99-adbtuner. That seem to work but not sure if its what got pulled.

I figured it out. I had to make a new VLAN on my Unifi console and made a separate 2.4 GHz network only. It ended up clearing up the network issues. I guess the Chromecast doesn’t like 5 GHz network. I know I have need to setup a 2.4 GHz network only but just been putting it off but that ended up fixing it though.

Working fine.
With this latest version I actually see the "Who's watching" prompt from Fubo, and then it magically disappears.

It would be amazing if you could come up with anything for the TDS TV+ app.
I don't have a clue where to start. The box they provide is a small android box with the Tivo app that accepts voice commands. I haven't been able to get voice commands working with the app on other android devices. Google wants to step and and direct you to their stuff instead of just changing channel in the TDS app. I was hoping there was a way to pass voice commands over adb.

Oops, this was actually a bug. It was starting the video stream immediately after detecting the profile screen. I just pushed an update (08/16) with a fix. It should now, in most cases, clear the profile screen first.

I took a look at the TDS app and it doesn't support loading any content via URLs so it's most likely going to remain out of scope for ADBTuner.

Not sure if this helps, but the original release of "androidhdmi-for-channels" started with trying to send text commands via adb. It worked, but it wasn't as effective as using URLs to load content so most of the development moved away from that. If you can figure out a set of actions that load the content you might be able to write a shell script that can executed by HDMI for Channels to automate it.

Ok, thanks for looking. Not sure I'm going to stay with TDS for TV due to so many restrictions.

I have a question that is somewhat off topic.
What is the best way to record a stream from these HDMI encoders we are using.
Let's say I want to transfer something from a cloud dvr to local hard drive. So it would be outside of any guide data. I've been looking for some software that would capture the ts stream.

Any ideas?

(I just tried splitting this reply into its own topic so as not to hijack the thread, but can’t figure it out. If anybody is able to do it, feel free)

There’s probably an easier way, but I installed FFMPEG, and then run this command from Terminal (I’m on a Mac):

ffmpeg -t 02:10:08 -i http://192.168.7.152/0.ts moviename.mp4

I start playing something manually (i.e., from the streaming device hooked up to the encoder, which exposes a stream on my local network at http://192.168.7.152/0.ts). This records that stream to my Mac’s home directory, and stops recording after 2 hours, 10 minutes, and 8 seconds. Those numbers can be changed. It saves it to moviename.mp4, which you can change to anything.

I would think VLC could do this (Media -> Streaming), or FFMPEG as cyberskier mentions.

Interesting. I know it plays in VLC, I never tried recording with it.

I have ffmpeg, if VLC doesn't work, I will try this.

Thanks!

1 Like