Project

General

Profile

EPG Configuration Issues

Added by Nick Dell'Omo over 9 years ago

For downloading EPG data I'm using mc2xml. The created file is then interpreted by the tv_grab_file. When tvheadend goes to scan for channels/episodes/etc it only finds the channels, no episodes.

This is the console output:
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: parse took 2 seconds
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: channels tot= 899 new= 899 mod= 899
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: brands tot= 0 new= 0 mod= 0
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: seasons tot= 0 new= 0 mod= 0
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: episodes tot= 0 new= 0 mod= 0
2015-08-14 16:31:32.708 /usr/bin/tv_grab_file: broadcasts tot= 0 new= 0 mod= 0

Also I'm getting this error:
2015-08-14 16:31:27.767 settings: Unable to create "/home/hts/.hts/tvheadend/epggrab/xmltv/channels/I1761.45224788.microsoft.com.tmp" - Permission denied

I'm not sure where to go from here, any help would be greatly appreciated.

xmltv.zip (23.9 MB) xmltv.zip compressed xmltv.xml

Replies (6)

RE: EPG Configuration Issues - Added by Mike Fallat over 9 years ago

I'm having the exact same issue with the same output on version 4.1.373. I hope someone has a workaround.

RE: EPG Configuration Issues - Added by Mike Fallat over 9 years ago

I was able to get this working. I think there is currently an issue with mc2xml. I was able to get it working with no issues by using zap2xml to generate the xmltv.xml.

RE: EPG Configuration Issues - Added by Nick Dell'Omo over 9 years ago

What was your fix? I haven't had any luck with zap2it either.

RE: EPG Configuration Issues - Added by Mike Fallat over 9 years ago

First, initially I should have specified that for my issue I was never getting the permission denied error but aside from that, the console output was exactly the same.

1. I generated the xmltv.xml file with zap2it and placed it in the path that tv_grab_file is looking for.
2. I went to Configuration > Channel/EPG > Channels and under the EPG Source tab I double clicked in the white space for each channel to pull up a drop down menu. I then assigned it to the corresponding zap2it reference (ie. XMLTV: 4.2 WDIVDT2 (I35449.labs.zap2it.com)). Make sure you do NOT assign it to the EPG source which has microsoft.com in the name because this is the reference from mcu2xml which appears to be broken at the moment.
3.Go to configuration > Channel / EPG > EPG Grabber and set the internal module to Disabled, save it, then change it back to xmltv. (This step forces it to refresh the values from the new xmltv.xml file you created in step 1.
4. Go to Electronic Program Guide and if your issue is like mine you should see a program guide.

RE: EPG Configuration Issues - Added by Nick Dell'Omo over 9 years ago

I finally got it. I missed the step where I had to assign the channel an epg source first. Once I did that everything started to populate. Thank you!

RE: EPG Configuration Issues - Added by Richard Lane about 9 years ago

I never figured out where the tv_grab_file was suppose to go. I finally figured out that if I enabled the XMLTV and then dumped the my xmltv.xml file to the unix domain socket file that it created it finally showed up in the tvheadend gui. I was able to do the double click and select what was imported. So now I have this cronned on my Pi2.

  1. Update TV Guide using content from zap2it
    17 5 * * 7 osmc cd /home/osmc/zap && ./zap2xml.pl -u rlsmileXXXXX -p XXXXXX -d 9 > /home/osmc/zap/run.log
    25 5 * * 7 osmc cat /home/osmc/zap/xmltv.xml | nc -q 10 -U /home/osmc/.hts/tvheadend/epggrab/xmltv.sock

zap2xml.pl - instructions here http://zap2xml.awardspace.info/
nc - netcat-openbsd version

Cheers!!

    (1-6/6)