Plex DVR Update for Australia EPG - Australian EPG - XML Data Provider

Great! Glad it is working!

Just a small thing… no need to use the > anymore. Instead use
free_epg.pl --region=region_wa_perth --output=Freeview_EPG.xmltv

I believe HDHR get their guide data from Gracenote, and not from the OTA guide.

@DaveBinM

Plex should actually have the capability of reading in the 24 hour EPG directly from the hdhomerun tuner.

Is this planned?

1 Like

It’s not something I’m aware of being in the works at the moment.

The HDHR only has 24 hours of guide but the OTA has 7 days.

Much better option to use OTA data which gives 7 days and is not tied to one brand of tuner

On OSX if you have Xcode you can also go down the lines of using MacPorta…

Download from http://macporta.org/
Then at a comman prompt:

sudo port install p5-json
sudo port install p5-xml-writer

Then run with /opt/local/bin/perl ./hr_epl.pl …etc.

Michelle

That would explain a few things,… except one,

Gracenote with Plex downloading it was full of holes. (Especially my region)… the HDHOMERUN guide is not… suggests it’s not coming from Gracenote.

They might have got slightly different data from Gracenote, I’m unsure. But they do list Gracenote as their guide partner on their website: https://www.silicondust.com/about/partners/

1 Like

I am a Perl novice - I think I can attempt this in Windows 10 - being new to Plex as well, how will I get Plex to access the generated guide if the Plex server is set up on the Nvidia Shield TV? Do I run Perl scripts on the Shield?

I don’t have a Shield, but you can run the Perl script on your PC and (should be able to) have Plex point to the output file (assuming your Shield can see your PC).

When adding your DVR (if you have one, you’ll need to delete it first), you’ll eventually get to this screen:

Clicking on the Orange link will reveal an extra field where you can input the path to the file (on your PC).

[edited for typos]

Hi Aussie friends,

Checkout this post form another EPG disaster thread (UK based).

Basically, @iomadh has realised that v1.15.8.1198 still pulls from Gracenote. I have no clue whether this will work for you as well and, if so, for how long but thought you might like to know.

J.

Thanks - I managed to generate the xmltv file and I moved it to the Plex Media Server folder on the Shield but no luck so far in specifying the path correctly in the DVR Setup page. Will google this further.

Editing one of your libraries might help you understand how the Shield’s folder structure / naming convention etc. works. Here is a snapshot of my QNAP NAS for example…

On my Mac, it looks like //<server-name>/media/film but I know these two things are essentially the same.

People in Australia … what regions are you in?

nsw

  • sydney
  • newcastle
  • taree
  • tamworth
  • orange_dubbo_wagga
  • northern_rivers
  • wollongong
  • canberra

nt

vic

  • albury
  • shepparton
  • bendigo
  • melbourne
  • ballarat
  • gippsland

qld

  • brisbane
  • goldcoast
  • toowoomba
  • maryborough
  • widebay
  • rockhampton
  • mackay
  • townsville
  • cairns

sa

  • adelaide
  • regional

wa

  • perth
  • regional

tas

  • hobart
  • launceston

Maybe the xmltv files can be hosted somewhere …

Thanks for the tip - that works. Strange enough, need to add /sdcard/… in front of the path. But HDHR seems not to be picking up the HD channels like ABC HD and SBS HD - I wonder if this is related to the slow Ethernet connectivity …as the powerline connection is not great. Live TV is also pixelated and unwatchable. So many variables to fix!

Hi Mark,
DM me about the hosting.

I’m in nsw_newcastle.

Having issues with the Newcastle guide, have DM’ed you

EDIT: the issues I’m having are not a problem with Marks script, looking at the freeview website they have not updated their guides for regional areas in a bout 5 years by the looks. Newcastle changed channels (7 became 6, 9 became 8 and 10 became 5, and many new channels) about 5 years back. The script is giving me the same outdated rubbish that is on the freeview web guide when you set it to Newcastle

I think my best option will be to use sydney guide but map the channels manually to the different channel numbers, that content is "mostly’ the same other than local news

Loving how good this looks, however having some trouble getting it to run. Setup as per BigAlzy’s instructions but everytime I try and run the perl script I get

syntax error at D:\EPG\free_epg.pl line 10, near “<”
Excessively long <> operator at D:\EPG\free_epg.pl line 21.

Maybe you need to ensure all modules installed. Try also adding these from the module install section, even though they appeared to be ok doesn’t hurt to do again. I did but didn’t mention in setup guide as said they were pre-existing but it may have updated something anyway. So from elevated command prompt make sure all these worked.
perl -MCPAN -e shell
install strict
install warnings
install JSON
install DateTime
install Getopt::Long
install LWP::UserAgent
install XML::Writer
exit

If that doesn’t help hopefully @markcs has an answer.

What region are you in @osmondc ?