Adding file names to exported cover art

I just learned how to export cover art and for me that's saying something. What I would like to know is- can you export the file name with the cover art? now to be honest I am not a coder so right now the string I have to export the cover art is L:\coverart\filename because I'm extracting the cover art from my movies and I'm guessing that the file name would hold the cover art. I would like to export the cover art with the movie name. Right now after extraction the name of each cover is "filename 1", "filename 2" etc.

If you want to use the variable filename of the source file, then try
L:\coverart\%_filename%
If you have several embedded pictures, then see if you can distinguish them with an added %_cover_type%.
L:\coverart\%_filename%_%_cover_type%
otherwise different covers will get an index number as there cannot be more than 1 file with the same name.

Actually what I'd like to do is pull the name of the file the cover art belongs to. In this particular case there is only one cover where my mp3s in most cases have two. I don't know if it's even possible to pull the name. I have already pulled the covers off with no problem, it's just the name of the file along with the cover art that I'm interested in.

Have you tried my suggestion?

You cannot have 2 files with the same name. So you would have to find a way to distinguish these files. One way would be to add the cover type. But if this is also the same for all pictures, then you will end up with an index number.

Do you do it with an action of the type "Export covers to file" or do you do it manually with a right mouse click on the cover-field in the tag-panel?

The action I use is Quick I've tried the L:\coverart\%_filename% and all I get is (1).jpg etc. what I'm asking for Is the cover art followed by the files name ie: COVER ART + Girls Just Wanna To Have Fun. where cover art would be the picture of the record and Girls just Wanna have fun would be the name of the record or the cover art. Like I said before I don't know if this is possible but there is no harm asking the question

Now I'm going to be a pain in the butt. When using L:coverart\%_filename% when this is used for my mp3s it will pull both cover arts from each file. in other words In most of my mp3s I have two cover arts, the record and the album the song came from. In other words I have the cover art for the 45rpm record for the song and the the cover art for the album the song came from. Maybe I'm getting things confused but I'm thinking that one QUICK action can do both the only thing I want ia the main cover art and the name of the file it came from. is that possible?

If you have multiple cover images in a tag, the export action will always export all of them. However, you can restrict the selection to a specific cover type. When you set up and define the action, you will see an option labeled "Export only covers of type," where you can specify a particular cover type.
Naturally, this restriction only works if the cover type has actually been saved within the cover tag.
In MP3tag, you can assign the following cover types by right-clicking on the cover image in the Tag Panel or the Extended Tag Panel:

Could you check again?
The reference to _FILENAME should use the mp3-filename to create the picture file name.
If you e.g. left out the underscore in front of FILENAME, then you reference a user-defined field which is probably not there so that you get an empty string.
If functions do not work, it would be best to supply a screenshot of the applied function. SOmetimes it needs 4 eyes (or more) to spot the error.

Here is the info you requested. Again the action I'm using is Quick. The first is the result of the action, the second is the string I used and I threw in the action itself. Hopefully you can find the mistake.

In the format string you have incorrectly typed %_filemame% (mame) not the correct tag placeholder that should be %_filename%

As far as spelling is concerned, sometimes my brain can't catch up with my fingers. I did correct the spelling however even though you are specifying the FRONT cover it's pulling BOTH front AND rear covers. It's also adding numbers to some of the results, is that normal or should there be something added to the action? If it pulls both covers and you have, lets say 5,000 songs and each song has 2 covers, you can do the math. Yes it's pulling the cover and the name but if you only want the front or 1st cover then that means there's something missing to the action.

MP3tag can only tell the difference if you have set the type of one of the embedded pictures to be "Front Cover" and one to "Back Cover".
If all embedded picture have the same type, then MP3tag cannot distinguish between them.

If you have set front & back, then the export for only front covers should work.
Or you create a filename like already mentioned here:

There is no way to export only the

Because you tagged them both as "Front Cover":

There should only be one front cover image in each file. Right-click on the unwanted picture and change its type to Back Cover, Media (that would be appropriate for the scan of the center label), or something else that suits it.

Yes, that sucks for 5000 files, but as they say, hindsight is 20/20. You should have done that right away when you added the images. Now it is probably less work to just export them all and then delete the ones you don't want.

squonk57 - Thanks for letting me know about about front and rear covers, never knew you had to do that. Now all I gotta do is go through 3500 mp3s and setting the front and rear covers. should be done around mid summer seeing as how I'm also ripping my movies and putting them on disc and OHRENKINO, your code doesn't distinguish between covers as I have all covers as front but now instead of adding numbers to the covers it actually puts the name on every cover, thanks. thanks for all your help, greatly appreciated.

If there is some system in the names of the exported covers and you can identify them as front or back covers or other types (maybe the numbers added to them), you can reimport them to your Mp3s with an action of the type "Import Cover from files". In this action type you can define a format string for your cover-files including the path.

Before you have to delete the embedded covers.
You should always import the front cover first so this cover type is the first in the row. Many players only show the first cover.

Test and when necessary modify this format strings according to you filenames and path
For Front cover: L:\coverart\%_filename%_front.jpg
For Back Cover L:\coverart\%_filename%_front(1).jpg

You should always test not with your original files but test-copies