Fix $track rejected as invalid variable in single path template validator
This commit is contained in:
parent
1fbc699879
commit
8fc4484846
1 changed files with 1 additions and 1 deletions
|
|
@ -5515,7 +5515,7 @@ function validateFileOrganizationTemplates() {
|
|||
// Valid variables for each template type
|
||||
const validVars = {
|
||||
album: ['$artist', '$albumartist', '$artistletter', '$album', '$albumtype', '$title', '$track', '$disc', '$discnum', '$year', '$quality'],
|
||||
single: ['$artist', '$albumartist', '$artistletter', '$album', '$albumtype', '$title', '$year', '$quality'],
|
||||
single: ['$artist', '$albumartist', '$artistletter', '$album', '$albumtype', '$title', '$track', '$year', '$quality'],
|
||||
playlist: ['$artist', '$artistletter', '$playlist', '$title', '$year', '$quality']
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue