import xmltv file generated by TVxb to tvheadend
Added by frantz frantz almost 12 years ago
Hello All, as I'm new to forum as well as to tvheadend. I have problem with inserting EPG data from xmltv file to tvheadend 3.3.179. Unfortunattely I cant use any build in grabers. Could you please advice.
Replies (1)
RE: import xmltv file generated by TVxb to tvheadend - Added by Gary Anderson almost 12 years ago
Try this, create a file named tv_grab_TVxb or something like that with the following in it. Change "/home/frantz/Downloads/tvguide.xml" to the path to your xml file generated by TVxb. Place it in usr/bin and set permissions to match the other tv_grab_* files.
#!/bin/bash
if [ "x$1" = "x" ]; then
cat /home/frantz/Downloads/tvguide.xml
exit 0
fi
case "$1" in
--description)
echo "Frantz"
;;
--version)
echo "1.0"
;;
--capabilities)
echo "baseline"
;;
esac