Posts: 5,259
Joined: Jul 2012
Reputation:
343
How does PVR WMC get the genre and subgenre values? Reason I ask is that I am getting iGenreType in my Kodi EPG database of 15, but IIUC Kodi is using some sort of EU genretypes and the valid types are the high order 4 bits of some data byte, so must be powers of 16 (0, 16, 32 etc). So where does the value of 15 come from?
scott s.
.
Posts: 3,438
Joined: Aug 2012
Reputation:
91
Hi Scott,
Its been a long time since I looked at genres so I will need to look at the code to be remember how it goes. I know I had to create a mapping from the genres that the wmc epg uses to the ones the kodi genre/subgenre values and it was not an obvious map. I'll have to get back to you after I do a refresh.
Posts: 424
Joined: Sep 2016
Reputation:
25
Yes and for each contentsubmask too (0xF)!
HTPC: Windows 10 Pro 22H2, Zalman HD135, Intel i3-7100, GTX 1070, UHD ASUS BW-16D1HT
NAS: Xpenology 7.2 Update 1, Intel i5-6600
Posts: 3,438
Joined: Aug 2012
Reputation:
91
I guess its just a mistake on my part since I can't figure out why I initialized to the values I did (some five years ago). Its a trivial fix though to serverwmc. If you need the fix to do your development let me know.