Menù Principale

Cerca
Login
Registrati
Link
<< Discussione precedente | Discussione successiva >>   
VLC vs. MPC file associations

Autore Messaggio
gibdemaffen
mar 15 giu 2010 - 14:52
online
Utente registrato #38871
Registrato il: ven 04 giu 2010 - 10:31
Messaggi: 27

Hi guys,

I discovered that the X-Mediaplayer classic is able to associate file extensions as a standalone (=you don't need to use x-cafe).

However VLC isn't capable of doing so as a standalone. Is this a fundamental problem by design or would it be possible to configure the launcher of VLC to resolve that problem?

Thanks in advance
Torna ad inizio pagina
ZioZione
mar 15 giu 2010 - 22:35
online

Utente registrato #74
Registrato il: dom 21 gen 2007 - 11:31
Provenienza: Tradate (VA)
Messaggi: 3821
Hi gibdemaffen,
VLC allows to edit Windows file associations (Tools|Preferences|Interface|Instances|Association Setup). X-VideoLAN should be able to save the file associations into registry, but only if executed as administrator. For details, see -Link- or the VideoLAN Forums -Link- but be careful, because last one refer, I think, to an installed VideoLAN copy... In fact, I have not found these keys in my registry, but the file associations are, as usual, recorded under HKEY_CLASSES_ROOT.
This means that, for creating a portable standalone associations pool you should backup all these keys. I think, a little bit too complicated... Much, much better, and easier, to delegate this task to X-Cafe!
Of course, we can investigate more deeply (maybe that X-VLC can recognize also the keys of the installed copy... these are just three paths, so could be easier to perform in the launcher), so stay tuned... Or, as usual, try yourself...
Best Regards
ZioZione
Torna ad inizio pagina
gibdemaffen
mer 16 giu 2010 - 07:17
online
Utente registrato #38871
Registrato il: ven 04 giu 2010 - 10:31
Messaggi: 27
hi zio,

thanks for the answer. since I'm running my Windows XP SP3 as an administrator this shouldn't be the problem. MPC associates without any problems and runs fluently.

Of course it would be nice if you could offer an out of the box solution for standalone X-VLC to associate files.

That would be awesome.

Many thanks in advance.

edit: made some .reg files - see below

[ Modificato mer 16 giu 2010 - 09:58 ]
Torna ad inizio pagina
gibdemaffen
mer 16 giu 2010 - 09:56
online
Utente registrato #38871
Registrato il: ven 04 giu 2010 - 10:31
Messaggi: 27
alright guys I tried something and it works really well.


Use the below .reg file to register any extension you want. Of course you need to insert the correct program paths. Furthermore you can choose your own extension name (in this case it simply displays ".avi" instead of the default "VLC media file (.avi)") - you can choose any icon you want (just point to it)



simply execute the .reg and within 1 sec you can play the choosen files. To display the file type icons however you need to restart the machine.

Windows Registry Editor Version 5.00

;MP3------------------------------------- 

[HKEY_CLASSES_ROOT\.MP3]
@="vlcmp3"

[HKEY_CLASSES_ROOT\vlcmp3]
@=".mp3"

[HKEY_CLASSES_ROOT\vlcmp3\DefaultIcon]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe,0"

[HKEY_CLASSES_ROOT\vlcmp3\shell\Open]
[HKEY_CLASSES_ROOT\vlcmp3\shell\Open\command]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe \"%L\""

;MP3-------------------------------------
;AVI-------------------------------------

[HKEY_CLASSES_ROOT\.AVI]
@="vlcavi"

[HKEY_CLASSES_ROOT\vlcavi]
@=".avi"

[HKEY_CLASSES_ROOT\vlcavi\DefaultIcon]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe,0"

[HKEY_CLASSES_ROOT\vlcavi\shell\Open]
[HKEY_CLASSES_ROOT\vlcavi\shell\Open\command]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe \"%L\""

;AVI-------------------------------------



To unregister the files simply execute the below .reg file



Windows Registry Editor Version 5.00

;MP3------------------------------------- 

[-HKEY_CLASSES_ROOT\.MP3]
@="vlcmp3"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3]

[-HKEY_CLASSES_ROOT\vlcmp3]
@=".mp3"

[-HKEY_CLASSES_ROOT\vlcmp3\DefaultIcon]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe,0"

[-HKEY_CLASSES_ROOT\vlcmp3\shell\Open]
[-HKEY_CLASSES_ROOT\vlcmp3\shell\Open\command]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe \"%L\""

;MP3------------------------------------- 
;AVI------------------------------------- 

[-HKEY_CLASSES_ROOT\.AVI]
@="vlcavi"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.avi]

[-HKEY_CLASSES_ROOT\vlcavi]
@=".avi"

[-HKEY_CLASSES_ROOT\vlcavi\DefaultIcon]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe,0"

[-HKEY_CLASSES_ROOT\vlcavi\shell\Open]
[-HKEY_CLASSES_ROOT\vlcavi\shell\Open\command]
@="F:\\Portable\\X-VideoLAN_1.0.5_rev8\\X-VideoLAN.exe \"%L\""

;AVI-------------------------------------

;General-------------------------------

[-HKEY_CLASSES_ROOT\Applications\X-VideoLAN.exe]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\X-VideoLAN.exe]

;General-------------------------------


maybe you guys could use these .regs to improve your X-VLC. would be nice.
Torna ad inizio pagina

Moderatori: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Salta:     Torna ad inizio pagina

RSS discussione: rss 0.92 RSS discussione: rss 2.0 RSS discussione: RDF
Powered by e107 Forum System