Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Columns UI and cover (Read 19558 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Columns UI and cover

Why  it don't load a cover

Columns UI and cover

Reply #1
the cover pictures are in the  alum folder

Columns UI and cover

Reply #2
rename it to cover.jpg or front.jpg
or maybe you are listening to wrong music

Columns UI and cover

Reply #3
Quote
rename it to cover.jpg or front.jpg

or
[/url]

Columns UI and cover

Reply #4
If all your files are named like the example (artist - album) than do the following:
Go to Preferences --> Columns UI --> Artwork, click on Add, choose "Front cover" and enter:
$replace(%path%,%filename_ext%,%artist% - %album%)

Columns UI and cover

Reply #5
it works,  thx guys

Columns UI and cover

Reply #6
but not for all

Columns UI and cover

Reply #7
Not sure which suggestion you used as a script pattern in artwork sources > Front cover.

If it is working for most, but not all, then it is likely a problem with your artwork file names on the "missing" covers.

Either add the additional instances to the Front cover script or fix your art file names and all will be fine.

terry

Columns UI and cover

Reply #8
Hi,

I'm stuck with this cover thing. I store my covers separate from my music files and foobar doesn't show album art. I store the images in the following format:
  • front covers: C:\path_to_foobar\covers\%artist%\%album%\cover.jpg
  • artist images: C:\path_to_foobar\covers\%artist%\artist.jpg


I tried to insert this values to the columnsui settings artwork tab, but nothing happened, still no covers. I am not familiar with titleformatting, so please, help me

Columns UI and cover

Reply #9
Hi there,

thank's for the scripting examples. I was also helpful for me. I'm wondering that there isn't any documentation about syntax and commands of the scripting engine of fb2k, isn't it?

kind regards,
stefan


Columns UI and cover

Reply #11
you also have help within your foobar instance via main menu > titleformatting help
and the reference to query language is via the question mark on Library > Search

terry


Columns UI and cover

Reply #13
$directory_path($directory_path(%path%))\cover

Columns UI and cover

Reply #14
$directory_path($directory_path(%path%))\cover

Thanks for the fast reply. However, adding this exact line doesn't work. I tried adding copies of the lines meDveD.spb uses above, replacing %path% with $directory_path($directory_path(%path%)), like that:
Code: [Select]
$replace($directory_path($directory_path(%path%)),%filename_ext%,*folder*.*)
, which didn't work either. What's wrong? I would really appreciate it if you could provide some comments on the script lines used in the screenshot above, so that I can understand the logic.

Columns UI and cover

Reply #15
you shouldn't enter file name extension as components clearly states - look at the text above your red squared rectangle
if you want to search for "*folder*.*" two levels from current folder use this:
Code: [Select]
$directory_path($directory_path(%path%))\*folder*

Columns UI and cover

Reply #16
How do I display covers if my covers are stored in this format: C:\Documents\Covers\%artist% - %album%.jpg

I tried adding
C:\Documents\Covers\%artist% - %album%
'C:\Documents\Covers\'%artist%' - '%album%''
C:\Documents\Covers\$replace(%artist% - %album%,",,?,,*,.,/,,)

and no use

Columns UI and cover

Reply #17
I have some covers at a directory called Artwork in this way:

...\Artwork\
...\Disc 1\
...\Disc 2\

how to make Columns UI search for cover in this directory too? I tried adding this
Code: [Select]
$replace($directory_path($directory_path(%path%)),%filename_ext%,Artwork\Front.*)
but is not working. What will be the right code for this?

Columns UI and cover

Reply #18
I tried this:
Code: [Select]
$replace($directory_path($directory_path(%path%)),%filename_ext%,Artwork\Back

Code: [Select]
$replace($directory_path($directory_path(%path%)),%filename_ext%,Artwork\Back

Code: [Select]
$replace($directory_path($directory_path(%path%))\Artwork\Back


Ok. I was using ".*" when is not in need, but still don't work. What could be wrong?

My folder is something like this:

...\Folder\Artwork
...\Folder\Disc 1
...\Folder\Disc 2

So it is up one level or two? Maybe I am wrong at this point.

Columns UI and cover

Reply #19
count the number of brackets in first example, and read the help file:

Code: [Select]
$directory_path(%path%)\Artwork\Back

will search for files named "back" in sub-folder Artwork from the referenced file location

Columns UI and cover

Reply #20
When the folder Artwork is in the same folder as the music files I use this:
Code: [Select]
$replace(%path%,%filename_ext%,Artwork\Back)

based on this, when the folder is up one level should be this:
Code: [Select]
$replace($directory_path(%path%),%filename_ext%,Artwork\Back)

Not working still.

Columns UI and cover

Reply #21
don't use $replace()
check the help file

Columns UI and cover

Reply #22
I'm having issues with mine as well. Here's my artwork naming conventions that I use.



Heres my Columns UI Scripts.



Any suggestions?

Columns UI and cover

Reply #23
I'm having issues with mine as well. Here's my artwork naming conventions that I use.

As your cover is located in the same directory as the music there is no need for $directory_path(...)\. Just write "cover", "folder", "front" in each line, maybe restart foobar, and it should work.

Columns UI and cover

Reply #24
Still no luck. Here's what I've got after editing the code and restarting fb2k.