Flac files incorrectly displayed as mp3 file type in explorer

Page 1 of 6 123 ... LastLast

  1. Posts : 106
    Windows 7 64 bit
       #1

    Flac files incorrectly displayed as mp3 file type in explorer


    OK. Having kind of a bad PC day today. I've been using a flac codec from xiph.org (has a tiny fish head icon). Tried the Winamp media player yesterday and it just wasn't for me. Long story short. Uninstalled Winamp and did a ccleaner registry cleanup. (Probably cleaned too much.) My flac files in explorer now have an mp3 logo and under the 'type' column it shows, "Mp3 Format Sound" I uninstalled, reinstalled the xiph codec and it still shows the mp3 logo and description. Funny thing is they play just fine with the xiph codec installed. Without it, no playback is possible so I know that they're still flac not mp3. These flac files were never converted but now they're labeled/displayed incorrectly as mp3 format and the tiny little xiph fish head logo is no longer there. I've tried a system restore but it didn't work. Ideas? Suggestions? Much obliged and greatly appreciated! Thanks again! Todd
      My Computer


  2. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #2

    Don't know what issues you had with using Winamp, for FLAC or other audio media formats, that you didn't like. Perhaps you didn't install it with some customized choices that would give you what you really wanted. I've been using Winamp for 15 years and would be glad to help provide some insights, both for installation and use.

    However the use of Winamp for FLAC playback doesn't involve installation of a codec (which would allow other players such as Windows Media Player to be used for FLAC). Winamp itself can simply play FLAC itself with its own built-in capabilities, and that's all I care about since the installation of Winamp associates FLAC with Winamp and that's what I want. I generally don't use WMP to play music, I use Winamp.

    Anyway, using the "Default Programs" program (from the Start menu) you should be able to set the default program associated with FLAC (forget about the icon for the moment). What program name shows there now? Do you want it to be Windows Media Player? It would have been Winamp if you'd installed Winamp and left it installed (as you can see in my screenshot below), but you can change the default program to say be WMP if you want.




    Now if you do change the default program to specify WMP for FLAC, I would think you'd then get the WMP icon for FLAC files.

    You can change the icon associated with a file type by using a nifty 3rd-party program from NirSoft, a program named FileTypesMan. This program makes it trivial to modify things in Win7 that used to be easy to modify in WinXP (e.g. file type icons) which are far more difficult and challenging in Win7.

    Assuming you have a valid "fish" ICO from your xiph FLAC codec install, you can easly use FileTypesMan to set that ICO as the associated file type icon for FLAC. Don't forget to log off/on (or re-boot) after setting it in order to see the effect of that icon change.


    But... again, I would be glad to provide any help or answer any questions you have about Winamp. I love it, including its presentation of an Album Art window (to show off my collection of high-quality 500x500 "cover.jpg" images that I have in each of my album folders). I also use a 3rd-party visualization plug-in named G-Force Platinum, that "dances along with the music, both in beat and mood".

      My Computer


  3. Posts : 85
    Win 7 Pro x64
       #3

    This is to confirm what dspreber has said. Both the "File Type" description and the icon used in the listing are determined by the program associated with the file extension.
      My Computer


  4. Posts : 14,606
    Microsoft Windows 7 Home Premium 64-bit 7600
       #4

    also you could try rebuilding the icons cache.

    Icon Cache - Rebuild - Windows 7 Forums
      My Computer


  5. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #5

    boohbah said:
    also you could try rebuilding the icons cache.

    Icon Cache - Rebuild - Windows 7 Forums
    I've used this process (manually entered using a command-prompt as follows, not through a BAT file which I wasn't able to get to work for me... perhaps because I thought it was shutdown /r /t 0 in that last line):
    taskkill /IM explorer.exe /F
    CD /d %userprofile%\AppData\Local
    DEL IconCache.db /a
    shutdown /r /t 0
    But on a number of occasions the "DEL iconcache.db /a" failed because the file was claimed to be "not found". Looking deeper, the "H" (hidden) attribute was on for the file and I had to un-hide it in order to delete it.

    However even after deleting the file and then rebooting, the re-boot did not rebuild the iconcache.db file for some inexplicable reason!

    Almost always the above commands and the re-boot works perfectly. But again, every so often it doesn't work and I have to be "creative" to get iconcache.db to be rebuilt correctly by the system (even when it didn't get rebuilt automatically by the re-boot even after deleting it).

    I've learned that a way to guarantee and force Windows to rebuild iconcache.db is to change the display properties color characteristics:

    (1) right-click on desktop, select "Screen resolution", click on "Advanced settings" to get your display driver's properties/setup dialog, select "monitor" tab or wherever your "colors" item lives, change from "true color (32-bit)" to "high color (16-bit)", and OK all the way back out.

    (2) re-boot. The change in color from 32-bit to 16-bit will force Windows to re-build iconcache.db automatically.

    (3) repeat the (1) process but this time going from 16-bit back to the original 32-bit color.

    (4) re-boot. Again, the change in color from 16-bit to 32-bit will again force Windows to re-build iconcache.db automatically.

    This color-depth change "trick" method to trigger Windows itself to automatically do the iconcache.db re-build seems to work 100% reliably, even if the earlier command method described in the forum tutorial inexplicably fails occasionally (as it has for me several time) as I've described.
      My Computer


  6. Posts : 14,606
    Microsoft Windows 7 Home Premium 64-bit 7600
       #6

    clever workaround ,thanks for the tip
      My Computer


  7. Posts : 106
    Windows 7 64 bit
    Thread Starter
       #7

    Here's a couple of screenshots. I have maybe 5% or so of my music files in a flac format. It makes it a lot easier to discern between mp3 and flac. Here's is what it looks like now:

    Flac files incorrectly displayed as mp3 file type in explorer-flac-screenshot.png

    Here's the xiph.org icon.

    Flac files incorrectly displayed as mp3 file type in explorer-flac-screenshot-2.png

    This was once a part of all my flac files and now it isn't. When I first installed the xiph codec, this was attached by default to all flac files. (I only had one at the time because I was just beginning to use flac.) Any other flac files that were either ripped or downloaded had this by default. vNow I have them listed as, "MP3 Format Sound". What? Before there was no mention of mp3. They have the .flac extension and only playback in WMP using the xiph codec, so there is NO WAY these files have anything to do with mp3. What happened?
      My Computer


  8. Posts : 106
    Windows 7 64 bit
    Thread Starter
       #8

    OK. Downloaded FileTypesMan. Now, how do I use it?

    It's pretty wide so it'll take two screenshots.

    Flac files incorrectly displayed as mp3 file type in explorer-filetypesman1.png


    Flac files incorrectly displayed as mp3 file type in explorer-filetypesman2.png

    Your assistance is greatly appreciated. Thanks!
      My Computer


  9. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #9

    Gums said:
    Here's a couple of screenshots. I have maybe 5% or so of my music files in a flac format. It makes it a lot easier to discern between mp3 and flac. Here's is what it looks like now:

    Flac files incorrectly displayed as mp3 file type in explorer-flac-screenshot.png
    If you could spread that first column so that the complete file name and extension is visible in the screenshot, that would be most helpful. I'd like to see if you have all FLAC or a mix of MP3 and FLAC, or what. Seeing the full name and extension would clarify things.

    For example, here's one of my album folders containing BOTH MP3 and FLAC files. Since I have Winamp installed and set (during the Winamp install) to be the default player for both file types, its icon shows at the left for all MP3 and FLAC files in this folder.



    Also, I'm interested in seeing seeing what your default programs are that are associated with FLAC and MP3. That's not shown by Explorer, but rather by using the Default Programs program.

    For example, here are my Default Program entries for both FLAC and MP3, that I'd like to see in your system. Again, for me both of these show that Winamp is the default program associated with each file type. I'd like to see what it is on your system.



      My Computer


  10. Posts : 2,752
    Windows 7 Pro x64 (1), Win7 Pro X64 (2)
       #10

    Gums said:
    Here's the xiph.org icon.

    Flac files incorrectly displayed as mp3 file type in explorer-flac-screenshot-2.png
    Well, that may be the icon associated with the EXE itself, assuming the "application" shown is actually an EXE file, which is not visible since I think you still have "hide extensions for known file types" checked in your Folder Options -> View". I find it very useful to UN-CHECK this option, so that I can see the full file name and extension of ANY FILE I look at (or take a screenshot of).

    Is that an actual EXE? For the installer file? Or is there actually an executable program that runs somehow, somewhere, sometime?? Seems mysterious. With Winamp as the default program associated with FLAC files, the Winamp icon is shown for FLAC files because that is exactly how Windows works. But XIPH is not a "player" I don't think, so I don't know what this thing is that you've taken a screenshot of and which has this icon?

    To associate a different icon with a file type, other than that of the associated default program (e.g. using FileTypesMan, or other well-known but involved Windows Registry hacks) you need an actual ICO file. So you'd need to extract that icon from within that EXE file and save it as an actual ICO file. There are a large number of free and non-free products out there to extract icons from within an EXE, and save it as an ICO.

    However, looking more closely at what FileTypesMan shows on my setup as the default icon for FLAC, it's specified as: c:\Program Files (X86)\Winamp\winamp.exe,3 so it would appear you can point directly to an EXE file (at least in windows) and there will automatically be a Windows-implemented extraction of the imbedded icon whenever needed in Explorer. In the case of Winamp, there were a set of possible icons the user could choose between, and I'm guessing that the ",3" suffix implies the third of the set of icons.

    Anyway, maybe you can simply point to that XIPH.ORG EXE file and let Windows pick up its icon... using FileTypesMan.
      My Computer


 
Page 1 of 6 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:46.
Find Us