renaming utility: use only the actual year in default script
This commit is contained in:
parent
1add0e7612
commit
b8715214cf
|
@ -184,7 +184,7 @@ if(tageditor.isFile) {
|
||||||
var album = validDirectoryName(tag.album);
|
var album = validDirectoryName(tag.album);
|
||||||
if(notEmpty(album)) {
|
if(notEmpty(album)) {
|
||||||
if(notEmpty(tag.year)) {
|
if(notEmpty(tag.year)) {
|
||||||
path.push([tag.year, album].join(" - "));
|
path.push([tag.year.split("-")[0], album].join(" - "));
|
||||||
} else {
|
} else {
|
||||||
path.push(album);
|
path.push(album);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue