2012-02-26, 23:45
cank Wrote:I am just learning xbmc and found your add-on. I can't seem to get it to work. when I click to run AutoRipDVD it opens both my DVD and my Blu-Ray drive even if there is media in them.
Do I need to launch AutoRipDVD in StandAlone(normal PC executable) or File Launcher (e.g. game emulator) and do I need to change any of the settings other than in the .bat file?
Let me know if a debug file is needed or if I am just dumb and missing something simple.
thanks
You need to set up Advanced Launcher to launch as a pc executable the file "LaunchAutoRipDVD.vbs"
It should only eject the drive if there is no media (or media that is not in DVD or Blu-Ray format) in the drive. It will also only default to the first dvd/blu-ray drive letter that has a disc in it and that drive letter needs to be between d and z. So if you have a drive f: and a drive h:, and media in both it will use f: If you have your drives set to a, b or c for some reason try changing the line in the .bat file where it says
Code:
For /f %%# In ('Mountvol^|Findstr [d-z]:\\') Do (
Fsutil fsinfo drivetype %%#|Find "CD-ROM">Nul&&(Set "CDROM=%%~d#"))
If Not Defined CDROM call :NoDrive
to
Code:
For /f %%# In ('Mountvol^|Findstr [a-z]:\\') Do (
Fsutil fsinfo drivetype %%#|Find "CD-ROM">Nul&&(Set "CDROM=%%~d#"))
If Not Defined CDROM call :NoDrive
If that doesn't work, try deleting the above completely from the .bat file (make a copy backup first), and find the next section that reads:
Code:
for /f "tokens=6" %%t in ('vol %CDROM%') do @set volid=%%t
echo: %volid%
and change where it says 'vol %CDROM%' to read your drive letter instead. ie. if you know your DVD drive letter is say k: then change it to 'vol K:'
If you have two drives and want to use this script for both, I would install two copies in two different directories and manually change the .bat files to point to each drive and then in Advance Launcher just call on AutoRipDVD and the other AutoRipBluRay or something.
Otherwise the script will just either only use the hardcoded drive letter you changed %CDROM% to, or using the scan method it will find the first drive with a disc in it and use that.
Hopefully this is clear, but if you have any other questions please just ask.