# How can i change the structure of how the music albums are stored

**URL:** <https://community.metabrainz.org/t/how-can-i-change-the-structure-of-how-the-music-albums-are-stored/815479>\
**Category:** MusicBrainz Picard\
**Tags:** musicbrainz\
**Created:** [August 16, 2026, 4:20am UTC](https://community.metabrainz.org/t/how-can-i-change-the-structure-of-how-the-music-albums-are-stored/815479 "2026-08-16T04:20:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juango](https://community.metabrainz.org/user_avatar/community.metabrainz.org/juango/32/122975_2.png) [@Juango](https://community.metabrainz.org/u/Juango)\
**Post date:** [August 16, 2026, 4:20am UTC](https://community.metabrainz.org/t/how-can-i-change-the-structure-of-how-the-music-albums-are-stored/815479/1 "2026-08-16T04:20:57Z")

</div>

I want to achieve the following: you want one folder per album, all at the main level, and each folder named:

Artist Name – Album Title

No artist-level folders. No nested subfolders.

Just a clean, flat list of album folders.

---

<div class="post-metadata">

**Author:** ![Sophist](https://community.metabrainz.org/user_avatar/community.metabrainz.org/sophist/32/70055_2.png) [@Sophist](https://community.metabrainz.org/u/Sophist)\
**Post date:** [August 16, 2026, 8:42am UTC](https://community.metabrainz.org/t/how-can-i-change-the-structure-of-how-the-music-albums-are-stored/815479/2 "2026-08-16T08:42:38Z")

</div>

You need to edit your file renaming script:

```auto
$if2(%albumartist%,%artist%)$if(%albumartist%, - %album%,)/
$if($gt(%totaldiscs%,1),$if($gt(%totaldiscs%,9),$num(%discnumber%,2),%discnumber%)-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title%

```

I haven’t tested this - but it is a modification of the default script.

It also handles non-Album tracks by putting them in a folder with just the artist name - and it handles e.g. Various Artists albums by pre-pending the artist name to the track title.
