Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


rjbathgate

65 posts

Master Geek
+1 received by user: 2


#173267 17-May-2015 16:52
Send private message

Hi

I'm running OpenElec (for Kodi), along with TVHeadend as the TV backend, on DBT/T (Freeview).

On the EPG, currently I can only get +2 hours for TVNZ and TV3/Four channels. I have got +7 days for PRIME.

I figure I need to set up a custom EPG grabber / XML but am not sure what is the best / currently working method as alot of the posts on here on the topic are quite old.

That and I am not sure how to add a custom EPG source into TVHeadend.

The below image shows the EPG Grabber settings in TVHeadend at the moment:

Click to see full size

Within "Over the air grabbers" i also have OpenTV: Sky NZ" ticked, but this is DVB/T so don't think that's any help.

I originally also only had 2 hours of PRIME, but since selecting the two External Interface options (XMLTV and PyEPG), PRIME grabbed + 7 days.

Do I need to set up more channels to feed into the XMLTV external inferface?

Any pointers, most appreciated.

And as said, apologies if this has been asked and answered many times; I'm just not sure what is relevant now & will work for Tvheadend/Openelec.

Thanks


Filter this topic showing only the reply marked as answer Create new topic
rjbathgate

65 posts

Master Geek
+1 received by user: 2


  #1306711 17-May-2015 17:58
Send private message

Hey

Update on this... based on the pricipal of this: http://www.geekzone.co.nz/forums.asp?forumid=126&topicid=90470

For a quick test, I've grabbed a current XML file from http://nzepg.org/freeview.xml.gz and placed it in /downloads/freeview.xml

And then within /.kodi/userdata/addon_data/service.multimedia.tvheadend/settings.xml set:

<setting id="XMLTV_LOCATION_FILE" value="/storage/downloads/freeview.xml" />

But no change to the EPG contents. Not sure how to make it trigger a new read of this XML file either.

Also found: http://nice.net.nz/tv_grab_nz-py/ -- this seems to be very similar to the above method - but not sure how/where to set this up either.

Thanks






andrewNZ
2487 posts

Uber Geek
+1 received by user: 1461
Inactive user


  #1306730 17-May-2015 18:57
Send private message

Your problem is that NZ EPG is mostly MHEG5.

If you have a windows machine, use EPGCollector. It was developed here by SJB (? and friends ?).

rjbathgate

65 posts

Master Geek
+1 received by user: 2


  #1307759 19-May-2015 13:12
Send private message

Thanks for the reply.

andrewNZ: Your problem is that NZ EPG is mostly MHEG5.


Yes, I understand this is perhaps why it's limited OTA. This is also why I am trying to use the XML feed version, which does contain +7 days for all channels.

If you have a windows machine, use EPGCollector. It was developed here by SJB (? and friends ?).


It's on Linux; however the principal of using the EPGCollector is exactly what I'm doing; using a script to grab the XML from the online source and dumping it into the XMl file which TVHeadend should then read.

The issue I'm having now is there, in that TVHeadend won't read the XML file I've given it.

Thanks



allio
895 posts

Ultimate Geek
+1 received by user: 529


  #1307812 19-May-2015 15:00
Send private message

My TVHeadend setup has recently started grabbing full 7-day data for all channels over DVB-T. Wasn't quite sure how or why it started to happen, but it did, and I was able to stop using the xmltv script a few weeks ago. I originally thought it was related to this thread and made a post about it there - then I had second thoughts and decided that maybe it had always been possible, so deleted my post.

I'll post my EPG setup when I get home but I'm pretty sure it's quite similar to yours.

In terms of how to use http://nice.net.nz/tv_grab_nz-py/, from memory you have to do the following:

1. Download the python script
2. Move it to a place TVH will find it (I think it's /usr/bin - there should be a bunch of other xmltv scripts in it)
3. Make it executable with sudo chmod +x
4. Run the script in the terminal (as superuser) and tell it which channels to scrape data for
5. Restart TVH (sudo service tvheadend restart)
6. Select the script in the TVH web interface
7. Map the guide data to each channel

allio
895 posts

Ultimate Geek
+1 received by user: 529


  #1319372 8-Jun-2015 13:38
Send private message

Did you sort this out? Based on the info in this thread I think the answer is simply for you to tick 'UK Freesat' as an EPG source. Full 7-day data via EIT and no need for any external scripts or XML data sources.

Edit: apparently EIT data is currently only enabled in Auckland, so if you're outside Auckland your mileage may vary...

rjbathgate

65 posts

Master Geek
+1 received by user: 2


  #1319487 8-Jun-2015 15:39
Send private message

Hey

Yes, did resolve it; full details here:

http://openelec.tv/forum/71-pvr-live-tv/76894-tvheadend-epg-via-xml-file

Cheers

Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.