Auto CD / DVD Insert with definable actions
Note: his has turned into a beta, as the script evolves to add more functionality and features from this thread. If you use this, pop in now and then to get the latest version.
Basically this is a stand alone exe file, that you can start when Road Runner is launched. It will monitor your CD/DVD Drive in the background. If you put in an Audio CD, one action is taken, and another if a DVD is inserted.
The actions taken are set up in the .ini file. You can use any Road Runner command. If you put a CD in, you can have it go to the CDRip screen if you wish.
With the default ini settings, when a Audio CD is inserted, it will load the songs from the CD to a playlist, and then go to the audio screen, and automatically begin playing. The same goes for the DVD.
When the disk is removed, it will continue to watch for another disk to be inserted.
If a CD/DVD is in the drive when Road Runner is loaded, it will just ignore it. If you leave an disk in the drive, I personally do not want it to start playing every single time Road Runner is started :)
YOU MUST change your CD/DVD drive letter in the ini initially to match the drive letter on your system.
Just place the AutoLaunch.exe and the AutoLaunch.ini in any directory that you want, and have it either start with the computer, or when RR starts. It is very CPU friendly! It will use less than 1% of your CPU cycles while it is running in the system tray.
CAUTION: If you start this with ONSKINSTART in the exectbl, the skin will load a second instance of the script with a RELOADSKIN command, so do try to avoid using this if you use an RELOADSKIN command in your skin to change background colors and the likes.
- I added code to save the playlist when a CD is inserted, and it will reload that playlist when the CD is ejected.
- It will now turn on and off 2 different indicators if a CD or DVD is in the drive. the indicator names are:
- When a CD is now ejected, it will return the the song that was playing, and the position the song was at.
- Delay timer set in the INI files to tweak it to slower, average, and faster CarPC's