Possible to display MP3 embedded thumbnails?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Possible to display MP3 embedded thumbnails?

Post by raccoon »

Is it possible to have Everything display mp3 album cover thumbnails while in Thumbnail View?

ffprobe example

Code: Select all

Input #0, mp3, from 'filename.mp3':
  Metadata:
    encoder         : Lavf58.76.100
  Duration: 00:03:39.79, start: 0.023021, bitrate: 187 kb/s
  Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.13
  Stream #0:1: Video: png, rgb24(pc), 1280x720, 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      title           : "Album cover"
      comment         : Other
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to display MP3 embedded thumbnails?

Post by void »

Everything should do this already.

Do thumbnails work for mp3 files in Windows Explorer?

Please make sure Windows Property Thumbnail Handler is installed correctly for .mp3 files:
  • From the Start menu, search for: regedit
  • Right click Registry Editor and click Run as administrator.
  • Navigate to:
    HKEY_CLASSES_ROOT\.mp3\ShellEx
  • On the left, create the following key:
    {BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}
  • Inside this new key, on the right, set (Default) data to:
    {9DBD2C50-62AD-11D0-B806-00C04FD706EC}
Please make sure you are using the x64 version of Everything.
Please make sure Everything is running as a standard user.



You may need to install a third party thumbnail handler for .mp3 files.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Possible to display MP3 embedded thumbnails?

Post by raccoon »

I did as you said and rebooted but no love. The key '{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}' already existed and so I set its default value from empty to '{9DBD2C50-62AD-11D0-B806-00C04FD706EC}'. I guess Windows 7 may not have a handler for this, or I managed to disable it after so many years.

Similarly I've found that I cannot do content searches for PDF files in Win 7, even after installing FoxitPDFReader and Adobe's PDFFilter64Setup.msi
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Possible to display MP3 embedded thumbnails?

Post by NotNull »

void wrote: Thu Jan 05, 2023 11:29 pm On the left, create the following key:
{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}
Isn't {BB2E617C-0920-11D1-9A0B-00C04FC2D6C1} the 'category' for Preview handlers?
Or does Everything use the previews to generate thumbnails?


I would expect the Thumbnail handler 'category' here: {e357fccd-a995-4576-b01f-234630154e96}
Here (Win11) it set to {9DBD2C50-62AD-11D0-B806-00C04FD706EC} (Property Thumbnail Handler, shell32.dll)
horst.epp
Posts: 1453
Joined: Fri Apr 04, 2014 3:24 pm

Re: Possible to display MP3 embedded thumbnails?

Post by horst.epp »

Here under Windows 11 it looks like this and displays mp3 thumbnails in all sort of tools
Explorer
Everything
Free Commander
Total Commander
XYplorer

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mp3]
@="mplayerc64.mp3"
"Content Type"="audio/mpeg"
"KLCP.bak"="WMP11.AssocFile.MP3"
"KLCP.hkcu.bak"="VLC.mp3"
"PerceivedType"="audio"
"VLC.backup"="WMP11.AssocFile.MP3"

[HKEY_CLASSES_ROOT\.mp3\OpenWithProgids]
"AppXje1yfpbq840nvc3prwa53vknqsk55vha"=hex(0):
"WMP11.AssocFile.MP3"=hex(0):

[HKEY_CLASSES_ROOT\.mp3\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.mp3\ShellEx]

[HKEY_CLASSES_ROOT\.mp3\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{031EE060-67BC-460d-8847-E4A7C5E45A27}"

[HKEY_CLASSES_ROOT\.mp3\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{c5aec3ec-e812-4677-a9a7-4fee1f9aa000}"

[HKEY_CLASSES_ROOT\.mp3\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{c5aec3ec-e812-4677-a9a7-4fee1f9aa000}"


asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: Possible to display MP3 embedded thumbnails?

Post by asamirid »

the mp3 display it's thumbnails by default since i started to use everything

no settings required at all ..

i think the problem comes from ur OS and some windows explorer and handlers modifications

here is a screenshot of my system displaying the mp3 files in thumbnails view ..
Capture.JPG
Capture.JPG (343.65 KiB) Viewed 3052 times
therube
Posts: 5003
Joined: Thu Sep 03, 2009 6:48 pm

Re: Possible to display MP3 embedded thumbnails?

Post by therube »

Win7 here.
And I typically never mess with such stuff (Windows Exporer, Windows Media Player, thumbnails...).
But surprisingly it did work on my end.
(Registry settings already existed, no changes on my end. And there would have been nothing that I would have done in this respect at any point in time.)

Didn't even know I had any mp3 with thumbs.
So first I added a thumb to a mp3.
Then I realized the mp3 I chose already had a thumb in it.
.
Everything displays album art in mp3 in Win7.png
Everything displays album art in mp3 in Win7.png (36.68 KiB) Viewed 3047 times
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to display MP3 embedded thumbnails?

Post by void »

{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} is the IExtractImage handler.
{E357FCCD-A995-4576-B01F-234630154E96} is the IThumbnailProvider handler.
{9DBD2C50-62AD-11D0-B806-00C04FD706EC} is shell32.dll



Please make sure Windows Property Thumbnail Handler is installed correctly for .mp3 files:
  • From the Start menu, search for: regedit
  • Right click Registry Editor and click Run as administrator.
  • Navigate to:
    HKEY_CLASSES_ROOT\.mp3\ShellEx
  • On the left, create the following key:
    {E357FCCD-A995-4576-B01F-234630154E96}
  • Inside this new key, on the right, set (Default) data to:
    {9DBD2C50-62AD-11D0-B806-00C04FD706EC}


If that doesn't help, please try re-registering shell32.dll:
From an admin command prompt, run:

Code: Select all

Regsvr32 /i c:\windows\system32\shell32.dll
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Possible to display MP3 embedded thumbnails?

Post by NotNull »

void wrote: Fri Jan 06, 2023 10:53 pm {BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} is the IExtractImage handler.
O man, my pattern recognition "engine" mixed up {BB ... (IExtractImage) with {88... (IPreviewHandler).
Not the first time ...


Anyway:
In Explorer I have Always show icons, never thumbnails disabled.
Everything follows that setting (same behaviour).

Is there a way to configure this independent from the system setting?
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to display MP3 embedded thumbnails?

Post by void »

Everything does use the system setting "Always show icons, never thumbnails"

To override this system setting in Everything:
  • Copy and paste the following into your Everything search box:
    /icons_only=2
  • Press ENTER in your Everything search box.
  • If successful, icons_only=2 is shown in the status bar for a few seconds.
  • where 2 can be one of the following values:
    • 0 = Use system setting. (default)
    • 1 = Icons only.
    • 2 = Thumbnails.


icons_only
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Possible to display MP3 embedded thumbnails?

Post by NotNull »

Thanks!
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Possible to display MP3 embedded thumbnails?

Post by raccoon »

Thanks. At least one of the above solutions seems to have fixed my issue, but only after a reboot.

((Why does Windows's preview tiling seem tighter with mixed aspect ratios? Seems like they make each row as vertically tight as possible, while keeping columns evenly widthed and spaced. Everything using a fixed aspect ratio instead.))
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to display MP3 embedded thumbnails?

Post by void »

Everything doesn't do anything special with setting an aspect ratio.

The only thing Everything is doing is creating a "preview window" that will be the same size as the "preview view".

Maybe Windows Explorer is making a smaller "aspect correct" preview window?
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Possible to make thumbnail view have variable row heights?

Post by raccoon »

Sorry, I was talking about the Thumbnail grid. In Windows Explorer, the gridwork is of variable height depending on the tallest aspect ratio of a given row, such that each row is condensed down as short as possible. In Everything, the gridwork is of static and unwavering height regardless of the contents of each row. Pay attention to the selected objects which reveal the size and shape of the bounding box.

Sorry, I know this deviates from my original thread question.

Attached Windows 7 Explorer screenshot
explorer_7j5Cj9F7Cp.png
explorer_7j5Cj9F7Cp.png (107.52 KiB) Viewed 2698 times
---
Attached Everything 1.5 screenshot
Everything64_5wnkucrT8A.png
Everything64_5wnkucrT8A.png (97.94 KiB) Viewed 2698 times
Attachments
Aspect Ratio Test.7z
(21.36 KiB) Downloaded 320 times
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to display MP3 embedded thumbnails?

Post by void »

Ah, thumbnail aspect!
Thanks for the nice screenshots.

Adjusting the aspect dynamic is not feasible in Everything as too many thumbnails can be displayed.

To set your thumbnails to 16:9:
  • Copy and paste the following into your Everything search box:
    /thumbnail_aspect_ratio_mul=16
  • Press ENTER in your Everything search box.
  • If successful, thumbnail_aspect_ratio_mul=16 is shown in the status bar for a few seconds.
    ---
  • Copy and paste the following into your Everything search box:
    /thumbnail_aspect_ratio_div=9
  • Press ENTER in your Everything search box.
  • If successful, thumbnail_aspect_ratio_div=9 is shown in the status bar for a few seconds.
The default is 1:1

thumbnail_aspect_ratio_mul
thumbnail_aspect_ratio_div
Post Reply