-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This script will reorder your music library according songs metadata.
It will get a expression stored in a custom tag called and will construct the place where the file should get in.
It also will move folders or another files that remains alongside the song file, so covers.jpg or videos or info.txt files will be also moved.
The script only process songs where the tag is defined
Assign the new path by constructing a string with:
~ means current mount point of the song at the library
/ use a slash to construct your path.
.<ext> use dot plus <ext> at the end if you want to construct a new file-name for the song and not only the path.
<Tag> use a tag name enclosed in <....> for tag reference.
[<Tag> some text] use some expression enclosed in [...] to make the expression optional. The enclosed expressión will turned into an empty string if there is no <Tag> present in the file, or being present, this is empty.
~/Music/<artist>/[<album>]/[<cd> - ][<track> - ][<artist> - ]<title>.<ext>
~/Music/<genre>/<album>/
~/Various/<genre>/[<artist> - ]<title>.<ext>