Skip to content

steven-ellis/mypvr-nz-iptv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freeview NZ over IPTV

Note we can’t reliably use the Matt Huissman masked URLs with MythTV’s built in IPTV streamer at present

Reference

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.

External Recorder Setup

Copy the following files to your MythTV Backend Server

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.conf

I 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

Internal IPTV Recorder Setup

Copy the following NZ IPTV playlist to your MythTV Backend Server - this uses channel numbers 901-9xx.

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

EPG Feed

TBC

Issue / Gotchas

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!=0

Primary base IPTV URLs

We can pull the latest RAW URLs from Matt’s git repo

Additional Sources

About

MythTV compatible scripts for accessing NZ IPTV feeds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published