Bug in 094 DefaultIcon for .XSPF File Type

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
argb444
Blank Cone
Blank Cone
Posts: 51
Joined: 27 Nov 2007 14:47

Bug in 094 DefaultIcon for .XSPF File Type

Postby argb444 » 10 Oct 2008 21:32

Hi,

For .xspf file association, Windows registry HKCR\VLC.xspf\DefaultIcon contains a bad icon specifier string.

BAD: DefaultIcon=C:\Program Files\VideoLAN\VLC\vlc.exe --started-from-file "%1",0

SHOULD BE: DefaultIcon=C:\Program Files\VideoLAN\VLC\vlc.exe,0

-argb

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Bug in 094 DefaultIcon for .XSPF File Type

Postby Jean-Baptiste Kempf » 10 Oct 2008 21:56

I think this works for me.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Bug in 094 DefaultIcon for .XSPF File Type

Postby VLC_help » 11 Oct 2008 21:45

Code: Select all

qvReg->WriteRegistryString( s_path.append( "\\Play\\command" ).c_str(), "", str_temp.append(" --started-from-file \"%1\"" ).c_str() ); qvReg->WriteRegistryString( s_path2.append( "\\DefaultIcon" ).c_str(), "", str_temp.append(",0").c_str() );
That seems wrong, because it appends twice. (from modules\gui\qt4\components\simple_preferences.cpp)

random
Cone that earned his stripes
Cone that earned his stripes
Posts: 155
Joined: 09 Jul 2008 11:42

Re: Bug in 094 DefaultIcon for .XSPF File Type

Postby random » 11 Oct 2008 23:33

got correct VLC.xspf DefaultIcon no problem here
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe",0

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Bug in 094 DefaultIcon for .XSPF File Type

Postby VLC_help » 13 Oct 2008 14:28

random: you got correct one by using the association dialog inside VLC?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 100 guests