Sort A-Z folders and add year only for movies
Posted: 24 Jun 2016, 07:46
Hello,
I would like to sort my movies in Collections and movies according to the first letter.
For this I use the {az}-binding which is working great.
But I would like to add the year to the folder if it is a movie and if it is a collection add nothing.
e.g.
Movies/Lord of The Rings Collection/.mkv
Movies/American Hustle (2013)/.mkv
I have trouble in adding the year to the folder if it is a folder.
My movieformat looks like this at the moment:
This results in
Movies/Lord of The Rings Collection/.mkv
Movies/American Hustle/.mkv
Any help is much appreciated
I would like to sort my movies in Collections and movies according to the first letter.
For this I use the {az}-binding which is working great.
But I would like to add the year to the folder if it is a movie and if it is a collection add nothing.
e.g.
Movies/Lord of The Rings Collection/.mkv
Movies/American Hustle (2013)/.mkv
I have trouble in adding the year to the folder if it is a folder.
My movieformat looks like this at the moment:
Code: Select all
'movieFormat=/volume1/03_Filme/01 Movies/{az}/{any{collection}{n.upperInitial()}{y}}/{n.upperInitial()} ({y}) {file.path.contains('\''3D'\'') || file.path.contains('\''3-D'\'') ? '\''3D '\'':'\'\''}{file.path.contains('\''HSBS'\'') ? '\''HSBS '\'':'\'\''}{file.path.contains('\''FSBS'\'') ? '\''FSBS '\'':'\'\''} {source} {vf} {vc} {ac} {af}'
Movies/Lord of The Rings Collection/.mkv
Movies/American Hustle/.mkv
Any help is much appreciated
