Kodi Community Forum

Full Version: [PVR] Documentation on valid values for integers passed across PVR interfaces?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any documentation floating around regarding what the valid values are for some of the integers passed across the PVR interface? I can't validate that the build of the MythTV PVR Addon has the right values for the following without trawling through the XBMC code that uses it. I'm hoping someone else might have already done the cheat sheet and can put that information somewhere.

PVR_PROGINFO
int genre_type;
int genre_sub_type;
int parental_rating;

PVR_TIMERINFO
int index;
int active;
int recording;
int repeat;
int repeatflags;

Some of the PVR interfaces have doxygen docs on the variables, which is great. Would be fantastic if that work could be extended to all of the structures.
genre_type are all the EVCONTENTMASK_* defines.
I did already some reverse engineering for both structs for my MediaPortal PVR client.

You are right about the genre type definitions.

The PVR_TIMERINFO fields are completely based on the VDR backend. The VDR documentation can be used as a guideline.

See also the comments in
https://github.com/margro/xbmc-antiquate...timers.cpp

Grt,
Marcel
I'm documenting each and every method and class property I'm touching now. I'm not using doxygen notation, but that can be changed easily later.