PDA

View Full Version : Documentation for Function xbmc.getDVDState()


linuxluemmel
2009-06-09, 20:18
I see a difference between the documentation and the value
the function returns :


http://xbmc.sourceforge.net/python-docs/xbmc.html

This are the return-values inside the doc :

getDVDState(...)
getDVDState() -- Returns the dvd state as an integer.

return values are:
1 : xbmc.DRIVE_NOT_READY
16 : xbmc.TRAY_OPEN
64 : xbmc.TRAY_CLOSED_NO_MEDIA
96 : xbmc.TRAY_CLOSED_MEDIA_PRESENT


As I see the return value is diffrent in xbmc 9.04 .

0 : Drive not Ready
3 : Drive no Media
4 : Tray closed an Media present