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

Last night's recordings went fine. No errors, interruptions. However, the tuner which was using Peacock didn't release. It still showed as "In Use" this afternoon. The tuner which used Youtube TV seems to have released ok.

what android device are you using and what is the screen resolution set to on that device?

@dfrap thanks for the logs.

I just pushed a small update that adds more logging around http requests and tuner locks. I'm hoping to get more insight into what could be causing tuners to remain locked after a tune operation is complete.

Thanks for your patience as we work through this. I have so far been unable to duplicate this in my environment.

Tuner lock status was also added to the status page at /up.

1 Like

I use both ONN 4K Pro's and CCwGTV 4K devices. All screen sizes are set to 1080p. I believe all have been updated to Android 14 but there might be a couple still at 12.

Edit: I use 4 tuner encoders and there is a possibility that Paramount+ is coming through as 4K on the 1st 2 tuners. The 1st 2 tuners are capable of 4k and the last 2 are only 1080p capable. I will do some checking this evening.

I am not seeing any hung tuners with the new release. Most channels were in compatibility and initial testing showed good releases. I changed all channels to default and nothing is hanging. There is logging for each release.
Tuner: Cleanup complete. Loft Firestick (name)
Tuner locks after release: {}
Released tuner ID: 1
Tuner locks before release: {1: {'name': 'name', 'number': xxxx, 'provider_name': 'YoutubeTV', 'lock_obtained': ...
Using configuration: Deep Links (default, recommended) (...) for channel cleanup.

I checked and all my tuners are using 1080p @ 60fps

It had been a while since I had used this been experimenting otherways.

Had a curious thing happen...I had restarted this docker and re-enabled adb for each Onn I have mostly philo channels load through these but had experimented with a couple cw and free sling channels in the same config. The Onn's updated to 14 while setting all this back up...
At some point I had ran a cw channel on each of these...and after no matter what channel I would play when I stopped the channel it would reopen the cw channel and start playing it...
The important thing is ADBTuner said the tuners were free...I eventually removed the cw/sling channels from ADBTuner and rebooted the Onn's again...and this fixed it.
I believe it was the Onn devices causing this issue since ADBTuner would stop the stream and say the tuner was available. I also deleted the CW app from my onn's just to make sure incase it is just a malfunctioning app.

Thought I would post this here just in case anyone else experiences similar issues.
Also @turtletank from reading I see the /up and /configuration options. Are their currently any others? Also is there a list of all the options like different constants or variables we can set in the configuration files??? I have looked at the 2 you have created already.

I just updated to the latest release this evening. I tested by opening channels using the "Preview" buttons on the ADBTuner interface. I have 5 tuners, all ONN 4k Not Pro boxes.
I opened each preview for 10 or 15 seconds, and then closed the preview.
Upon each closing, I opened a new preview.
After repeating 5 times, the 6th preview would not open. I then looked and saw that all the tuners showed as "In Use"
I manually released them, and tried the experiment again. This time allowing more time before manually releasing. Again, all tuners were "in Use".
I will send log files taken from Portainer. If, I can figure out how to send them....

1 Like

I neglected to state that before I installed the 7/14 release both my tuners were hung. Since the install I removed compatibility mode for my firesticks. I have not observed a tuner hang and last night everything scheduled recorded.

I'm not sure what happened today, but my ADBTuner channels are no longer working. All I get now is the "Streaming to the tuner failed. Press play to try again". I'm using FireSticks, they show up in ADBTuner with Endpoint Connection Successful, Android 11. Philo is my streaming service. I see the Philo app kick off, but it never starts playing. When I exit the channel in Channels, it doesn't go back to the FireStick home page. I haven't been running compatibility mode, but I did try switching a couple channels and that didn't make a difference. I don't recall what version of ADBTuner I was running, but I did a manual update tonight. Docker updated, everything rebooted (LinkPi, FireSticks, Mac mini running Channels and Docker). Philo works fine when I'm controlling the FireSticks directly. Don't know what else to try.

Edit: If I use the remote to hit play, it will start streaming. It's like it can start the app, select the channel, but not start playing.

@dfrap @jsfullam @ChannelSam

Thanks again everyone for the logs and other info.

For anyone who was seeing issues with locked tuners, I pushed an updated build with the experimental tag this morning. If you could install and run some tests it would be much appreciated.

Hopefully it resolves your issue. If not, the log output was updated to tag each entry with a unique id associated with each tune action. This should help in further troubleshooting.

@Curtis
As far as I recall, Philo usually requires Compatibility Mode because if you try to load content via a deeplink when the app is open it will pause like you described. I will see if I can reproduce your issue on a Fire Stick when I get a chance.

@Rockies
I included a small change in the experimental build that might fix your Paramount "who's watching" screen issue. If you could check that would be great.

@ChannelSam
/up and /configurations are the only "secret" endpoints lol.

2 Likes

I downloaded the experimental update this morning. After brief testing, here's what I found:

I initiated playback using the "Preview" button for a channel on the ADBTuner. The channel played correctly. After closing the preview window. The channel lock did not clear.

I initiated a second playback through a Channels DVR client. Upon closing that playback, the tuner cleared immediately. The other tuner from the "Preview" was still locked. I manually released it.

Update: After my initial test, I also tested simultaneous recordings from three tuners. All tuners locked correctly and released after stopping the recordings.

It seems that the only times I see unreleased tuners is when I preview channels through the ADBTuner GUI.

Rather than posting them here, I will send logs by message.

Sorry to interrupt the troubleshooting, but I have a total noob question here. I've been lurking here and in the other associated threads (linkpi, a4hc, etc) for a year or so because as a TiVo user I knew at some point I'd have to attempt this. But it's a lot to take in when starting from zero. Minimal Linux knowledge, new to Docker, and as an Apple TV user I've never even used an Android streamer much less ABD. You all are doing the Lord's work here, but I've spent hours reading posts and studying build pictures going "Wait, where does that wire go and what is it doing?"

Finally got the news that I'm losing cable card support so it's time to pull the trigger. I'm actually pretty far along (thank you!) but I think there are a few places where I'm missing the forest for the trees. So excuse my dumb questions in the near future.

My immediate question today is this - I'm using an ENC5V2 and an Onn 4K Pro in my test setup and I'm as far as being able to configure the Onn thru the LinkPi stream using VLC. I noticed that when I enabled Developer Mode it seemed to say that Dev Mode works over USB. Maybe that is an obvious point but I don't recall seeing that mentioned before. My Onn is powered by PoE to the 12V port so there's nothing plugged into the USB. But I've noticed in pictures that most Firesticks and older Onns do indeed seem to be powered over USB which I assumed was just for convenience. Does this mean that I need to switch to power the Onn over the USB-A connection or am I overthinking it and it doesn't matter for our purposes?

Former TiVo user as well. Had 5 at one time.
Now I just have a $100 PC for Channels and my Dockers, 5 hard drives, and a pair of LonkPi Enc 3 encoders.
Using Windows no need to configure via VLC (IT guy and I have zero interest messing with Linux in my off time)
I configure my encoders and AdbTuner via the web interfaces and plug a monitor into the Encoder when setting up the tuners.
My 2 fire sticks and 2 $20 On boxes are all powered by wall adapters and connected to the network wirelessly.
I believe I had read with the ONN Pros you can sustain developer mode over Ethernet, but don't have a Pro to try. Have never set anything up over USB.

Thanks, that's helpful. I'll carry on as planned for now.

Nice to hear from a TiVo kindred spirit. We still have two, my parents have three and we're all in the same boat with losing service. I'm sure you'll agree, as much as I love Channels, it pains me every time I hear people (especially from the cable co) insisting that whatever alternative they are promoting will be "just as good as TiVo." Not even close so far.

1 Like

I'm another former long-time TiVo user going back to the Series 1 Phillips model in the late 90s. The Premiere was the last TiVo I owned. As far as I'm concerned, Channels DVR is a better product than anything TiVo has done in the past 20+ years. Especially when using Apple TVs as clients.

Unfortunately, CableCARDs obviously went away (or will soon depending on provider) and now we have to jump through all kinds of hoops just to have our own DVR. It's frustrating.

No need to use USB for anything on the Onn Pro. ADB works fine over ethernet or wifi.

1 Like

The only reason why I went to NexPVR and then migrated over eventually to Channels because TiVo was too expensive and I thought the product was garbage and a ripoff as TiVo doesn't provide anything special for the box + sub (which is also the reason why they're dying now).

I wish the FCC didn't abandon the CableCards but I think we got enough hardware/software to replace it (and I haven't had cable since I was a Junior in High School so just rabbit ears + streaming most the way since then so it didn't matter) so we'll be fine

Not discounting your experience, but I'm not sure what you mean. Once you've purchased a TIVo with lifetime service (usually discounted when transferring from an older box) there's no ongoing cost beyond cable. I've popped 6TB drives in both of my current ones and they're awesome. Multi-room viewing, remote programming, stream or download to mobile or computer, season passes, pause live, channel-skip, etc, all in a single plug-in appliance. You can cobble together stuff to get all this but nothing is as simple in my opinion. And OTA is not an option in my location.

Yeah...I always thought TiVo was overpriced garbage but people love it so it just depends on taste and location, I guess

Thanks for the confirmation.

Yep, started with a Phillips S1 myself. Have two Roamios right now. My parents have Premieres and still rock the Humax that burns DVDs!

I agree that TiVo innovation evaporated, but you have to agree that they were way out in front to have designed these things that have continued to work basically unchanged for 20+ years. As much as I benefitted from lifetime service I think that's part of their downfall. Margins are pretty thin on something you buy once and use forever so they were dumb not to insist on a subscription model to guarantee a revenue stream.

I wish someone like Apple would have acquired them back in the day when they were just getting Apple TV off the ground, it would have been interesting to see where they took things.