I've found 2 oldish posts discussing this topic.
https://community.mp3tag.de/t/parent-directory-in-grossbuchstaben-wandeln/14270
https://community.mp3tag.de/t/rename-a-parent-directory-for-multi-disc-albums/17514
Which both conclude that it was only possible to either rename the _FILENAME (only moving the selected songs themselves) or _DIRECTORY (which renames/moves the directory in which the files reside, taking subfolders and other file types with it). Has someone found a way to move/rename the parent directory including all subfolders?
Background:
I'm planning to change my current folder structure for multi-disc albums from:
Summary
\album artist\album [CD 1]\tracknumber title.extension
\album artist\album [CD 1]\Artwork\Booklet.jpg
\album artist\album [CD 1]\Box Set Cover.jpg
\album artist\album [CD 1]\Cover.jpg
\album artist\album [CD 2]\tracknumber title.extension
\album artist\album [CD 2]\Artwork\Booklet.jpg
\album artist\album [CD 2]\Box Set Front.jpg
\album artist\album [CD 2]\Cover.jpg
to
Summary
\album artist\album\CD1\tracknumber title.extension
\album artist\album\CD1\Cover.jpg
\album artist\album\CD2\tracknumber title.extension
\album artist\album\CD2\Cover.jpg
\album artist\album\Artwork\Box Set Front.jpg
\album artist\album\Artwork\Booklet.jpg
To remove redundant images and declog the album folder level.
My current action to rename/move the album folder to my WIP folder is this:
I can change the first action to:
Format value:
_Directory
Format string:
D:\rips\beets\$validate($regexp(%albumartist%,'^([^;]+)(;? ?)([\w ,-.]+)(.*)',$1$2$3),-)\$validate(%album%,-)\$ifgreater(%disctotal%,1,CD%discnumber%\,)
to achieve this change:
\album artist\album [CD 1]\tracknumber title.extension
\album artist\album\CD1\tracknumber title.extension
However, if I were to use that action on a folder that is already in my desired structure, it would only move the CD1 and CD2 folders and their contents. The "Artwork" folder on the same level would not be moved alongside.
Format value actions don't work for _PARENT_DIRECTORY and while this action:
Format value:
_Directory
Format string:
%_folderpath%..\..\$validate(%album%,-)\%_directory%
does move the CD1, CD2 etc. folders to the desired new location within an existing file path, it also leaves behind the Artwork folder.
Has anyone found a workaround for this? I'd love to avoid having to manually move the Artwork folder and deleting the remnants.