PDA

View Full Version : Detect DVD ROM letter in Girder



choco140
April 11th, 2004, 10:48 AM
I got two DVD drives in my computer, and I would like to make Girder detect which one contains a DVD and return the drive letter (e.g. E for E:\).

In other words, if I put a DVD in, let's say, D:, then run a script/command in Girder which then returns D as a variable. And if two DVD are inserted in D: and E: (the second drive), Girder returns the first one (i.e. D) and finally E if only a DVD is put in E:\...

Last thing is there any way to only detect DVDs and not CDs. Not easy, isn't it :-? ?

Haddood
April 11th, 2004, 12:29 PM
hi
this can be done if WMP is running with DVD Spy plug in, use the logging plugin to check the messages post by DVD Spy to WMP, first it will give Disc.Insert event string then check the status or track url ...

Promixis
April 11th, 2004, 12:36 PM
DVD Spy is what you need - NOTE: It doesn't require the use of WMP.

choco140
April 12th, 2004, 01:21 PM
A small LUA script and DVDSpy Disc.contents events did what I was looking for.

Thanks :D