Help modifying filebot.sh script to organize movies by new releases
Posted: 24 Feb 2019, 20:00
I'm using the filebot.sh file to call the AMC script to organize my movies. Presently all movies are placed in the parent folder /Movies.
e.g. /Movies/Movie Title (2019)
I'd like to add an additional step that first determines the year of the movie's release, then adds them to the following if the movie was released in the present year. Like so:
e.g. /Movies/Movies-New Releases/Movie Title (2019)
Otherwise, if the movie falls in any other release year, it places it in the default folder /movies/movies-archive.
I've taken a look at the filebot.sh file and it seems to me the line item that needs to change is the following:
However, i dont know what would be the most efficient way to execute an if/else statement that determines year of movie and then places them correctly in the appropriate subfolder: Movies-New Releases or Movies-Archive.
What would you suggest?
Thanks!
e.g. /Movies/Movie Title (2019)
I'd like to add an additional step that first determines the year of the movie's release, then adds them to the following if the movie was released in the present year. Like so:
e.g. /Movies/Movies-New Releases/Movie Title (2019)
Otherwise, if the movie falls in any other release year, it places it in the default folder /movies/movies-archive.
I've taken a look at the filebot.sh file and it seems to me the line item that needs to change is the following:
Code: Select all
# Movies/Fight Club.mkv
MOVIE_FORMAT="Movies/{ny}/{n.$QUOTE_FIXER} ({y}) {' CD'+pi}"
What would you suggest?
Thanks!