# Adding album art from many subfolders

**URL:** <https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889>\
**Category:** Support\
**Created:** [July 13, 2022, 7:57pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889 "2022-07-13T19:57:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)\
**Post date:** [July 13, 2022, 7:57pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/1 "2022-07-13T19:57:11Z")

</div>

I have a single folder of Ogg Vorbis audio files, but I would like to add album art from another folder filled with subfolders filled with PNG files. The album art was originally in the same folder as the Oggs, but I wanted to split the album art into folders separately to manage more easily, although the filenames for both are the same. So how can I add the album art this way, please?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [July 13, 2022, 8:01pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/2 "2022-07-13T20:01:17Z")

</div>

> [@AMJF](#):
>
> So how can I add the album art this way, please?

Hard to say without concrete examples.  
There is an action to import covers from files:

> **[Import Cover from File – Mp3tag Documentation](https://docs.mp3tag.de/actions/import-cover/)**
>
> Documentation on the Import Cover action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

If you define the mandatory filename with an absolute path to get the files

> [@AMJF](#):
>
> from another folder filled with subfolders filled with PNG files

then it should work.  
The basic question is: how should MP3tag know which picture file belongs to which ogg file.

---

<div class="post-metadata">

**Author:** ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)\
**Post date:** [July 13, 2022, 8:20pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/3 "2022-07-13T20:20:51Z")

</div>

Let's say I have two folders, namely:

C:\Users\aaron\Music \<-- Oggs go here  
C:\Users\aaron\Pictures \<-- Albumart goes here

C:\Users\aaron\Music is a single folder filled with Oggs

The Pictures folder has several subfolders with Albumart, and the general layout is:

C:\Users\aaron\Music  
Music1.ogg (file)  
Music2.ogg (file)

C:\Users\aaron\Pictures  
Pics1 (folder)  
Music1.png (file)  
Pics2 (folder)  
Music2.png (file)

Can Mp3tag do a search of subfolders to find the matching filename for the album art?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [July 13, 2022, 8:25pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/4 "2022-07-13T20:25:40Z")

</div>

> [@AMJF](#):
>
> C:\Users\aaron\Music  
> Music1.ogg (file)

> [@AMJF](#):
>
> C:\Users\aaron\Pictures  
> Pics1 (folder)  
> Music1.png (file)

You can use a filename like  
`c:\users\aaron\pics1\%_filename%.png`  
which would import a png from the folder pics1 where both filenames (except the extension) are the same.  
If no match is found, then no picture is imported.  
So you can easily us a second action for the Pics2 folder.

---

<div class="post-metadata">

**Author:** ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)\
**Post date:** [July 13, 2022, 8:30pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/5 "2022-07-13T20:30:46Z")

</div>

I've used this feature before and it's been quite helpful, but I was only able to use it one at a time for each folder I wanted to attach album art to.

Can I add a list of commands like the one you showed so it can do them all one after the other, like a batch process?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [July 13, 2022, 8:31pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/6 "2022-07-13T20:31:53Z")

</div>

See the help on actions, esp. action groups:

> **[Actions – Mp3tag Documentation](https://docs.mp3tag.de/actions/)**
>
> Documentation on Quick Actions and Action Groups that covers replace text, case conversion, tag to tag conversion, duplicate field handling, batch cover import/export, and more. Mp3tag is the universal Tag Editor.

I would also filter for the files that have not yet got a cover with  
%\_covers% MISSING

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [July 13, 2022, 8:59pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/7 "2022-07-13T20:59:03Z")

</div>

> [@AMJF](#):
>
> although the filenames for both are the same

This will help, if what you are saying is the file names for the audio and album art files match. The only challenge that may need manual intervention will be if you have any duplicate album names. Greatest Hits are the most common ones, but there are many others.

---

<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:** [August 12, 2022, 8:59pm UTC](https://community.mp3tag.de/t/adding-album-art-from-many-subfolders/57889/8 "2022-08-12T20:59:21Z")

</div>

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