Extend advanced renaming script to put bootlegs and singles into special folder
This commit is contained in:
parent
7f8cf5c44d
commit
503c8f2c88
|
@ -214,6 +214,11 @@ tageditor.rename(newName)
|
|||
var path = []
|
||||
if (distDir) {
|
||||
path.push(distDir)
|
||||
if (tag.comment.includes("bootleg")) {
|
||||
path.push("bootlegs");
|
||||
} else if (tag.comment.includes("single")) {
|
||||
path.push("singles");
|
||||
}
|
||||
var artist = validDirectoryName(firstValue(tag.albumartist || tag.artist))
|
||||
if (isPartOfCollection(tag)) {
|
||||
path.push(collectionsDir)
|
||||
|
|
Loading…
Reference in New Issue