Does anybody know which API is used to control the HDHomerun device, udp or http?


I’ve enabled the issue tracker.

When I switch to direct stream I first have kill my app on the iPhone or Apple TV before it will use the direct stream. I guess it has to refresh the lineup before it uses the new url.

I will look into mythtv and hdhomerun_channelscan.c.

I didn’t find packet sniffing to be easy because it is udp, and normal proxies don’t seem to work. Maybe something like wireshark, but then you get a lot of information and you need to find you’re specific requests and responses.


I was looking into it and Wireshark allows you to sniff purely for udp, and I think you can filter it to certain IPs too :slight_smile:


I am working on a modification and have taken TV headend out of the loop putting my video stream URL’s directly in place from the HDhomerun proxy. It works great on URLS that are mpegTS but URLS that are m3u8 don’t seem to work. I assume channels is only looking for mpegTS because that is what the HDhomerun serves up???

Log File:

2017/10/04 09:33:02 [TNR] Opened connection to 88888888 for ch1
2017/10/04 09:33:02 [HLS] Starting transcoder for channel 1 (encoder=h264_vaapi, resolution=720, deinterlacer=hardware, bitrate=6000)
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
[file @ 0x258f4c0] Protocol ‘file’ not on whitelist ‘crypto’!
[hls,applehttp @ 0x258a9a0] Failed to open segment of playlist 0
[file @ 0x258fa40] Protocol ‘file’ not on whitelist ‘crypto’!
[hls,applehttp @ 0x258a9a0] Failed to open segment of playlist 0
[file @ 0x258ff80] Protocol ‘file’ not on whitelist ‘crypto’!
[hls,applehttp @ 0x258a9a0] Failed to open segment of playlist 0
[pipe @ 0x25902c0] Protocol ‘pipe’ not on whitelist ‘crypto’!
[hls,applehttp @ 0x258a9a0] Failed to reload playlist 0
[hls,applehttp @ 0x258a9a0] Error when loading first segment ‘video005.ts’
pipe:: Invalid argument
2017/10/04 09:33:18 [HLS] Stopping transcoder session ANY-ch1 @ 0s
2017/10/04 09:33:18 [TNR] Closed connection to 88888888 for ch1


I came here looking at why tvhproxy didn’t work with my channels app, when it does work with Plex DVR. Reading this thread (please confirm) the original tvhproxy won’t work with the channels app and I need to use this one? Which is not yet complete? I’m just running the normal Tvheadend and tvhproxy setup. Plex is painful when it comes to EPG and the like and it’s still a bit buggy for every day use unfortunately. Plus their guide is not good.



@Geert @patriot1889 @lsawyer Has somebody figured this out? What is the best way to have Channels pick up IPTV playlists? Preferably without an HDHR device. Thank you.