# Adding Artwork On Condition Only

**URL:** <https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214>\
**Category:** Support\
**Created:** [May 5, 2022, 2:44pm UTC](https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214 "2022-05-05T14:44:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lodum007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@Lodum007](https://community.mp3tag.de/u/Lodum007)\
**Post date:** [May 5, 2022, 2:44pm UTC](https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214/1 "2022-05-05T14:44:44Z")

</div>

Hi,  
I need advice please on artwork.  
I have folders organized artist/album/flac files

All of the album folders have jpeg artwork.  
About 50% of my flac files already have artwork embedded into them.  
The other 50% does not have any artwork embedded.  
I have a simple action to import artwork, resize it and embed it in flac files.

What I need help with is to create an action that will import and embed artwork ONLY IF there is no artwork already embedded.  
Where I already have artwork embedded in a FLAC file I don't want to overwrite it with the jpeg art in the folder. I only want Mp3tag to import and embed artwork for files that do not have any artwork embedded.

Advice on how to create this type of action is most appreciated.

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 5, 2022, 3:47pm UTC](https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214/2 "2022-05-05T15:47:03Z")

</div>

Keep it simple.  
Filter for files that have no cover  
`%_covers% MISSING`  
Then apply your action on the filtered files.

---

<div class="post-metadata">

**Author:** ![Lodum007](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@Lodum007](https://community.mp3tag.de/u/Lodum007)\
**Post date:** [May 5, 2022, 6:01pm UTC](https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214/3 "2022-05-05T18:01:19Z")

</div>

Brilliant -- worked perfectly! Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [June 4, 2022, 6:01pm UTC](https://community.mp3tag.de/t/adding-artwork-on-condition-only/57214/4 "2022-06-04T18:01:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
