Skip to content
Pablo Casas Estévez edited this page Aug 5, 2017 · 15 revisions

Welcome to the quodlibet-filesorter wiki!

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.

Behaviour

The script only process songs where the tag is defined

Assigning a new path:

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.

Some Examples

~/Music/<artist>/[<album>]/[<cd> - ][<track> - ][<artist> - ]<title>.<ext>
~/Music/<genre>/<album>/
~/Various/<genre>/[<artist> - ]<title>.<ext>

Clone this wiki locally