Would I have to replace each drive letter with ['C:/MountPoint/Drive_1', 'C:/MountPoint/Drive_2'] ? It seems like there would be a better way.
I use qBittorrent.
Code: Select all
filebot.launcher.exe -script fn:amc --output "C:/Movies" --log-file amc.log --action move --conflict auto -non-strict --def "seriesFormat={['D:', 'E:', 'F:', 'G:', 'H:', 'I:', 'J:', 'K:', 'L:', 'M:', 'N:', 'O:', 'P:', 'Q:', 'R:', 'S:', 'T:', 'U:', 'V:', 'W:'].collect{ drive -> def a=n; return new File(drive+\"/TV/\", a)}.sort{ a,b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{episode.special ? 'Specials' : 'Season '+s}/{s00e00} {t}" "movieFormat={['D:', 'E:', 'F:', 'G:', 'H:', 'I:', 'J:', 'K:', 'L:', 'M:', 'N:', 'O:', 'P:', 'Q:', 'R:', 'S:', 'T:', 'U:', 'V:', 'W:'].collect{ new File(it+'/Movies/'+any{collection+'/'}{''}) }.sort{ a,b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, \" \") + ')'} ({y}) {\"[$vf]\"}/{n} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, \" \") + ')'} ({y})" "musicFormat=Music/{n}/{\$album/}{\${pi.pad(2)}. } {t}" --def plex=10.0.0.15:********* --def pushbullet=********* --def @/C:/Filebot_Ignore_List/ignore_list.txt --def deleteAfterExtract=y --def clean=y --def "ut_label=none" "ut_title=%N" "ut_kind=multi" "ut_dir=%F"