conditional collection & genre scheme
Posted: 11 Aug 2014, 21:11
before anybody tells me to check other posts
i have already done that and did not get what i want
http://www.filebot.net/forums/search.ph ... onditional
The conditional naming scheme is
if the movie is a part of collection:
Collections\Dark Knight Collection, The \Batman Begins [2005, PG-13, 8.3]
if the movie is not a part of collection:
[Drama]\Perks of Being a Wallflower, The [2012, PG-13, 8.1]
i use this
{collection.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)}[{genres.contains('Animation') ? 'Animation' : genres[0]}]\{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} {[y, imdb.certification, imdb.rating]}\
but i can't figure how to create the Collections folder
so basically i want to sort movies into collections and non-collections, and sort non-collections into genres with forcing animation genre if present
and i don't care if the collections has [{genres.contains('Animation') ? 'Animation' : genres[0]}] or not
i hope i made it clear
i have already done that and did not get what i want
http://www.filebot.net/forums/search.ph ... onditional
The conditional naming scheme is
if the movie is a part of collection:
Collections\Dark Knight Collection, The \Batman Begins [2005, PG-13, 8.3]
if the movie is not a part of collection:
[Drama]\Perks of Being a Wallflower, The [2012, PG-13, 8.1]
i use this
{collection.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)}[{genres.contains('Animation') ? 'Animation' : genres[0]}]\{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} {[y, imdb.certification, imdb.rating]}\
but i can't figure how to create the Collections folder
so basically i want to sort movies into collections and non-collections, and sort non-collections into genres with forcing animation genre if present
and i don't care if the collections has [{genres.contains('Animation') ? 'Animation' : genres[0]}] or not
i hope i made it clear