Project

General

Profile

XMLTV file is not recognized?

Added by Olli Nase about 9 years ago

Hi,

i´m trying to get XMLTV working for me............

I generate a tvguide.xml at another station and copy it to /storage.
The XML.TV file is generated by tv_grab_eu_epgdata.

My .xml looking like this:

  <channel id="sixx.de">
    <display-name>Sixx</display-name>
    <display-name>Sixx</display-name>
    <display-name>SIXX</display-name>
  </channel>

  <programme start="20151024025000 +0100" stop="20151024041500 +0100" channel="ard.de">
    <title>Hero wanted - Helden brauchen kein Gesetz</title>
    <desc>Seitdem er seine schwangere Frau bei einem Autounfall verloren hat, steckt der M..llmann Liam Case (Cuba Gooding jr.) in einer tiefen K
    <credits>

I configured tvheadend to run tv_grab_file and import my xmltv file into database.

Checking the logfile shows me, that tv_grab_file is running.

2015-10-23 10:27:55.163 [   INFO] epggrab: module eit created
2015-10-23 10:27:55.163 [   INFO] epggrab: module uk_freesat created
2015-10-23 10:27:55.163 [   INFO] epggrab: module uk_freeview created
2015-10-23 10:27:55.163 [   INFO] epggrab: module viasat_baltic created
2015-10-23 10:27:55.172 [   INFO] epggrab: module opentv-skyit created
2015-10-23 10:27:55.172 [   INFO] epggrab: module opentv-skyuk created
2015-10-23 10:27:55.172 [   INFO] epggrab: module opentv-skynz created
2015-10-23 10:27:55.173 [   INFO] epggrab: module opentv-ausat created
2015-10-23 10:27:55.173 [   INFO] epggrab: module pyepg created
2015-10-23 10:27:55.173 [   INFO] epggrab: module xmltv created
2015-10-23 10:27:55.175 [   INFO] spawn: Executing "/storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file" 
2015-10-23 10:27:55.221 [   INFO] xmltv: external socket enabled
2015-10-23 10:27:55.647 [   INFO] epgdb: loaded v2
2015-10-23 10:27:55.647 [   INFO] epgdb:   config     1
2015-10-23 10:27:55.647 [   INFO] epgdb:   channels   0
2015-10-23 10:27:55.647 [   INFO] epgdb:   brands     0
2015-10-23 10:27:55.647 [   INFO] epgdb:   seasons    0
2015-10-23 10:27:55.647 [   INFO] epgdb:   episodes   17713
2015-10-23 10:27:55.647 [   INFO] epgdb:   broadcasts 17713

but it did not find any channels .............. but a lot of episodes and broadcasts.......

Now i dont get the problem? is the format of my xmltv.file wrong?
Also the epg source field inside the tvheadend webui is still empty.......


Replies (1)

RE: XMLTV file is not recognized? - Added by K Shea about 9 years ago

First, you should disable all the grabbers you aren't using - uncheck all of the Over-the-Air Grabbers. Second, make sure you've installed and selected tv-grab-file (http://github.com/Rigolo/tv-grab-file), which must be downloaded and moved into the /usr/bin directory and made executable. Third, make sure your .xml is complete, it must have channel definitions for each channel (usually at the top of the file) in addition to programme items for each program, and there are other lines that must be at the start and end of the file as well. Fourth, in the Channels tab, make sure an EPG Source is selected for each channel - if nothing appears in the dropdowns, that's an indication that either your .xml file is missing Channel definitions or that you haven't installed tv-grab-file and selected it in the Internal Grabber section of the EPG Grabber tab. Fifth, make sure your .xml file is moved to and named ~/.xmltv/tv_grab_file.xmltv (where ~ represents the TVHeadend user, not your personal user) and that it's either owned by the TVHeadend user or is at least world-readable, so that TVHeadend can find and read it.

This may be of some help although it's primarily intended for North American users:

http://freetoairamerica.wordpress.com/2014/12/03/some-hints-for-getting-free-to-air-satellite-channels-into-the-electronic-program-guide-in-kodi-or-xbmc-or-another-frontend/

Note that after the first successful import of channel data you must refresh your browser's page (or in some cases completely close and reopen your browser) before any EPG Sources appear in the dropdowns in the Channels tab.

    (1-1/1)