Help collections with year
Posted: 27 Aug 2020, 23:06
Good Evening,
I am looking to organize some films better and I would like to separate some into collections. in the research done here on the forum, I managed to get close to the result I would like using the following code:
Result:
but only the year of the collection between brackets is missing. I would like a result close to:
I tried to put the parentheses manually between the {cy} function, but when there is no collection a folder "()" is created.
I also tried to use the {any {collection} ...} function but I was unable to make the years appear. I didn't quite understand this function.
I would like to know if anyone could help me with these questions.
Thank you very much.
I am looking to organize some films better and I would like to separate some into collections. in the research done here on the forum, I managed to get close to the result I would like using the following code:
Code: Select all
{vf}/{collection} {cy.join('-')}/{n.colon(' - ')} ({y})/{n.colon(' - ')} ({y}){if (ext == 'srt') '.pt-BR'}{fn.match(/.FORCED/)}
Code: Select all
1080p/Avatar Collection 2009-2028/Avatar (2009)/Avatar (2009).mkv
Code: Select all
1080p/Avatar Collection (2009-2028)/Avatar (2009)/Avatar (2009).mkv
1080p/James Bond Collection 1962-2020/Quantum of Solace (2008)/Quantum of Solace (2008).mkv
1080p/3 Things (2017)/3 Things (2017).mkv
I also tried to use the {any {collection} ...} function but I was unable to make the years appear. I didn't quite understand this function.
I would like to know if anyone could help me with these questions.
Thank you very much.