Progam guide information in New Zealand (NZXMLTV)

Does anyone know the official answer on why the program guide information is so poor? I am in New Zealand and it’s so frustrating the amount of times I see a program advertised and I think “that looks good, I’ll go schedule that to record in Plex”, only to find that it simply isn’t in the program guide.

When I first got live tv, quite a few months ago now, I understood that it’s a gracenote issue and we could fill out a form to mention certain shows that were missing etc. But here we are months later and nothing has changed - how and when will this be resolved? It makes it very frustrating to use.

I agree - my partner wants me to record the royal wedding - and guess what - its not in the program data from gracenote.
Also the Edge TV has changed channel numbers due to a new channel 3Life starting in the last few weeks - and the gracenote data does not show this at all.

My previous PVR systems could scan the EPG data out of the broadcast stream for DVB-T - but the Plex setup gives me useless data unless i choose gracenote - which in itself is very very shoddy.

Yeah same issue with the change of channel from the edge to ThreeLife. Pretty annoying!

Hey team. Another Kiwi user here with the same issue. Can’t find Country Calendar. Yes, my secret shame.

Old method

A quick fix to this is to use XMLTV. You can either use WebGrab++ (however the config file may need some changes for the new freeview channels), or you can use matthuisman’s XMLTV - http://iptv.matthuisman.nz/nz/epg.xml

See my post below for an enhanced guide: Poor progam guide information in New Zealand

XMLTV worked OK for me, as in it got the program information, but it lacked on episode information causing shows such as Home and Away getting classified as a 1958 movie that get played several times a day… It’s a pain you can fix/match shows and movies like you can physical content. Gracenote provided this but can’t use 3life and missing a bunch of shows. It will get better i’m sure, but for now i’m still using the HDHomeRun App.

Take for example the Star Wars saga being shown at the moment - it’s apparent a show :disappointed:

I’ve taken to daily taking a look at ALL the shows available and just scanning along to see I recognise the names as something I want to record.

XMLTV is pants compared to what does get matched by the proper gracenote feed.

NZ XMLTV

NZ XMLTV is the only New Zealand XMLTV that is specifically optimised for Plex, avaliable for both Freeview and SKY. With the removal of New Zealand from the default Plex guide, then this is one of the few alternative sources of data for New Zealanders.

Features:

  • Adding posters to TV shows and movies. These are both sourced from international providers (such as IMDB, TheMovieDB and TheTVDB), but also New Zealand specific providers (TVNZ, ThreeNow, SKY Go, Choice TV OnDemand and HGTV OnDemand). In cases where there is no poster avaliable, channel branded posters are generated (example).
  • Added season and episode numbers to TV shows and years to movies.
  • Clean up the titles to improve Plex matching (e.g. removal of the All New: prefixes that are often used)
  • Correctly differentiates TV shows and movies.
  • Correctly identifies sporting events, including what sport is being played, what teams are playing and standardisation of titles.

Each guide has goes ahead one week and automatically updates when new channels are added. In the case of Freeview, Prime PLUS 1 has also been added, even though it is not a Freeview certified channel.

Links

Freeview - https://nzxmltv.github.io/xmltv/guide.xml
SKY - https://nzxmltv.github.io/sky/guide.xml

There is also selected IPTV sources available, please see https://nzxmltv.github.io/iptv for more information.

If you only have Freeview channels, then the Freeview guide is strongly recommended over the
SKY one, as Freeview provides significantly more (and higher quality) data, meaning both the metadata and matches are better.

Adding it to Plex

This setup assumes you have no setup Live TV / DVR yet. If you need to add the XMLTV to an exisiting setup, click the Delete DVR link on the DVR settings page:


Your scheduled recordings will be preserved.

  1. Select the device you want to setup and click Continue.


2. Select New Zealand in the drop down list.


3. Click Scan Channels. Then click Scan Channels again. Plex will now scan for channels. This may take a while depending on your signal strength. Once it is done click continue.


4. On the next screen click the XMLTV link.


5. Select English as the language, and enter either the SKY or Freeview link into the ‘XMLTV Guide’ field. Do not use a file from your computer, despite what the suggested text says. Give it a title, this doesn’t really matter, so it can be anything.


6. You will now see the channel mapping screen. These should be automatically filled out. You can disable any channels you don’t want at this stage.

Tip: If you want faster refreshes you can disable ‘Enhanced Guide’ in DVR settings. This does mean you don’t get access to a few features (such as descriptions of TV shows), but makes the guide refresh much faster.

Questions? Issues?

If you have any questions or issues please feel free to reply. If a TV show or movie has an incorrect match I can fix this up, so once again feel free to let me know.

7 Likes

@shea9872 - thanks very much for the xml file! I’m going to give that a go and see if it’s better than gracenote. Currently importing the guide, but it’s already looking far superior :smile:

This is a bit of a revelation! Your XML file is great, thanks very much for sharing. I wish it was this good natively with Gracenote.

1 Like

@shea9872 - Thanks very much for sharing this! This looks great! Honestly - I REALLY appreciate this!

@shea9872 This is amazing work! Well done!

ill probably get ■■■■■ slapped for this, but can someone point me towards a guide for using xmltv or any alternative EPG data with Plex please?im familiar with XMLTV but assume that you need to then copy the file somewhere? thanks.

@“ben.iffland@gmail.com” said:
ill probably get ■■■■■ slapped for this, but can someone point me towards a guide for using xmltv or any alternative EPG data with Plex please?im familiar with XMLTV but assume that you need to then copy the file somewhere? thanks.

Simply delete your TV tuners and then setup DVR again, and click this button when you get to the EPG screen - https://i.imgur.com/0OgRPvI.png

You can then enter a file on your system or a URL.

@shea9872 said:

@“ben.iffland@gmail.com” said:
ill probably get ■■■■■ slapped for this, but can someone point me towards a guide for using xmltv or any alternative EPG data with Plex please?im familiar with XMLTV but assume that you need to then copy the file somewhere? thanks.

Simply delete your TV tuners and then setup DVR again

FYI any scheduled recordings won’t get deleted by that, you don’t need to set up everything again.

Grid guide looking good here in NZ but still a crap EPG from Plex - i’m updating with the XMLTV file now.

1 Like

@shea9872 said:
I might as well share the custom XMLTV I use - Becoming Elizabeth

This is generated with a script every morning at 6am, and pulls the data from Freeview directly, 8 days worth of data. It then attempts to get posters from IMDB, TheTVDB, TVNZ OnDemand, ThreeNow, Choice TV and HGTV. Most big shows have posters, but those that don’t have placeholder images. It’s also pretty good at finding matches, but not always 100%. I can fix specific shows, so let me know and I can make some changes. It also correctly identifies movies 99.9% of the time, however there could be some shows that are shown as movies when they’re not, let me know if thats the case. It also automatically detects new channels and adds them to the xml, meaning the only changes need to be made in Plex.

Great job @shea9872! I have literally been working on exactly the same thing for the last 2 weeks because Plex’s one is so bad. I came on here tonight to see if Plex might have plans now that they have the new guide out. I’ve imported your XML file as a comparison to mine and I see there are a few miss matches in there. For example, the movie Top Gun on Bravo tonight at 8:30pm is being reported as a TV episode rather than a movie. Out of interest, how have you programmed your guide to be created? Perhaps we could share notes and make one ultimate one guide?

@nigel-wells said:

@shea9872 said:
I might as well share the custom XMLTV I use - Becoming Elizabeth

This is generated with a script every morning at 6am, and pulls the data from Freeview directly, 8 days worth of data. It then attempts to get posters from IMDB, TheTVDB, TVNZ OnDemand, ThreeNow, Choice TV and HGTV. Most big shows have posters, but those that don’t have placeholder images. It’s also pretty good at finding matches, but not always 100%. I can fix specific shows, so let me know and I can make some changes. It also correctly identifies movies 99.9% of the time, however there could be some shows that are shown as movies when they’re not, let me know if thats the case. It also automatically detects new channels and adds them to the xml, meaning the only changes need to be made in Plex.

Great job @shea9872! I have literally been working on exactly the same thing for the last 2 weeks because Plex’s one is so bad. I came on here tonight to see if Plex might have plans now that they have the new guide out. I’ve imported your XML file as a comparison to mine and I see there are a few miss matches in there. For example, the movie Top Gun on Bravo tonight at 8:30pm is being reported as a TV episode rather than a movie. Out of interest, how have you programmed your guide to be created? Perhaps we could share notes and make one ultimate one guide?

Firstly my script pulls the data from Becoming Elizabeth. This is obviously the easy bit, since most of the data is there for us. The first kinda ‘extra’ part of my script now comes into play - using a bunch of regex I extract the season, episode and part number of each show. This is then saved to a file. If there is no season number, then I set the original air date to either the current date, or to a date from the cache (e.g. When it first appeared in my script).

The next bit is deciding whether a particular program is a TV show or a movie. This is easy for some channels - e.g. TVNZ, Choice TV, Maori TV etc. since they add a ‘Feature’ or ‘Movie’ tag to movies, however it is much trickier for Mediaworks channels. This is because they don’t provide a movie tag in the genre, so instead my script looks for the year in brackets in the description (for example ‘(2016)’). This is likely why Top Gun isn’t displaying correctly, as it probably doesn’t have a year in the description. I’ll see if I can see some sort of pattern I can use to determine whether it is a movie.

The last step is the metadata collection process. If a show is a TV show, then we check the TVDB, which searches for the show and usually picks the first one with a similar title, unless one of them is produced by a New Zealand company (e.g. TVNZ, in which case it gets selected over the others). If it is a movie then I check with IMDB, via the OMDB api. This also allows me to get the cast and ratings. This data is also cached.

This is a pretty broad overview, I’d have to double check the script again for some of the nuanced details. If you have any more question feel free to send me a PM.

1 Like

Just a suggestion but if there is no season or episode couldn’t you assume it is a movie? Or are shows often aired with no season/episode where you are at?

@johnm_ColaSC said:
Just a suggestion but if there is no season or episode couldn’t you assume it is a movie? Or are shows often aired with no season/episode where you are at?

The source I’m using has no dedicated tag for season, so only big shows generally have season numbers, and those are embedded in the description. So it was really an issue of either misidentifing half a dozen movies or a lot of TV shows