Posts: 55
Joined: Oct 2004
Reputation:
0
I am using the mp tv server and pvr plugin. All works fine but despite checking the box to read epg genre strings and my skin (Titan) supporting this no colours come through. I have my categories mapped within mediaportal tv server and am using djblu tv server to auto grab UK epg from the dvb feed.
Should this work with mediaportal and Kodi?
Posts: 515
Joined: Sep 2012
Reputation:
1
I did enable in Kodi and also restarted Kodi, but nothing.
Is this working for you without any issue? I don't have a genre_translation.xml file nowhere, or I don't even need it?
Posts: 515
Joined: Sep 2012
Reputation:
1
I'll try again when at home, but I already deleted EPG data in Kodi and in MP TV Server too, didn't help.
I rely on my DVB-S provider, but as you can see, it does transmit genre data.
Can you send me a working xml file and direct me where should I put it (Linux)? Was it there by default or you had to create the file too?
Posts: 33
Joined: Jan 2015
Reputation:
1
Margo, would it be possible to have a downloadable version of your genre translation file.
I'm struggling to get anywhere with the colour coded EPG at the moment, I'm using the sky EPG grabber by djblu in media portal
Thanks
Andy
Posts: 883
Joined: Oct 2009
Reputation:
37
margro
Posting Freak
Posts: 883
The link is pointing to a downloadable version (just use the 'raw' button) but it won't help you to just download that file. Your existing installation should already have this file. Find it and extend it accordingly.
The problem with EPG grabbers is that they can basically provide any genre string even in local languages. The default XML file only used offical DVB strings.
To add a non-standard genre, find a line with an official string that corresponds to your genre string and copy that line and modify the genre name.
E.g to support a genre like 'sports', copy the
<genre lang="en" type="0x40" subtype="0x00">sports (general)</genre>
line and add your custom line below resulting in:
<genre lang="en" type="0x40" subtype="0x00">sports (general)</genre>
<genre lang="en" type="0x40" subtype="0x00">sports</genre>
The type+subtype numbers will tell Kodi the genre category and therefore select a particular color.
Note that not every skin might support a color-coded EPG, so it is wise to test it first using Confluence
Posts: 55
Joined: Oct 2004
Reputation:
0
I am using openelec on a chromebox - I don't think I can mount the required folder as writable to be able to make these edits - is there any other way to insert this file in this instance?
Posts: 1
Joined: Mar 2015
Reputation:
0
2015-03-17, 14:11
(This post was last modified: 2015-03-17, 14:42 by kafferejsarn.)
I have the same issue.
I have managed to fix the genre type for e.g. "movies" but I cannot make it for "Children's"
Probably a problem with the apostrophe (or whatever the little tick is called in english)
The following line is reported in the log:
13:09:33 T:1743778832 DEBUG: AddOnLog: MediaPortal PVR Client: EPG: No mapping of 'Children's' to genre type/subtype found.
The following changes has been added to /usr/local/share/kodi/addons/pvr.mediaportal.tvserver/resources/genre_translation.xml:
<genre lang="en" type="0x50" subtype="0x00">Children's</genre>
But I still got the DEBUG message regarding "No mapping..."
Any suggestion of what to do?
[EDIT]: The problem was not the apostrophe but the capital C in Children's...
I have also mapped 'reserved' and '-' to type 0xF0 in lack of a better alternative...