XBMC Community Forum
[PVR] Documentation on valid values for integers passed across PVR interfaces? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: [PVR] Documentation on valid values for integers passed across PVR interfaces? (/showthread.php?tid=90724)



[PVR] Documentation on valid values for integers passed across PVR interfaces? - dteirney - 2011-01-16 12:02

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.


- dteirney - 2011-01-17 11:27

genre_type are all the EVCONTENTMASK_* defines.


- margro - 2011-01-18 23:35

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-antiquated/blob/master/xbmc/pvrclients/MediaPortal/timers.cpp

Grt,
Marcel


- opdenkamp - 2011-01-18 23:45

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.