Code: Select all
/usr/bin/filebot -no-xattr -rename --db TheMovieDB -non-strict --log-file /root/filebot.log --action test --format /mount/media/Movies/"{any{genre}{'NoGenre'}} : {genres.contains('Comedy') ? 'Comedy' : genres.contains('Animation') ? 'Animation' : genres.contains('Science Fiction') ? 'Sci-Fi' : genres.contains('War') ? 'War' : genres.contains('Documentary') ? 'Documentary' : genres.contains('Fantasy') ? 'Fantasy': genres.contains('Sport') ? 'Sport': genres.contains('Horror') ? 'Horror': genres[0]}/{n} ({y})/{n} ({y})" /mount/media/pre-process/*
Code: Select all
{any{genre}{'NoGenre'}}
This is what I get now:
Code: Select all
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mount/media/pre-process/Heist.mkv]
Stripping invalid characters from new path: /mount/media/Movies/Crime : Crime/Heist (2015)/Heist (2015)
[TEST] Rename [/mount/media/pre-process/test/Heist.mkv] to [/mount/media/Movies/Crime Crime/Heist (2015)/Heist (2015).mkv]
Processed 1 files
I am sure I am missing something simple and looking for some guidance.
Thanks