diff --git a/resources/scripts/renamefiles/example1.js b/resources/scripts/renamefiles/example1.js index 9a663ea..f089bf5 100644 --- a/resources/scripts/renamefiles/example1.js +++ b/resources/scripts/renamefiles/example1.js @@ -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); }