AMC: Truncate file name before matching?
Posted: 09 Jul 2016, 08:38
My apologies if this is already covered somewhere else but I have searched all over and not found a solution.
I record movies from TV resulting in file names of the format (example)
consisting of the movie title followed by channel name and time stamp. This works great with matching against themovieDB when the title is in the original language but in case of the title translated into Swedish such as in the example above of Chaplin's "The Dictator" matching fails.
However if I strip off everything but the title from the file name and let FileBot search for just "Diktatorn" I get a match. How can I add a filter to strip off everything after and including the first hyphen before matching? AMC command string below:
Using powershell or similar to change the file names before running FileBot won't work because it will mess up the recording database and episode matching.
Many thanks in advance
I record movies from TV resulting in file names of the format (example)
Code: Select all
Diktatorn-SVT2 HD-2200-20160708.ts
However if I strip off everything but the title from the file name and let FileBot search for just "Diktatorn" I get a match. How can I add a filter to strip off everything after and including the first hyphen before matching? AMC command string below:
Code: Select all
filebot -script fn:amc --output "F:/ServerFolders/filebot/movies" --action move -non-strict "F:/ServerFolders/Recordings" --log-file "F:/ServerFolders/filebot/movies/amc.log" --db TheMovieDB --lang sv --def excludeList="F:/ServerFolders/filebot/movies/amc.txt" "movieFormat=V:/ServerFolders/Movies/{n} ({y})/{n} ({y})" "ut_label=Movie"
Many thanks in advance