(2020-05-08, 10:31 AM)Graham Wrote:Yep, sorry. That is where I added them. I had been looking at the EIT Categories.cfg file (part of the EPG Collector app) and for some reason used that filename in the post. Be assured that I did add them to the correct file (completely different content), but still no joy.(2020-05-07, 02:32 PM)mvallevand Wrote: Adding these to the program/data/genres-mapping.xml file should get colours working for you,
Code:<genre name="Series" type="48" subtype="0"/>
<genre name="Leisure and Hobbies" type="160" subtype="0"/>
<genre name="Arts and Culture" type="112" subtype="0"/>
<genre name="Social and Political" type="128" subtype="0"/>
<genre name="Sport" type="64" subtype="0"/>
<genre name="Childerens Programmes" type="80" subtype="0"/>
<genre name="Education and Science" type="144" subtype="0"/>
<genre name="Music and Dance" type="96" subtype="0"/>
<genre name="News and Current Affairs" type="32" subtype="0"/>
(2020-05-08, 09:49 AM)jordy1955 Wrote: I have added the lines to EIT Categories.cfg, I even put them in order with the other entries - stlll no genre colors
If I might be so bold as to transcibe Martin's shorthand ... "program/data/genres-mapping.xml" equals ... "C:\Program Files\NextPVR\data\genres-mapping.xml" ...
2020-05-08, 01:16 PM
Only in Windows. It is different on every other OS's and it is not documented on the wiki. Editing one file is quite difficult in docker which is why I suggested that sub move it to the user folder.
Martin
2020-05-08, 02:54 PM
(2020-05-08, 01:16 PM)mvallevand Wrote: Only in Windows. It is different on every other OS's and it is not documented on the wiki. Editing one file is quite difficult in docker which is why I suggested that sub move it to the user folder.Not quite sure exactly what you are saying here Martin. For the record, I'm running Windows 10pro I have added your Genre code to "C:\Program Files\NextPVR\data\genre-mapping.xml" but it has not made any difference to the Genre Colouring in the Guide (neither the App itself or the Web page) - It simply does not work. @sub any comments/ideas? thanks jordy
2020-05-08, 02:57 PM
Did you restart the NextPVR service after making the change.
Martin
2020-05-08, 04:00 PM
Can anyone point me to a complete list of Category Types and Subtypes please? I'm going to try and build a custom genre-mapping file - there are so many inconsistencies between NextPVR and EPG Collector...
And for the record I use EPG Collector for it's ability to edit Program names / Movie titles in order to comply with TVDB/TMDB entries and get the correct Images and metadata. TV stations in Australia are pathetic in their attempts to correctly name their offerings... thanks jordy (2020-05-08, 02:57 PM)mvallevand Wrote: Did you restart the NextPVR service after making the change.Martin, didn't know that it was necessary, but I honestly can't remember if I did or not. I did restart the app many times which obviously didn't help. Anyway, i just restarted the service and then ran "Update EPG" from the Web page. No change in the App but I finally got genre coloring in the Web page. Note: Adding the correct categories to the Emby v5 plugin has no effect - still no coloring in the Emby guide. Thanks jordy
2020-05-08, 04:13 PM
For genre colouring only the first text value is used so the update I gave you should be complete.
For colours focus on the subtype=0 in the first section for standard DVB mappings. The DVB spec for OTA is here FWIW https://www.etsi.org/deliver/etsi_en/300...11101p.pdf I wouldn't customize at this point (I learned the hard way) until sub moves it to to NPVR-data. Martin
2020-05-08, 04:17 PM
You probably forgot that NextPVR web is browser based and didn't use CTRL-F5 to refresh the page after making the changes. Updating the EPG is not necessary.
Emby colouring is completely independent, you have to manually add your text values to the Emby groups (via the NextPVR plugin settings) to get the EPG colours. Martin
2020-05-08, 04:30 PM
(2020-05-08, 04:13 PM)mvallevand Wrote: For genre colouring only the first text value is used so the update I gave you should be complete.Excellent, saved me some heartache by the sounds of it. Thanks Does the First Text value also apply to the Emby plugin for coloring? I have entered a couple of "types" that match NextPVR categories but no colors in the guide yet... might have to ask @emveepee in the emby forums, he seems to be the man there. cheers for the help jordy
2020-05-08, 04:45 PM
I am @emveepee I was going to use that here when I registered but in 2006 but I was coming from mvpmc where is I was mvallevand so wanted to avoid confusion. Now I wish I was emveepee here too.
The Emby and jellyfin plugins use all the categories but you have to enable the guide colouring and add the exact text categories not the mapped values from the xml files in the plugin settings. Martin |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Web App Genre Colors | jrockow | 5 | 505 |
2024-01-03, 08:30 PM Last Post: jrockow |
|
Shows scheduled to record aren't colored in guide unless genre colors disabled | 4zm4r3d02 | 4 | 2,098 |
2020-04-16, 11:35 PM Last Post: mvallevand |
|
Genre Color | jrockow | 3 | 997 |
2020-03-25, 11:26 PM Last Post: mvallevand |