NextPVR and Kodi Add-on have are using different colors for guide
#1
I apologize if this is answered somewhere, it's been nearly a week and I can't seem to find the answer.

My problem is that I updated the EPG colors to something that I wanted, and on my NextPVR web it shows up exactly how I want now. I did the edit of the genre-mapping.xml and genre.css files, restart the nextpvr service and voila!

Now I went in to Kodi and had it clear the EPG Guide data and I get colors but they look to be the old colors still, almost like the colors are cached or stored.

I want to be clear, this is not a mapping issue. I got colors, they just are not the updated colors. For instance, I changed News genre from the green shade it was to a grey shade now. In my web view of NextPVR Guide, I see the grey; in Kodi it still shows as green.

I have even checked the "Epg16.db" file and verified the iGenreAccount and sub-account values are matching up exactly as they should. I even checked on NextPVR web view and verified the class calls for the TD element are properly correct.

I'm at a complete lost as to how Kodi determines the Genre Class # 80 is green, not the Grey I now have in Genre.css

Lastly, I cleared my web browsers cache (both Chrome and FireFox) and that didn't fix Kodi. Again, in NextPVR Web view it's fine.

Below is an image example, on the left is NextPVR Guide on Web (Correct colors) and right side is Kodi's guide (wrong colors).

If you compare channels # 2 & 3, both news categories, you will see the difference immediately.

I will greatly appreciate anyone who can help me. I won't be surprised if it turns out the Genre Class color values are hard coded somewhere and I'm doing something that's impossible, seems to be my specialty lately to try to do the impossible.
 
https://www.dropbox.com/scl/fi/e170ama4z...u2g41&dl=0

I'm on following versions, if it helps:

NextPVR: 6.1.5.231022
Kodi: 20.5
Kodi Add-on: "NextPVR PVR Client v20.4.3 by Graeme Blackley"
Reply
#2
The colours in Kodi are mapped by Kodi core by genre type.  They don't use the NextPVR colours.

Martin
Reply
#3
Thank you for that response Martin.

I'll re-adjust my aim to use the core values. Is there a reference I can refer to so I can figure out what colors/type I want for each Genre?

Example, if I want cooking genre to be brown(ish), it would be great to have a reference to know what Genre Class to refer to that is Kodi compatible.
Reply
#4
The OTA genres are shown here https://forum.kodi.tv/showthread.php?tid...pid1250345  Kodi EPG uses the major number in that table to provide colouring.   For Estuary they are compiled into media/Textures.xbt from these https://github.com/xbmc/xbmc/tree/master...epg-genres other skins will be different too.

NextPVR uses a table  genre-mapping.xml to map some common non-OTA genre to those 16 codeg  The pvr.nextpvr client also allows you to use mapped text to OTA, the advantage with OTA text is they are translated.  Either way the major colour is transferred.

If you manually edit any files in NextPVR save them since they get overwritten on an update.

Martin
Reply

Logout Mark Read Team Forum Stats Members Help
NextPVR and Kodi Add-on have are using different colors for guide0