# Adjust tags based on number of files in parent folder

**URL:** https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162
**Category:** Support
**Created:** [June 28, 2024, 9:34pm UTC](https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162 "2024-06-28T21:34:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Crowbar](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a9a28c/32.png) [@Crowbar](https://community.mp3tag.de/u/Crowbar)
#### Post date: [June 28, 2024, 9:34pm UTC](https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162/1 "2024-06-28T21:34:04Z")

</div>

Hello

I'm not sure if this is already a feature in the program that I'm not finding or if it's a feature request.  
I have a specific naming structure for singles in my library. To achieve this, I delete the Album field so that singles can be named correctly. I would like to automate the process for one of my music sources. This source downloads all "albums" to individual folders, so I would like to delete the field based on if a file is the only item in its parent folder. I can't find anywhere in Mp3tag where the program can tell itself how many files are in a parent folder.

Thanks a ton for many years of enjoyment of this amazing program.

---

<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: [June 28, 2024, 9:42pm UTC](https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162/2 "2024-06-28T21:42:34Z")

</div>

Have a look at the track-numbering wizard and see its options to start counting on various triggers.  
You could then check for files that have 1/1 in TRACK

---

<div class="post-metadata">

### Author: ![Crowbar](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a9a28c/32.png) [@Crowbar](https://community.mp3tag.de/u/Crowbar)
#### Post date: [June 28, 2024, 10:51pm UTC](https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162/3 "2024-06-28T22:51:21Z")

</div>

Thanks, that was a great idea. I wouldn't have thought about the wizard. I have made a process to adjust based on the wizard's settings. I've made an Actions group to make adjustments and then undo the wizard's renumbering, but I'd really prefer to have a solution that can be setup entirely in the Actions panel.

---

<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: [July 28, 2024, 10:51pm UTC](https://community.mp3tag.de/t/adjust-tags-based-on-number-of-files-in-parent-folder/65162/4 "2024-07-28T22:51:22Z")

</div>

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