However I have run into an issue...
When calling filebot from the command line (Powershell Core 6 on Windows) it works just fine, however when calling filebot from TotalCommander (Like I have been doing for years now, without issues) I get the following error message:
Code: Select all
Rename episodes using [TheTVDB]
Autoo-detected query: [Murdoch Mysteries]
Fetching episode data for [Murdoch Mysteries]
Fetching episode data for [The Murdoch Mysteries (2004)]
Apply filter [!readLines('D:/Film/Filebot_Excludes.txt').contains(n)] on [350] items
[MOVE] from [D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv] to [D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv\Shows\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv (Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv)\Season Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv.Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv.Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv.mkv]
[MOVE] Failure: java.nio.file.NoSuchFileException: D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv\Shows
Processed 0 files
D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv\Shows
java.nio.file.NoSuchFileException: D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv\Shows
at net.filebot.util.FileUtilities.resolveDestination(FileUtilities.java:122)
at net.filebot.util.FileUtilities.moveRename(FileUtilities.java:65)
at net.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:25)
at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:640)
at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:251)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:97)
at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:124)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:33)
at net.filebot.Main.main(Main.java:132)
(There might be typos, I had to copy it all by hand from a recording since the window closed before I could see anything)
The full command run by hand:
Code: Select all
filebot -rename "D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv" --db TheTVDB -non-strict --filter "!readLines('D:/Film/Filebot_Excludes.txt').contains(n)" --log FINE --format "{ def ShowInfo = csv('D:/Film/filter.csv').get(n.lower()).split(';') ?: ['????','New']; def pattern = '%s/Shows/%s (%s)/Season %s/%s.%s.%s'; String.format(pattern,ShowInfo[1],n,ShowInfo[0],s.pad(2),n.upperInitial().space('.'),S00E00,t.upperInitial().space('.')) }"
What is run from TotalCommander:
Code: Select all
Command: filebot
Parameters: -rename %P%S --db TheTVDB -non-strict --filter "!readLines('D:/Film/Filebot_Excludes.txt').contains(n)" --log FINE --format "{ def ShowInfo = csv('D:/Film/filter.csv').get(n.lower()).split(';') ?: ['????','New']; def pattern = '%s/Shows/%s (%s)/Season %s/%s.%s.%s'; String.format(pattern,ShowInfo[1],n,ShowInfo[0],s.pad(2),n.upperInitial().space('.'),S00E00,t.upperInitial().space('.')) }"
(%P%S gets expanded to the path and filename of the selected file(s), so in this case would be D:\Film\Out\Murdoch.Mysteries.S13E12.Fox.Hunt.1080p.DDP2.0.H.264-TEST.mkv)
Would you have any ideas as to what could be causing this issue?
As mentioned, I have been using the same method of calling FileBot through TotalCommander for years without any issues and the previous format worked aswell.
Code: Select all
-rename %P%S --db TheTVDB -non-strict --filter "!readLines('D:/Film/Filebot_Excludes.txt').contains(n)" --log FINE --format "{csv('D:/Film/filter.csv').get(n.lower()).split(';')[1] ?: 'New'}/Shows/{n} ({csv('D:/Film/filter.csv').get(n.lower()).split(';')[0] ?: '????'})/Season {s.pad(2)}/{n.upperInitial().space('.')}.{S00E00}.{t.upperInitial().space('.')}"