AndroidHDMI for Channels (ah4c): A virtual channel tuner using HDMI Encoder(s) + streaming stick(s)

works great!

I've been separating my ah4c instances to single out some heavy use channels so lots of playing with m3u's

fyi, the tamper monkey One-click install project ah4c only shows fields for 2 tuners, but errors out required arg not provided: TUNER3_IP

the Olivetin One-click page works but does not auto populate
IPADDRESS: htpc6:7654
or
CHANNELSIP: media-server8

For anyone using Spectrum it looks like they have finally got around to adding an app for FireTv Devices according to Cord Cutters News.
CordCutters - Spectrum on FireTv

Supposed to become available on April 15th and supposedly also has a new multiview feature. This may already be in the ATV version that I use for tuners but I haven't looked. :man_shrugging:

Hopefully they remembered to support deeplinks also!
I will do some experimenting when I get a chance after the 15th.

1 Like

@bnhf. Could you add the provider in the event there is a need to combine m3us from different providers? Recall you had helped me to get a this going where the relevant m3u lines look like the following for providers yttv, dtv, and max:

http://{{ .IPADDRESS }}/play/tuner/yttv~831~Htmhm0ywaTg
http://{{ .IPADDRESS }}/play/tuner/dtv~truTVHD~1b10de5e-3e3b-488f-9740-bec197244114
http://{{ .IPADDRESS }}/play/tuner/max~~300dbdc3-db0a-513c-8b25-2341eb00c469~0e95ada4-129a-5759-9d8a-d04ac349223b

It looks right, but of course the proof will be in its functionality. Let us know. :slight_smile:

1 Like

I went with a one-line change in the DockerFile, to remove those two incompatible menu items during the container build. Just pushed as bnhf/ah4c:latest (aka bnhf/ah4c:2026.04.04):

It's also tempting to just remove this menu completely, though the M3U editor can be handy, so I'll probably leave it.

The more valuable WebUI included with ah4c is ws-scrcpy, where you can interact with your streaming sticks via an ADB shell:

Or, via "Configure stream" to interact with the stick's UI:

1 Like

These specific issues are fixed in bnhf/olivetin:latest (aka bnhf/olivetin:2026.04.05).

They'll be in the next build.

1 Like

I have. I've actually started checking and usually find that the adb permission window popped up, but you need to be on the menu screen to see it. I've actually been thinking of changing that setting in my boxes so I can keep better track of the issue.

I also noticed that on a per box basis you must walk thru the favorites selection for the user profile your going to use. if you exit out of it, it will just continue popping up every few days.
this issue also goes away with a 2nd tune
also from my notes; My Favorites (if Animation is off in dev options, the UI may hang. press enter, exit, list, home, or guide to force reset 'dtv app')
i set my animation to .5 now and it actually seems faster than animations off.

1 Like

been thinking the same thing, but never checked. I'm glad you know how to ask the machine questions right. I've never been good at that with even humans.

is that the denominator? the linkpi reboot? I hadn't isolated yet, but would like to re-create the issue before trying the fix. (I just know that when I rebooted everything I had the issue)

actually I don't think this was my issue. I think it's the adb thing for me, I know somethings messed up in my setup. like how both ah4c stacks are using the same directory.

so without the sleep 1, using channel # tuning, even on an old c71kw-200, when I rewind to see the tuning process, I can see the osprey wake up a 1/2sec before ch# is inputed. :+1:
I'm actually ok with that sleep 1, but think I'll leave it for now, and keep a better eye on what my failure point is.

what's the best way to script the ch# input everytime even when channel isn't changing? this would be helpful in my constant playing with toys, and i'll only see it on the ending padding of reordings.

ya lost me at honestly, but got me back with instantaneous. lol :laughing:
I've been gonna get into deeplinks with adbTuner, but everytime I try I can't get adbtuner to work. again likely my docker setup somehow. on the list to fix.

I will however play with deeplinks on 1 instance of ah4c. I've actually got some IR stuff in the works for an awesome setup as soon as I figure out 1 more piece. :shushing_face:

1 Like

So what I’ve seen every now and then, mostly after an internet loss, is that the authorization screen will pop up and it’ll tune to the last channel used. I can then pick another channel and the 2nd Osprey will show the same. Select another channel and the 1st Osprey will tune correctly. Change the channel again and the 2nd Osprey will tune correctly. I try to remember to perform a restart on my container each month which seems to prevent the problem. This is a very infrequent occurrence, maybe every 3-4 months. I used to run to get the remote but alas, I am not that fast.

yes, if you catch it when it happens you can use a remote/adb to tune correctly.
I've also experienced internet instability (high winds and cable lines) will pop up a screen after so long. a re-tune works, but ah4c doesn't re-tune if the channel is not changing.

I noticed that a while back. probably why I stuck with #'s

neat solution for your issue. I'm wondering thought if that essentially breaks the cdvr tuner rollover so it never tries a different tuner. ie adbtuner - ah4c

ok, i didn't sleep at motel6 so I don't really know. :sleeping:
just logically in my head it threw flags.. hope it works for you.

so far my extra home command seems to be working for me, but would be much quicker if I set my ospreys to just stay on home at wake instead of tuning the last channel. (I'll play more this weekend)

so I do have an issue without the sleep 1
here's two clips showing the difference.

I'm still making sure I fix my favorites wizard and adb auth issues, so my ospreys are set to launch to home while i verify this. It does make the skip 1 issue plain as day, but I think I actually only needed the delayed retry's with dozens of adb auth windows hiding on the home screen (background)

@anon38303228
I have not been able to recreate your issue on linkpi reboots, but I've been focused on my other issues. something that I've mentioned, but not specifically with your issue is on the fac.php I have my EDID set to 1080. and I've set my ospreys to match my input settings hdmi=1080p60 usb=1080p50 (I was happy to see 1080p50 as an option in osprey)
the issue you've described seems to be a hdmi handshake delay so matching starting points should speed it up.
sorry if you've covered this, but my memory's kinda shot, celebrated early :v:

only sleep in what you posted :crazy_face: is not in bnhf/ah4c:latest

1 Like

@ChannelSam

I just installed the Spectrum app on an Android TV device and attempted to configure it with ADBTuner. I tried several deep link formats for individual channels based on the Apple TV implementation, but I haven't been able to get the app to launch at all. Have you had any luck finding the correct deep link structure?