Note we can’t reliably use the Matt Huissman masked URLs with MythTV’s built in IPTV streamer at present
Reference
-
OpenMedia’s TRAC ticket #1093
Hence I personally utilse the Generic External Recorder option in MythTV and configure youtube-dl to proxy the stream for the mythtv-backend.
The External Recorder also proves to be more stable with feeds that include multiple bitrates and resolutions.
Copy the following files to your MythTV Backend Server
-
youtube-dl-nz.conf grabber configuration
-
youtube-dl-nz-channels.conf NZ channel map (using channels 201-2xx)
For my environment I use the location
-
/usr/local/share/myPVR/iptv/
You then need to add a new Generic External Recorder as a virtual capture card. You need to make sure the external recorder definition points at the base config, and that the channels definition is in the same directory.
/usr/bin/mythexternrecorder --conf /usr/local/share/myPVR/iptv/youtube-dl-nz.confI also recommend adding a new video source which can pull down Matt’s EPG feed.
Once an the new input has been added you can run a channel scan which will pull in the supplied NZ channel map
Copy the following NZ IPTV playlist to your MythTV Backend Server - this uses channel numbers 901-9xx.
-
iptv-nz.m3u8 MythTV compatible m3u8
For my environment I use the location
-
/usr/local/share/myPVR/iptv/
You then need to add a new IP/TV Network Recorder as a new IPTV Recorder capture card, and specify the local location of your m3u8 file, or you can access the RAW hosted on github via
Matt’s NZ EPG feed includes a full set of NZ broadcast channels, including +1 channels. The way mythfilldatabase works it end up creating additional channels associated with the video source which we need to hide. If we don’t hide these they show up in the channel list and the scheduler might attempt to use them.
Currenty I hide these channels with a small piece of SQL. We can’t remove the channels as they’ll get re-added when the epg grabber re-runs.
-- First find out if we've got any channels that shouldn't be visible
-- They usually show up with an non-zero atsc_major_chan value
SELECT * FROM `channel` where atsc_major_chan!=0 and VISIBLE=1
-- I recommend you make sure you've got the correct sourceid before running
UPDATE `channel` SET visible=0 where sourceid=<YOUR_SOURCE_ID> AND atsc_major_chan!=0We can pull the latest RAW URLs from Matt’s git repo
-
APSattv - https://www.apsattv.com/kiwitv2.m3u