Failure of Play .FLAC


#1

Every attempt to play a FLAC fails with e.g.

. Cannot open file "G:\file.flac" for playing!

even though play works fine when that filepath is pasted into Windows Run.

I'm sure not everyone can be finding this! So, can anyone suggest what's up here? Thanks.


#2

Mp3tag reads HKEY_CLASSES_ROOT.FLAC for a reference to a file type that contains the default program to open the file.


#3

Explorer File Types shows FLAC open uses Winamp. Isn't that all the info mp3tag needs? Or does mp3tag need me to create a registery key manually?


#4

Which value has the entry at HKEY_CLASSES_ROOT.FLAC?


#5

HKEY_CLASSES_ROOT.flac has the value flac_auto_file .


#6

And what do you find at

HKEY_CLASSES_ROOT\flac_auto_file\shell\open\command ?

#7

HKEY_CLASSES_ROOT\flc_auto_file\shell\open\command has

Name Type Data
(Default) REG_SZ "C:\Program Files\Winamp\winamp.exe" "%1"


#8

Do you have Winamp installed in this location?


#9

Yes.

If I paste C:\Program Files\Winamp\winamp.exe into Start | Run..., Winamp launches.


#10

Do you have specified a tool for the default double-click action at Options > Tools?


#11

No.

'Use special program at double clicks' is unchecked.


#12

Can you please follow these steps:

  1. open Mp3tag
  2. select one FLAC file in the file list
  3. press Ctrl+Shift+F5
  4. double-click on the file to reproduce the behaviour
  5. press Ctrl+Shift+F8
  6. close Mp3tag
After that, please send me the file %APPDATA%\Mp3tag\Mp3tagLog.zip via email.

Thanks!


#13

Impressive - esp. the sound effects! :wink:

You have mail.

PS FWIW the (only, so far) other mp3tag user I've asked to try this reports the same failure, also on WinXP SP2.

Edit: removed email address to prevent spam

#14

According to the log it's not
C:\Program Files\Winamp\winamp.exe
but
C:\Program Files\GoldWave\GoldWave.exe


#15

Oops, sorry my mistake - you asked for

but my <{POST_SNAPBACK}> gave you

.

There's no C:\Program Files\GoldWave\GoldWave.exe so since mp3tag is looking for specifically it, that explains the failure.

Leavng the question: how come this installation of mp3tag fails to launch FLAC whereas whereas other programs e.g. Explorer succeed?


#16

I'll try to make that more reliable to the next version.

Kind regards,
Florian


#17

Perhaps ShellExecute (http://support.microsoft.com/kb/238245) is a better way to go, giving the the job of app-finding to Windows. This might be good for /t/5529/1 a) too.

Thanks again Florian.


#18

Yes, I think ShellExecute is the way to go.


#19

I've changed the behaviour with the current Development Build.

Does this resolve the issue for you?

Kind regards,
Florian