Open DarkKaplah opened 7 years ago
Schedules direct is easier but costs so we gotta suffer some. You might want to follow the fork by edit4ever. I only update this when I feel the need. Setting up TVHeadEnd is kinda a PIA. There is information out there but it may not match exactly what you or I are doing, here are some links. http://wiki.openelec.tv/index.php/Configuring_Tvheadend https://tvheadend.org/boards/14/topics/4798 https://www.youtube.com/watch?v=halHAigfj4Q Check to see if you are getting the xmltv.xml file, that's the input to to TVHeadEnd. I'm using TVHeadEnd 3.9 and RPi 2(I think). In my notes I have: You have the TVHeadEnd server installed and in the RPi configuration set the source to FILE and set the full path/xmltv.xml in the next setting. You have to fill in the EPG source in HTPS client under configuration>channel/EPG (the web access IP of the RPi:9981,e.g. 192.168.1.xxx:9981) Sorry,I don't have a good step by step but each situation is different, tuner, platform etc.
I don't know if DarkKaplah got this worked out already or not but just in case I'll say what I did.
I'm using tvh 4.1 (been meaning to update to 4.2.2 but it should be the same).
First, you need the actual "tv_grab_file", which you can find here.
Second, you need to have it at /usr/bin/tv_grab_file or a symlink setup so tvheadend can pick it up. In my case I have that script residing in tvheadend config directory, so I setup a symlink at /usr/bin/tv_grab_file
to point to it because that's where tvheadend needs it. As I said before you can move the script itself there as well, but make sure permissions & ownership are correct.
Third, you need to edit the "tv_grab_file" script to your xml file. Edit line 7, which starts with "cat" and after that put in the path to your xml file, such as:
cat /epg/zap2xmlpy/xmltv.xml
The original line looks like this for reference:
cat ~/.xmltv/tv_grab_file.xmltv
For this next step you might have to restart tvheadend first but I don't recall... if you don't see this option then restart and then set it up.
Fourth and finally, go into tvheadend configuration > channel / epg > epg grabber Under "Internal Grabber" you can set the cron if you want (for when tvheadend refreshes the xml epg file) but you do need to select "Module: XMLTV: tv_grab_file is a simple..." Uncheck EVERYTHING below this, including the external XMLTV module.
Ok, I've posted this question a few places and everyone says to use schedules direct. I have used zap2xml.pl with NextPVR successfully so when trying to setup a LibreElec box with Tvheadend I used your implementation. For the life of me I can't get the last step working. I've:
1) Successfully installed your product from a zip (By the way, update your instructions for Kodi 17.3. I had to fumble to find the "Install from Zip" in this version). 2) Set up TvHeadEnd 4.0 under the http configuration to use Zap2xml. 3) Verified that I am downloading the schedule via ssh. The http.gz files appear after running an update. 4)... How the heck do I get the schedule to show up? The channels are all set to "Auto EPG". When I deselect this I can't find a source to update from. Using the TvHeadEnd 4.0 "configure add-on" in kodi I have the ability to set a xmltv source but I have no idea where you're generating it.
You really need instructions to fill in this gap. BTW I'm not using TvHeadEnd 4.2 as I could get it working on a RPi 1, but not on the RPi3. It wouldn't talk to my HDHomerun Connect. So if this is a version issue I'm going to just stop here.