xmltv does not work for me (solved)
Added by Markus Wittenberg about 9 years ago
Dear all
I'm sorry, but XMLTV does not work for me, using tvheadend 4.0.7. I'm trying now since a couple of days. EPG OTA works fine, but doesn't show subtitle information.
When I try to use XMLTV, all methods (internal with tv_classic_search_ch, internal with tv_grab_file, external) don't show data within tvheadend. Electronic Program Guide tab is empty. :-(
My test configuration just includes 5 channels to speed up the test runs. Using internal configuration: XMLTV: Switzerland (tv.classic.search.ch):
2015-11-05 17:54:04.388 /usr/bin/tv_grab_ch_search: grab /usr/bin/tv_grab_ch_search
2015-11-05 17:54:04.392 spawn: Executing "/usr/bin/tv_grab_ch_search"
2015-11-05 17:54:05.764 spawn: using config filename /home/hts/.xmltv/tv_grab_ch_search.conf
2015-11-05 17:54:06.338 spawn: getting list of channels: ##################################################
2015-11-05 17:54:11.786 spawn: grabbing channels : ################
2015-11-05 17:55:20.164 /usr/bin/tv_grab_ch_search: grab took 76 seconds
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: parse took 0 seconds
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: channels tot= 5 new= 0 mod= 0
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: brands tot= 0 new= 0 mod= 0
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: seasons tot= 0 new= 0 mod= 0
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: episodes tot= 0 new= 0 mod= 0
2015-11-05 17:55:20.174 /usr/bin/tv_grab_ch_search: broadcasts tot= 0 new= 0 mod= 0
Channels 'EPG Source' seems to be set correctly, like: "XMLTV: ARD (ard.search.ch)".
When I run 'tv_grab_ch_search --output tv_grab_file.xmltv' manually, I get data for the 5 selected channels.
Could it be that the produced output is somehow incompatible wth tvheadend? Until now I used xmltv with mythtv since a couple of years.
Thanks and regards
Markus
Replies (1)
RE: xmltv does not work for me - Added by Markus Wittenberg almost 9 years ago
Ok, found the solution by my self ==> tv_sort.
The XML TV data I was reteiving had no stop="" time information. For testing I added one manually and the programm was listed correctly within tvheadend after importing.
'tv_sort --output out.xmltv tv_grab_file.xmltv' adds the missing stop entries and then importing into tvheadend with 'cat out.xmltv | socat - UNIX-CONNECT:/home/hts/.hts/tvheadend/epggrab/xmltv.sock' works fine.
Regards
Markus