Create a funtion to sort movies in there sets. For example:
movies in one folder:
/Star Wars: Episode II - Attack of the Clones (2002).mkv
/Star Wars: The Force Awakens (2015).mkv
Get movie set infos from TMDB by movie. For example:
https://www.themoviedb.org/collection/10
Create movie set folder and put the movies into the set folder:
/Star Wars Collection (1977-2019)/Star Wars: Episode II - Attack of the Clones (2002).mkv
/Star Wars Collection (1977-2019)/Star Wars: The Force Awakens (2015).mkv
Is that feature possible to implement
thanks anton
Sort movies automaticaly into set folder
Re: Sort movies automaticaly into set folder
1.
If you don't care about the years, then it's easy:
2.
If you do care about the years then it's probably still possible, but significantly more tricky, the {model} binding might help:
viewtopic.php?f=5&t=9814
e.g.
This one only considers the movies years currently being processed though, so you'll need to process the entire collection in one go for it to work the way you want.
EDIT:
r6317 introduces the {cy} collection years binding to make this particular use case easier in the future.
If you don't care about the years, then it's easy:
Code: Select all
{collection}/{ny}
2.
If you do care about the years then it's probably still possible, but significantly more tricky, the {model} binding might help:
viewtopic.php?f=5&t=9814
e.g.
Code: Select all
{model.findAll{ it.collection == collection }.y.bounds()}

EDIT:
r6317 introduces the {cy} collection years binding to make this particular use case easier in the future.
Re: Sort movies automaticaly into set folder
Perfect, thank you so much