2019-07-10, 14:10
If you can supply as many unique genre text examples (i.e. the <e2eventdescription> values) as possible it would be easier to tell which possible solution would work best.
(2019-07-10, 10:28)phunkyfish Wrote: Ok, so it doesn't use Genre IDs at all you need to use some kind of genre text mappings. There is one implemented for Rytec which assumes the the genre text is in between square brackets.Yeah, I think what was maybe confusing me was the theme file from the Radiotimes plugin has a GenreID for each of these new genres and since they didn't appear on my STB or in Kodi inside square brackets, I just assumed (incorrectly as it turned out), that I was probably taking the right approach
In the above snippet you will see the first 3 items all map to targetId 0x10 (which is the kodi genre Movie/Drama), this is the ID that kodi understands. If the addon finds the text "General Movie/Drama" or "Film" or "Animated Movie/Drama" they will all get mapped to this ID. Make sense?
php:<mapping targetId="0x10">Movie</mapping> <!-- 0x10 Movie/Drama -->
<mapping targetId="0x10">Movie - Drama</mapping> <!-- 0x10 Movie/Drama -->
<mapping targetId="0x11">Movie - Thriller</mapping> <!-- 0x11 Detective/Thriller -->
<mapping targetId="0x12">Movie - Action</mapping> <!-- 0x12 Adventure/Western/War -->
rm $HOME/.kodi/userdata/Thumbnails/*/*.png
rm $HOME/.kodi/userdata/Database/Textures13.db