all you want to know is if there is a CD in the drive?
easy.. read history.txt
+ Skin Indicator; "RRMediaInserted" is true when a disc is inserted into the media drive
(must have some filesystem on it \ volume name)
note, media drive, you have to have that set too, rrconifg...