Kodi Community Forum

Full Version: Genre will not be displayed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

If I goto epg details, i dont get the genre information as wmc.
Its only unknown.
Hi Heiko,

Is the epg display color coded, or are all the colors the same? What version of kodi are you running?
(2015-07-13, 01:53)krustyreturns Wrote: [ -> ]Hi Heiko,

Is the epg display color coded, or are all the colors the same? What version of kodi are you running?

No color, no genre.

It is on both machines:
Raspi: OpenELEC (Milhouse) - Version: devel-20150712222647-#0712-ga7bea58 [Build #0712] 6.0, kernel: Linux ARM 32-bit version 4.1.1
http://pastebin.com/6YwkjNMB
Android: Android 5.0.2 API level 21, kernel: Linux ARM 32-bit version 3.4.0-4719750
http://pastebin.com/jDEiqqv1

.. and I use the last ServerWMC-Testbuild 1201

THX
Sorry I made a mistake, the color coding also depends on what skin you are using.

To debug this I need the serverwmc log, but you need to generate it in a special way. Here are the steps:

1) start serverwmc
2) start a client and wait for the client to finish downloading the guide data
3) quit the client
4) quit serverwmc (since I need to have the debug info serverwmc prints when it is shutting down)

Then post the serverwmc log from this run on pastebin. One way to get this log is to go to:
%programdata%\VDsoftware\ServerWMC and list the newest log.
Hello,

I hope it's the correct log.
http://pastebin.com/TBN3vptm

ooh, I see:
Code:
2015/07/15 19:36:42.627 ListMissingGenres> Total count of genre look-ups: 22.187
2015/07/15 19:36:42.627 ListMissingGenres> Missing genres:
2015/07/15 19:36:42.627 ListMissingGenres>   Keyword: '|Telenovela (Serie)|', count: 830
2015/07/15 19:36:42.627 ListMissingGenres>   Keyword: '|Doku-Soap|', count: 1.601
2015/07/15 19:36:42.627 ListMissingGenres>   Keyword: '|Nachrichten|', count: 1.052
2015/07/15 19:36:42.627 ListMissingGenres>   Keyword: '|Comedyserie (Serie)|', count: 1.203
2015/07/15 19:36:42.627 ListMissingGenres>   Keyword: '|Sitcom (Serie)|', count: 584

THX
As you probably guessed, the problem is with the German language genre keywords, which is hard for me to debug since I only have access to English guide data. I would really like to solve this though, so I PM'd you a test build. If you have time, follow the instructions in the message and post the log when you have it. Thanks.
Hello krustyreturns,

I'm the developer of the tool KissCon Heiko123 is using for his EPG. The tool (KissCon) extracts the epg-data out of an access-database and creates an XMLTV-file out of it.
My tool is optimized for DVBLink. In DVBLink there is a Genre-Mapping-File called 'xmltv_categorymap.xml'. DVBLink is using that file to flag every show with the corresponding WMC-Genre like 'movie, series, thriller, ...'

Heiko123 send me the 'GenreDict.xml'. Are these the genres Kodi is using internally? Is there any Mapping-File like in DVBLink? Or should I replace the german Genres with the corresponding one's of Kodi?

Thx Lux
Hi Datalux,

Thanks for jumping in! Yes, the file 'GenreDict.xml' maps the common wmc genre names (English ones only, since that's all I can work with) to the genre codes kodi uses.

In the database wmc uses for a 'Program' entry, it typically specifies the genre using a list of Keyword objects, that's where the genre strings above come from. However, each program entry also has a long list of of booleans like IsMovie, IsSeries, IsThriller, IsComedy... - is that what you are referring to in your post? If so, that may be the problem.
@Datalux,

Forget my last post, that can't be the problem. I gave Heiko123 a way to set the genre codes himself based on the keywords he gets from your data. Hopefully that will solve it.
@krustyreturns

I got the complete file from Heiko123. I think I know how it could work. Is it possible that the value of each genre is a bit-coded value? That means that for example the genre 'Adventure' has bit 2 (value:4) and 3 (value:8) set? So every value would be a combination of Bits that represent some internal genre. Like the boolean Flags 'IsMovie, IsSeries, ...' of a 'Program'.

If thats how it works, all I have to know, is which Bit represents which genre. Than I could generate the GenreDict.xml with my Tool.
Sort of. This document describes the codes kodi is expecting for pvr, the hi order 4 bits are the genre code, the low order 4 bits are the subgenre.

https://github.com/margro/xbmc-pvr-addon...lation.xml
Here you can see a small difference.

Picture DVBLINK:
http://imgur.com/agfMxM3,ri1OkKc

Picture SERVERWMC
http://imgur.com/qWSX3w6,5my3gTc
The difference is dvblink is using datalux's strings, but Kodi is using its own genre string based on the codes you provide through the xml file you edited.
I think I have every information I need. I will implement an editor to generate the GenreDict.XML like I did with the DVBLink-Mapping.
Do I have to put the generated file somewhere into a directory of Kodi? Or is there some kind of pickup-service built in Kodi for that file?
Hey Lux,

I looked, but don't find anythings in registry.
So, that you must get the following path: %ProgramData%\VDsoftware\ServerWMC within file: GenreDict.xml

Attention: This file is only on the Master-MCE-Machine, so that you have change one file. :-)
Pages: 1 2