here's the log with some test files:
Code: Select all
Run script [amc.groovy] at [Tue Aug 23 08:56:16 CEST 2016]
Parameter: music = n
Parameter: artwork = n
Parameter: extras = n
Parameter: skipExtract = n
Parameter: clean = y
Parameter: subtitles = en
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = TV-Shows/{n}/{'s'+s.pad(2)}/{n} - {episode.special ? s.pad(2)+"x"+special.pad(2) : s.pad(2)+"x"+e.pad(2)} - {t.replaceAll(/[`...................?]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
Parameter: movieFormat = Movies/{n} ({y})/{n}{" CD$pi"}
Argument: M:\rename
Read archive [Subs.rar] and extract to [M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs]
Extracting files [M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup.idx, M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup.rar]
Read archive [the.matrix.1999-coolgroup.rar] and extract to [M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup\Subs]
Extracting files [M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup\Subs\the.matrix.1999-coolgroup.sub]
Input: M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup.idx
Input: M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup\Subs\the.matrix.1999-coolgroup.sub
Input: M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.mkv
Input: M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo
Exclude: M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.sfv
Exclude: M:\rename\the.matrix.1999-coolgroup\Sample\the matrix-sample.avi
Exclude: M:\rename\the.matrix.1999-coolgroup\Screens\coolgroup.jpg
Exclude: M:\rename\the.matrix.1999-coolgroup\Screens\screen1.png
Group: [moM:the matrix 1999] => [the.matrix.1999-coolgroup.idx, the.matrix.1999-coolgroup.sub, the.matrix.1999-coolgroup.mkv, the.matrix.1999-coolgroup.nfo]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.mkv
Rename movies using [TheMovieDB]
Auto-detect movie from context: [M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.mkv]
Auto-detect movie from context: [M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo]
[MOVE] Rename [M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo] to [M:\Movies\The Matrix (1999)\The Matrix.nfo]
[MOVE] Failed to rename [M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo]
Processed 0 files
M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo -> M:\Movies\The Matrix (1999)\The Matrix.nfo: The process cannot access the file because it is being used by another process.
Delete archive M:\rename\the.matrix.1999-coolgroup\Subs\Subs.rar
Delete archive M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup.rar
Clean clutter files and empty folders
Delete M:\rename\the.matrix.1999-coolgroup\Sample\the matrix-sample.avi
Delete M:\rename\the.matrix.1999-coolgroup\Screens\coolgroup.jpg
Delete M:\rename\the.matrix.1999-coolgroup\Screens\screen1.pngDelete M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup.idx
Delete M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup\Subs\the.matrix.1999-coolgroup.sub
Delete M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup\Subs
Delete M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs\the.matrix.1999-coolgroup
Delete M:\rename\the.matrix.1999-coolgroup\Subs\Subs\Subs
Delete M:\rename\the.matrix.1999-coolgroup\Subs\Subs
Delete M:\rename\the.matrix.1999-coolgroup\Subs
Delete M:\rename\the.matrix.1999-coolgroup\Screens
Delete M:\rename\the.matrix.1999-coolgroup\Sample
Finished without processing any files
Failure (.._..)
not sure why the seriesFormat look different in the log, here's what in the amc_args.txt
Code: Select all
music=n
artwork=n
extras=n
skipExtract=n
clean=y
subtitles=en
deleteAfterExtract=y
seriesFormat=TV-Shows/{n}/{'s'+s.pad(2)}/{n} - {episode.special ? s.pad(2)+"x"+special.pad(2) : s.pad(2)+"x"+e.pad(2)} - {t.replaceAll(/[`´‘’?]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
movieFormat=Movies/{n} ({y})/{n}{" CD$pi"}
and the command is:
Code: Select all
filebot.exe -script amc.groovy M:\rename --action move -non-strict --log-file filebotrename.log --log-lock no --def @"C:\Program Files\Filebot\amc_args.txt" --output M:\
I noticed now in the log it says:
Code: Select all
M:\rename\the.matrix.1999-coolgroup\the.matrix.1999-coolgroup.nfo -> M:\Movies\The Matrix (1999)\The Matrix.nfo: The process cannot access the file because it is being used by another process.
And don't understand why it would be used by another process, is filebot reading the nfo maybe? because it's not open by any other program.