Page 1 of 1

Autostart VLC on DVD insert

Posted: 04 May 2006 15:20
by spade
Hello,

I had a different program autostart and play a DVD. After removing that program Windows 98 does't autostart a DVD anymore. I have installed TWEAKUI, but that didn't change anything. I also reinstalled VLC (0.8.4a) with file associations enabled but that did remedy the problem either.

I have searched Google, this forum, the FAQ, Wiki and the User Guide but couldn't find an answer to the question:

How can I get Windows 98 to use VLC to open a newly inserted DVD?

Kind regards,

Frank

Posted: 04 May 2006 19:11
by DJ
Try Tweak UI under My Computer > AutoPlay > Handlers

This is assuming it's there under Win 89x

However an uninstall and reinstall should have done the trick.

Other than this it would be a direct edit of the registry.

You could also check that the AutoPlay feature is turned on. Seems I remember this getting shut off allot in 98x

Posted: 04 May 2006 21:40
by spade
Thank you DJ for your reply,
Try Tweak UI under My Computer > AutoPlay > Handlers
There is no such option under Tweak UI 98.

The AutoPlay feature was turned on before I remove the other program and is turned on now. I even turned it off and on again, with no change.

How would I have to edit the registry to get Windows 98 to use VLC to autoplay a DVD?

Kind regards,

Frank

Posted: 04 May 2006 22:09
by DJ
I hate to say this but I'm running XP and this answer is going to need to come from a 98x -- Me user or at least I think this is true.

On my machine the commands are as follows:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\VLC.DVDMovie]
@="VLC DVD Movie"

[HKEY_CLASSES_ROOT\VLC.DVDMovie\DefaultIcon]
@="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\",0"

[HKEY_CLASSES_ROOT\VLC.DVDMovie\shell]
@="Play"

[HKEY_CLASSES_ROOT\VLC.DVDMovie\shell\Play]

[HKEY_CLASSES_ROOT\VLC.DVDMovie\shell\Play\command]
@="\"C:\\Program Files\\VideoLAN\\VLC\\vlc.exe\" dvd://%1"

dvd autoplay with vlc under windows 2000

Posted: 21 May 2006 16:35
by Guest
I'm using vlc 0.8.5 under windows 2000.

The registry entries described by DJ were already on my system yet inserting a dvd just gave me the "There is no Windows 2000 compatible DVD decoder installed on this system. [...]" message.

Right-clicking on a dvd gave me both "&Play" (default) and "Play with VLC media player" options.

I searched around in the registry and found that changing:

Code: Select all

[HKEY_CLASSES_ROOT\DVD\shell] @="play"
to:

Code: Select all

[HKEY_CLASSES_ROOT\DVD\shell] @="PlayWithVLC"
caused the "Player with VLC media player" option to become the default. After this change, autoplay runs vlc upon dvd insertions, showing me the main menu of dvd's shortly after I insert them.

I doubt this is the best way to do this (selecting the non-vlc "&Play" option still tells me that there's no dvd player installed), but it appears to do what I wanted.
--
some anonymous newbie

RE: Autostart VLC on DVD insert

Posted: 21 May 2006 19:08
by spade

Code: Select all

[HKEY_CLASSES_ROOT\DVD\shell] @="PlayWithVLC"
Great, that works for me too.

Thanks a bunch!

Frank

Re: RE: Autostart VLC on DVD insert

Posted: 10 Sep 2006 23:27
by fbab
Great, that works for me too.

Just a little bit of explanation for people who do not edit the registry every day :

Open notepad, paste the code below and save it under the name autostart.reg

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\DVD\shell] @="PlayWithVLC"
Then close notepad, double-click on this file that raise two dialog box :
Are you sure you want to add this information ... : click YES
Information in ... has been successfully : click OK

Then unload and reload a DVD, it should start VLC running the film.