EDIT: Of course, couple minutes after posting I figured out what was up.... apparently if there's an error in --def when running through PowerShell, it just ignores that parameter. Turned out I needed to replace most of the " with ' in the renaming script, no idea why.... worked perfectly fine through the GUI using "
Code: Select all
filebot -script dev:amc "D:/_JDownloader Downloads" --output "T:/_TV Shows" --log-file amc.log --action copy --conflict skip -non-strict --def clean=y --def "seriesFormat=t:/_TV Shows/{n.replacePart('')}/{'Season '+s}/{n.replacePart('')} - {s00e00} - {t.replacePart(', Part $1')} [{airdate.format('MM-dd-yyyy')}]({VF}{"."+SOURCE}{"."+VC}{"."+AC}{"."+AF}{"."+fn.match(/DD5.1/)})" --def excludeList=amc.txt --action test
Code: Select all
PS C:\Users\Towner Server> filebot -script dev:amc "D:/_JDownloader Downloads" --output "T:/_TV Shows" --log-file amc.lo
g --action copy --conflict skip -non-strict --def clean=y --def "seriesFormat=t:/_TV Shows/{n.replacePart('')}/{'Season
'+s}/{n.replacePart('')} - {s00e00} - {t.replacePart(', Part $1')} [{airdate.format('MM-dd-yyyy')}]({VF}{"."+SOURCE}{"."
+VC}{"."+AC}{"."+AF}{"."+fn.match(/DD5.1/)})" --def excludeList=amc.txt --action test
Locking C:\Users\Towner Server\AppData\Roaming\FileBot\logs\amc.log
Run script [dev:amc] at [Tue Apr 26 13:22:48 CDT 2016]
Parameter: clean = y
Parameter: excludeList = amc.txt
Argument: D:\_JDownloader Downloads
Using excludes: T:\_TV Shows\amc.txt (0)
Input: D:\_JDownloader Downloads\Penny Dreadful - S03E01 - The Day Tennyson Died.mkv
Group: [tvs:penny dreadful] => [Penny Dreadful - S03E01 - The Day Tennyson Died.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Penny Dreadful]
Fetching episode data for [Penny Dreadful]
[TEST] Rename [D:\_JDownloader Downloads\Penny Dreadful - S03E01 - The Day Tennyson Died.mkv] to [T:\_TV Shows\TV Shows\
Penny Dreadful\Season 03\Penny Dreadful - S03E01 - The Day Tennyson Died.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
PS C:\Users\Towner Server> filebot -script fn:sysinfo
FileBot 4.7 (r3894)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
Failed to preload library: java.lang.UnsatisfiedLinkError: no gcc_s_seh-1 in java.library.path
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.6
JRE: Java(TM) SE Runtime Environment 1.8.0_77
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 864 MB Max Memory / 26 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\Towner Server\AppData\Roaming\FileBot