Skip to main content
Topic: Pixels of CD photos in playlist columns (Read 1324 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Pixels of CD photos in playlist columns

Hi there.

For a few months now I have been using the foobar more often and I am increasingly amazed by it. I had heard of it, but I do not forgive myself for not having used it as a standard audio player before.

I intend to stop using the excellent TagScanner program to centralize all TAG operations and file renaming in the foobar, since this program is very flexible and encompasses practically everything I usually do with audio files.

However, there is an interesting function in TagScanner that I am having a hard time finding in foobar: is there any way or component to view the size (pixels) of a photo taken (front album cover, eg) in the playlist columns?


Re: Pixels of CD photos in playlist columns

Reply #1
Does anyone know if there is at least one syntax to type in the columns?

Re: Pixels of CD photos in playlist columns

Reply #2
This 18 month old thread is the closest I can find to a similar question / request. After the premier of the Properties Dialog's Artwork Tab in 1.4 or 1.5, some would assume that because that data you want to see is shown on said tab, similar functionality for your custom column(s) would exist in Playlist View.  I can't find anything that says it does. If you can code, inquiring with JScript Panel experts might enable you to design / tweak an existing script to display the data you want.
A foobar enthusiast who's neither an audiophile, nor an album snob.

Ever notice whenever there is a thread mentioning track ratings, someone will inevitably come in to post that they don't use ratings or believe in rating music?

Re: Pixels of CD photos in playlist columns

Reply #3
This 18 month old thread is the closest I can find to a similar question / request. After the premier of the Properties Dialog's Artwork Tab in 1.4 or 1.5, some would assume that because that data you want to see is shown on said tab, similar functionality for your custom column(s) would exist in Playlist View.  I can't find anything that says it does. If you can code, inquiring with JScript Panel experts might enable you to design / tweak an existing script to display the data you want.
Thank you very much for your reply! Very enlightening and helpful!

Re: Pixels of CD photos in playlist columns

Reply #4
I've made a crude component that attempts to address this issue. The only way it's possible for me to present image info via title formatting is by using a database. The reason why it's crude is because it's not automatic - you have to manually trigger a scan which reads all library items and then stores the info. If you add/remove/modify or even rename any files, it's up to you to trigger a new scan. This is done via the main Library menu. It reports what it has found via the console.

There are 3 title formatting fields available:

%front_cover_width%
%front_cover_height%
%front_cover_size%



edit: new version attached. The first version triggered a "refresh" on more items than it needed to.


Re: Pixels of CD photos in playlist columns

Reply #5
I've made a crude component that attempts to address this issue. The only way it's possible for me to present image info via title formatting is by using a database. The reason why it's crude is because it's not automatic - you have to manually trigger a scan which reads all library items and then stores the info. If you add/remove/modify or even rename any files, it's up to you to trigger a new scan. This is done via the main Library menu. It reports what it has found via the console.

There are 3 title formatting fields available:

%front_cover_width%
%front_cover_height%
%front_cover_size%

edit: new version attached. The first version triggered a "refresh" on more items than it needed to.
What a cool !!!!!!!!!!!!
This is exactly what I was looking for for the foobar!!!! Now I definitely don't need to use any other application to organize my audio collection, thank you very much, @snotlicker !!!!
Thank you very, very, VERY much!

Re: Pixels of CD photos in playlist columns

Reply #6
So, I'm very happy!

I would like to share the syntax I use to show the column in the same way as in my photo (TagScanner) in my first post:

Code: [Select]
[%front_cover_width%x%front_cover_height%, %front_cover_size%]

In this way, I have all information in just one column (see the picture from foobar below)!

Many thanks again!

Re: Pixels of CD photos in playlist columns

Reply #7
A question: where the component stores the info of files scanned?

Re: Pixels of CD photos in playlist columns

Reply #8
Inside your foobar2000 profile, there will be a folder named index-data. Inside that there will be a file named

Code: [Select]
95EA6D78-0081-4080-A599-64A148BABCE5

If there are other files inside that folder, they belong to other components which have their own databases (like foo_playcount).

edit: it's worth mentioning....

-you can't edit it!
-while you can backup/restore between different foobar2000 installs just fine, all records are bound to the %path% of each track so if that changes, you'll need to scan again.

Re: Pixels of CD photos in playlist columns

Reply #9
OK, everything is great for me, I am very satisfied with the answers, everything is clear and very well resolved, I just have reasons to thank you very much!

And congratulations, you did a great job - it was exactly what I was looking for!   ;)

Re: Pixels of CD photos in playlist columns

Reply #10
I've made a crude component that attempts to address this issue.
Was as well waiting for this, thanks very much! My car only shows cover art with max 800x800, so this is very helpful!
And great that you're back!

Re: Pixels of CD photos in playlist columns

Reply #11
There are 3 title formatting fields available:

%front_cover_width%
%front_cover_height%
%front_cover_size%
Just too confirm, three total embedded artwork spec tags, not 3 field types per embedded artwork type?
(i.e. Front only...not back, disc, icon, nor artist)
A foobar enthusiast who's neither an audiophile, nor an album snob.

Ever notice whenever there is a thread mentioning track ratings, someone will inevitably come in to post that they don't use ratings or believe in rating music?

Re: Pixels of CD photos in playlist columns

Reply #12
Hi John, I think it scans for front album cover only (and this is fine for me), since it doesn't show any information about other covers, at least here.

Re: Pixels of CD photos in playlist columns

Reply #13
This has been updated with context menu support so you no longer have to scan your whole library.


Re: Pixels of CD photos in playlist columns

Reply #14
Very cool, snotlicker!
What was already very good is now excellently better! Great job, thank you very much for that!

 
SimplePortal 1.0.0 RC1 © 2008-2020