Hello, after trying a few different things and getting stressed out over it I decided to ask for some help. I'm trying to make the following with my movies:
- User/Movies/Pirates of the Caribbean (2003), Curse of the Black Pearl
- User/Movies/Pirates of the Caribbean (2017), Dead Men Tell No Tales
I'm having no luck with the second two, to get the collection prefix and date followed by movie title. I like this as it groups the movies of a trilogy together, ordered by date, and still gives the movie installment title. Has anyone got something similar? I would like it to be able to run through ones in collections and ones not, and output accordingly.
I have tried things along the lines of:
- {$Collection = "" ? '' : ({collection.replaceAll("Collection", replacement = "")}+"("+{y}+"),")}
This still outputted a date on a single movie, meaning it would come before the movie installment name.
Then there is removing the collection name from the installment name:
- {n.replaceAll($Collection, replacement ="").replaceAll("Collection", replacement ="")}
Again no luck with this part, as I don't fully understand the stacking of elements and breakout.
Any help is greatly apprechiated.