HDMI for Channels

Had some high strangeness this evening. My newer mecool device prompted for are you still there within 3 minutes after starting a recording?

At this point not sure what is going on as the stream just started. I am sticking with the original amazon fire tv 4k ultra until I can get this figured out. Will start testing random shows on my 2nd tuner with these new devices - more info to come!

EDIT: I have added checks to my tune in script and keep alive handler. I am now making note of what station is "tuned in" and during my keep alive checks if the stream is not playing it will attempt to recover by tuning in again.

Keep alive checker: Monitors streams and restarts if needed. Also attempt to keep the player thinking someone is hitting buttons. · GitHub
My tune in script: tmm1/androidhdmi-for-channels hulu tuner script · GitHub
My stop script: Stop playing media · GitHub

Hopefully this can give inspiration for anyone else wanting to make the process a bit more refined/robust.

1 Like

Yeah I wouldn't have posted all that info about how I got it to work if it didn't actually work. :grinning: But not long after I had it working on the ONN yesterday, I tried to launch NBC again from the channels guide just to see how it worked over time and I got an endless stream of three dancing dots in the middle of the NBC app. I then tried to run the NBC app manually and it got content not available when I selected the live tab. Force close the app, clear cache, clear data, still didn't work.

So then I installed the app on my Samsung phone and it also got content not available, so it wasn't an ONN issue. Strangely enough, the app worked fine on my Apple TV. Go figure, but I hope this isn't a recurring issue with NBC on Android.

is it possible to extend the timeouts when tuning a Channel using HDMI ? maybe adding a wait in the M3U ? Right now it is 20 seconds. There are so many things that can interfere with tuning. I do not watch HDMI lifetv but do record... so wait time is not an issue. I seem to be off by a second or so but Channels DVR timeout after 20s.

1 Like

Well, I figured out that the NBC app is the only streaming app that I have on any device (Nvidia Shield, FireTV or Onn) that doesn't like DNS ad blockers like Adguard. I have two Adguard DNS servers which serve to cut down on the number of annoying pop-ups, etc. on web sites. I also block any outgoing DNS traffic for devices with hard coded DNS servers that attempt to bypass the Adguard servers. The NBC app will only come up when I disable Adguard. I didn't have enough time to get it to work properly with Adguard turned back on (by trying to create an exception rule), so will have to continue trying tonight.

On another note, when trying to download a backup of the URaycoder firmware, Windows flagged the file as containing a virus and removed it. I contacted URay - they suggested that Windows made a "mistake". They did send me the latest .bin file to try and update the encoder. I added a rule to block any outgoing internet traffic from the encoder.

If you use androidhdmi-for-channels there won't be any timeout problems. It sends the encoder stream immediately and runs the scripts in the background.

How is everyone handling the inevitable mess of hardware that comes with this project?
Once you get multiple devices involved and add ethernet adaptors and such it quickly gets out of hand.

As an on-theme, temporary solution I decided to shove everything into an onn. cable organizer I happened to pick up while I was in the store.

The goal being to have a single box with one electrical and one ethernet connection that I can throw in the closet with my other home automation stuff and forget about. This is very much function over form lol.


Contents:

2x "LinkPi ENC1v2" HDMI encoders
Amazon | Aliexpress

2x "Chromecast with Google TV (4k)"
Amazon | Walmart

2x "Vemont USB C hub / ethernet adaptor"
Amazon

1x Ubiquiti UniFi Flex Mini 4-Port Switch
B&H Photo
I have other Unifi gear so this made sense, it might not if you don't already have a Unifi setup. This was helpful as it can be easily powered via usb-c or PoE.

1x USB 2.0 A Male to DC 5.5x2.5mm Barrel Jack Power Cable Adapter 5V (2-pack)
Amazon
I don't know if this is true for all of these devices, but the ENC1v2 encoders will happily work with a 5v power input from a USB connection. This eliminates two AC adaptors.

So the box has one ethernet cable and two usb-c cables coming out of it. The usb-c cables connect to a 2-port Anker charger I had lying around so it only takes up one AC outlet.

As I said, function over form, but it works and now I don't have to look at a pile of gear sitting on a shelf. The box is decently ventilated and according to the web UI the encoders do not get any warmer then they did when just sitting out in the room.

For now, I've gone the "pile of gear sitting on a shelf" (in a corner in my basement home office) route as I fine tune everything. I dug out an unused table to keep everything on.

My plan, if I ever get to the point where I'm done tinkering, will be to move it all into a utility room where I have a metal rack (I call it my server rack, but it's just some shelves). It is near a 24-port network switch, so I'll be able to plug directly into that.

1 Like

Heh, I just jammed my "christmas tree" in the little cabinet. It's a bit of a jumbled mess, but it all works pretty well, and I'm happy with it.

I like the idea of a cable management box though. Looking into it :slight_smile:

The androidhdmi-for-channels scripts are ok but overkill for what I need all I need is to pass the Channel number to my Windows Script and capture the steam and close it.. I figured a way around the timeouts. I can capture DRM from my Primes and XFINITY stream this way... by channels Numbers.

@cyberskier @Fofer yeah that's where i was just a few days ago!

I'm hoping that moving this into the closet will get me to stop tinkering (at least with hardware) for a bit.

I am using simple amazon shelf's for my setup. Works for now but plan to revisit.

2 Likes

Since we are sharing. My experiment just pretty much sits on a shelf in a cabinet too. Not too concerned about the mess. But the cabinet is about 1 degree F warmer on average now. And the secondary cooling fan kicks off a little more often. Will probably do a complete rewiring/organizing and labeling this weekend.

I've considered grabbing my wife's label maker, and at least labeling the Onn devices "#1" and "#2", etc., and maybe even putting their IP addresses on them.

The NBC app is a complete sh*tshow for me - can't seem to get Adguard to enable a client rule to let DNS queries pass through - so I set up the Onn Box for static IP and set 8.8.8.8 and 8.8.4.4 as DNS servers and set rule for the Onn Box DNS to get out, then the NBC app comes up, but when I try to go to the "live" tab, it says user must re-authenticate, so I sign out and sign back in and it still says the same thing - so I can't even get the app to watch live TV manually - when NBC makes it so hard to view their programming with DRM, DNS and forcing unnecessary re-authentications, I have to ask, is this really worth it? They deserve to lose viewership and go bankrupt, IMO

I'll try the NBC app soon, I am interested to see how different these apps are going to be and how much documentation that would be needed.

In other news Amazon had a sale on Fire Cube and decided what the heck, let's see what 4* faster looks like and oh boy, I am returning the other boxes and purchasing an additional Cube and calling it a day.

Here's a video of hulu launching (warm) Fire Cube launch time - YouTube

I'm running YTTV with a Chromecast dongle (not the 4K version) and it has been working pretty well. However, now I'm seeing more and more cases where the video freezes and I get the spinning circle icon. Most times it recovers but it seems to be getting worse. I'm trying to figure out what is causing this. Is it a bottleneck at YTTV, the internet connection or the WiFi connection to the CC dongle or something else. Anybody else see this?

1 Like

Wow. I might have a new purchase in my future.

1 Like

Since we're sharing, here's a picture of how we used to do this in the old days - circa 2017, I took all of this equipment out of service - 2 Verizon FIOS set top boxes, 2 HD-PVRs, 1 USB-UIRT used to record content that was DRMed over cable - shortly before the time of this picture, Frontier purchased Verizon and subsequently turned off all the DRM, so I was able to record everything freely using an HDHR Cable Card Tuner, but then I cut the cord and moved to Channels+YTTV - now, DRM is getting turned on for TVE, so I feel like things are going backwards...

2 Likes

This is what mine looks like under coffee table in my office I just shove them back under after taking pic. .. I use FireSticks wirelessly

It's insanely fast compared to all these "sticks".