import covers from files.

Hi! I have a lot of audio files, and separately for each file has a cover with the same name as the audio file. How do I select all the audio files and import the cover so as to correspond to each file has its own cover? I mean the automatic processing in batch mode ...

Eg import script for the cover: %artist% - %title% ...
Is this possible or is there any other ideas?



If I look at your screendump then the cover files DO NOT have the same name as the audio file (except the extension).

In general: there is an action of the type "import covers" where you can specify the filename.
THis can either be a constant like folder.jpg
or one that can be deducted from data in the file e.g. %title%
or "any" which then takes the first file from a folder, eg. *.jpg.

It is now up to you to find the matching pattern.

Big thanks! It work!)

Do not be more of these action?
As should be written so that you can import the Cover Art files with different names (for example: Cover, Cover Art, Front, Folder Art, etc.), and various extensions (for example: jpg, bmp, png, tiff, etc.) from the folder where is this audio file (directory)?

You can create an action group which then caters for the different cases.
Still, the underlying theme is that you either have to have a unique pattern for each file (type) or you have to rely on the position which is "the first jpg file".
So, if your files are named
cover.jpg
singer.jpg
you can setup an action which then imports cover.jpg as front and another action that imports "singer.jpg" as artist - these types can be set in the dialogue. And if you keep the old pictures then they get added.
You cannot import "all" picture files from a folder using wildcards.
So, if you combine several actions to an action group you more or less have "more of these actions".

Do not be an example, because I do not know how to set up the operation at all.
Show me please:

  1. What I have entered in the "Actions" window to import audio files "Sash_edited.JPG" using their relative location.
    See link: http://content5-foto.inbox.lv/albums/i/i_e...i/Cover-Art.jpg
  2. Import cover as I can only select "Front Cover," but I can not write such as "Front", "Cover", "Folder Cover" .... How to import a different picture file name than the "Front Cover"?

The problem is whether the filename of the cover follows a certain pattern or not.
sash_edited does not look like a particular pattern to me.
or you have named all your files
%artist%_edited
which would then be the "filename" that you enter in the action
import cover.
So, from a single file it is very hard to tell what kind of pattern would help you.

Write just one example of how I Cover Art to import an audio file. I can not do this operation. In any of my attempts I get the message: Import cover from file "filename" (Front Cover): File C: \ Documents and Settings \ Lex-W \ My Documents \ My Music \ MP3 \ Mp <u> filename can not be accessed.

As I said - unless there is a pattern, it is hard to tell.
Coming back to your example with sash_edited.jpg and the idea to use %album% as filename (this is what the dump shows):
the ALBUM ist called "Greatest Hits '99"
so the action using %album% would look for a file called
Greatest Hits '99.jpg
which I cannot see in the folder. So, perhaps this is the solution, why you get the error message.

The picture file I can see in that folder is called "sash_edited.jpg".
This does not look a lot like a decent pattern to me but perhaps it is the first picture file in that folder.
So you can use the wildcard option. Enter
*.jpg
in the inputbox for filename.

Import cover from file "ALBUM" (Front Cover): File D: \ Uplade \ Sash - Greatest Hits 99 \ ALBUM can not be accessed.
Import cover from file "% album%" (Front Cover): File D: \ Uplade \ 99 Greatest Hits \ 99 Greatest Hits can not be accessed.
Etc. independently as a jpg file I call "Front Cover" or "Greatest Hits 99"etc.. = message "can not be accessed"

Please written up to one working import Cover Art your example!
To be able to see what is written "Actions" in the "Format string for image filename" and "Import cover as"

Here we go then:
this is the action that suits any jpg-file in the current album folder - it takes the first file found.


the other screeshot shows that folder with 3 files in it, 2 mp3s and one for the picture.



Thank You!

Well, if that helped - good!
The limitation of this solution is that it always uses the first picture file in a particular folder.
So, if you look at your example, there is also the file spectre.jpg.
If this were the cover file then you would have to add it manually .... unless the album would be called "Spectre" (I know it isn't, just an example).
And if you have more folders where the picture files is EXACTLY called like the contents of one of the fields you could use
%album%.jpg
instead of
*.jpg
(or %artist%.jpg or %artist%.png and so on).

Another hint:
you could make MP3tag to also read JPGs and show them in the files list (see Tools>Options>Tags: Restrict incoming files to).
If you then have your collection organized in such a way that the folder has the name of the album, you could rename at least one file in that folder with an action of the type "Format tag field" for _FILENAME
Use %_directory% as format string...

Oh, I am getting carried away :wink:

A very big thank you!
It was both interesting and useful.