renaming utility: use only the actual year in default script

This commit is contained in:
Martchus 2016-05-06 23:20:43 +02:00
parent 1add0e7612
commit b8715214cf
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ if(tageditor.isFile) {
var album = validDirectoryName(tag.album);
if(notEmpty(album)) {
if(notEmpty(tag.year)) {
path.push([tag.year, album].join(" - "));
path.push([tag.year.split("-")[0], album].join(" - "));
} else {
path.push(album);
}