2010-06-16, 18:28
linuxluemmel Wrote:I saw that the xbmc function did return value 3 .....
Did you insert a dvd ?
I can do what I want ... the python code allways have a return value 3 ...-(
this would be the same problem I have
http://forum.xbmc.org/showthread.php?tid=75584
no dvd/cd in ma dvdrom, but i tested on my win32 and work for 3 diff state
but the values in doc is not ok for windows but ok for xbox
PHP Code:
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
example:
- dvdstate = xbmc.getDVDState()