2015-08-15, 20:57
Recently I've been working getting epg xml data into kodi, which works like a charm,
but for the categories with colour coding.
The problem is finding out how they get matched, from what I researched they should match the strings used for tvheadend, being listed here;
https://github.com/tvheadend/tvheadend/b.../src/epg.c
lines 1951 to 2097
However, most programs get unknown tags and no colour, obviously they don't get matched but for a selected few.
I did find the strings here; https://raw.githubusercontent.com/xbmc/x...strings.po
String id's 19499 to 19684 are being used.
Comparing these string id's I also found some strings not being used by tvheadend but available to me by my source, mainly subcategories.
From what I take ./xbmc/epg/Epg.cpp matches these strings and it's not really clear to me from the script how it does it.
So anyone can you point me in the right direction? with all the above info it should be fairly simple yet I must miss a small piece of the puzzle.
This is a working example for me -> <category>Documentary</category> -> <string id="19519">
but for the categories with colour coding.
The problem is finding out how they get matched, from what I researched they should match the strings used for tvheadend, being listed here;
https://github.com/tvheadend/tvheadend/b.../src/epg.c
lines 1951 to 2097
However, most programs get unknown tags and no colour, obviously they don't get matched but for a selected few.
I did find the strings here; https://raw.githubusercontent.com/xbmc/x...strings.po
String id's 19499 to 19684 are being used.
Comparing these string id's I also found some strings not being used by tvheadend but available to me by my source, mainly subcategories.
From what I take ./xbmc/epg/Epg.cpp matches these strings and it's not really clear to me from the script how it does it.
So anyone can you point me in the right direction? with all the above info it should be fairly simple yet I must miss a small piece of the puzzle.
This is a working example for me -> <category>Documentary</category> -> <string id="19519">