I am trying to get scripting going after switching from linux to windows, and I can't seem to migrate it across.
The issue I am having is that the seriesFormat isn't being handled correctly
ie.
E:\.torrents\completed>filebot -script fn:utorrent-postprocess . --output "E:\" --action hardlink --conflict skip -non-strict --def seriesFormat="TV Shows\{n}\Season {s}\{n} {s}x{e.pad(2)} {t}"
Argument: E:\.torrents\completed
Argument: E:\.torrents\completed\Shows\{n}\Season
Argument: E:\.torrents\completed\{s}\{n}
Argument: E:\.torrents\completed\{s}x{e.pad(2)}
Argument: E:\.torrents\completed\{t}
Exception: File not found: E:\.torrents\completed\Shows\{n}\Season <blah blah blah...>
I have searched high and low but I can't figure out why it fails in a .cmd or written directly into a cmd prompt file .. (the exact same thing works pasted into powershell though...)
seriesFormat error
Re: seriesFormat error
The last back slash in "E:\" is escaping the " thus the argument continues until the next ". So... NEVER EVER USE BACKSLASH.
-
- Posts: 2
- Joined: 01 Mar 2013, 08:47
Re: seriesFormat error
Wow, that was a dumb error... Thanks!
...
Sorry for wasting your precious time...
...
Sorry for wasting your precious time...
Re: seriesFormat error
No worries. This is clearly the fault of the guy who thought using \ as escape character and file separator. Satan shall have his soul.
Seriously, half the support requests lately are about the many pitfalls of Windows CMD...
Seriously, half the support requests lately are about the many pitfalls of Windows CMD...