I have deluge call this batch file:
fb.bat
Code: Select all
set TORRENTID=%1
set TORRENTNAME=%2
set TORRENTPATH=%3
filebot.launcher.exe -script fn:amc --log-file c:/scripts/filebot-amc.log --action copy --conflict auto -non-strict --db TVRage --def "ut_dir=%TORRENTPATH%/%TORRENTNAME%" "ut_kind=multi" "ut_title=%TORRENTNAME%" "music=n" "artwork=n" "backdrops=n" "plex=192.168.10.15" "xbmc=192.168.10.16" "seriesFormat=E:/tvshows/{n}/{\"Season ${s.pad(2)}\"}/{n} - {s00e00} - {t}" "movieFormat=D:/moviedownloads/{n} [{y}] - {fn}" "pushbullet=v1o01bgha9ZUCsuFNaCvHFIkIZ3dexhYWRujAh0FkKAkm"
Code: Select all
Jun 09, 2014 6:09:19 PM net.filebot.cli.ArgumentBean getFiles
WARNING: The filename, directory name, or volume label syntax is incorrect
Jun 09, 2014 6:09:19 PM net.filebot.cli.ArgumentBean getFiles
WARNING: The filename, directory name, or volume label syntax is incorrect
Parameter: ut_dir = E:\tvdownloads/Game
Argument: C:\Program Files (x86)\Deluge\of
Argument: C:\Program Files (x86)\Deluge\Thrones
Argument: C:\Program Files (x86)\Deluge\S04E07
Argument: C:\Program Files (x86)\Deluge\HDTV
Argument: C:\Program Files (x86)\Deluge\x264-KILLERS[ettv]
Argument: C:\Program Files (x86)\Deluge\ut_kind=multi
Argument: C:\Program Files (x86)\Deluge\ut_title=Game
Argument: C:\Program Files (x86)\Deluge\of
Argument: C:\Program Files (x86)\Deluge\Thrones
Argument: C:\Program Files (x86)\Deluge\S04E07
Argument: C:\Program Files (x86)\Deluge\HDTV
Argument: C:\Program Files (x86)\Deluge\x264-KILLERS[ettv]
Argument: C:\Program Files (x86)\Deluge\music=n
Argument: C:\Program Files (x86)\Deluge\artwork=n
Argument: C:\Program Files (x86)\Deluge\backdrops=n
Argument: C:\Program Files (x86)\Deluge\plex=192.168.10.15
Argument: C:\Program Files (x86)\Deluge\xbmc=192.168.10.16
Argument: C:\Program Files (x86)\Deluge\seriesFormat=E:\tvshows\{n}\{"Season ${s.pad(2)}"}\{n} - {s00e00} - {t}
Argument: C:\Program Files (x86)\Deluge\movieFormat=D:\moviedownloads\{n} [{y}] - {fn}
File not found: C:\Program Files (x86)\Deluge\of
Failure (°_°)
Jun 09, 2014 6:17:09 PM net.filebot.cli.ArgumentBean getFiles
WARNING: The filename, directory name, or volume label syntax is incorrect
Jun 09, 2014 6:17:09 PM net.filebot.cli.ArgumentBean getFiles
WARNING: The filename, directory name, or volume label syntax is incorrect
Parameter: ut_dir = E:\tvdownloads/Game
Argument: C:\Program Files (x86)\Deluge\of
Argument: C:\Program Files (x86)\Deluge\Thrones
Argument: C:\Program Files (x86)\Deluge\S04E07
Argument: C:\Program Files (x86)\Deluge\HDTV
Argument: C:\Program Files (x86)\Deluge\x264-KILLERS[ettv]
Argument: C:\Program Files (x86)\Deluge\ut_kind=multi
Argument: C:\Program Files (x86)\Deluge\ut_title=Game
Argument: C:\Program Files (x86)\Deluge\of
Argument: C:\Program Files (x86)\Deluge\Thrones
Argument: C:\Program Files (x86)\Deluge\S04E07
Argument: C:\Program Files (x86)\Deluge\HDTV
Argument: C:\Program Files (x86)\Deluge\x264-KILLERS[ettv]
Argument: C:\Program Files (x86)\Deluge\music=n
Argument: C:\Program Files (x86)\Deluge\artwork=n
Argument: C:\Program Files (x86)\Deluge\backdrops=n
Argument: C:\Program Files (x86)\Deluge\plex=192.168.10.15
Argument: C:\Program Files (x86)\Deluge\xbmc=192.168.10.16
Argument: C:\Program Files (x86)\Deluge\seriesFormat=E:\tvshows\{n}\{"Season ${s.pad(2)}"}\{n} - {s00e00} - {t}
Argument: C:\Program Files (x86)\Deluge\movieFormat=D:\moviedownloads\{n} [{y}] - {fn}
File not found: C:\Program Files (x86)\Deluge\of
Failure (°_°)
Parameter: ut_dir = E:\tvdownloads/Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]
Parameter: ut_kind = multi
Parameter: ut_title = Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]
Parameter: music = n
Parameter: artwork = n
Parameter: backdrops = n
Parameter: plex = 192.168.10.15
Parameter: xbmc = 192.168.10.16
Parameter: seriesFormat = E:/tvshows/{n}/{"Season ${s.pad(2)}"}/{n} - {s00e00} - {t}
Parameter: movieFormat = D:/moviedownloads/{n} [{y}] - {fn}
Input: E:\tvdownloads\Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]\game.of.thrones.s04e09.hdtv.x264-killers.mp4
Exclude: E:\tvdownloads\Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]\game.of.thrones.s04e09.hdtv.x264-killers.nfo
Exclude: E:\tvdownloads\Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]\RARBG.com.txt
Group: [tvs:game of thrones] => [game.of.thrones.s04e09.hdtv.x264-killers.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [game of thrones]
Fetching episode data for [Game of Thrones]
Fetching episode data for [Game of Stones]
[COPY] Rename [E:\tvdownloads\Game.of.Thrones.S04E09.HDTV.x264-KILLERS[rarbg]\game.of.thrones.s04e09.hdtv.x264-killers.mp4] to [E:\tvshows\Game of Thrones\Season 04\Game of Thrones - S04E09 - The Watchers on the Wall.mp4]
Processed 1 files
Notify XBMC: 192.168.10.16
Notify Plex: 192.168.10.15
Done ヾ(@⌒ー⌒@)ノ
Parameter: ut_dir = E:\tvdownloads/Silicon.Valley.S01E08.HDTV.x264-KILLERS.mp4
Parameter: ut_kind = multi
Parameter: ut_title = Silicon.Valley.S01E08.HDTV.x264-KILLERS.mp4
Parameter: music = n
Parameter: artwork = n
Parameter: backdrops = n
Parameter: plex = 192.168.10.15
Parameter: xbmc = 192.168.10.16
Parameter: seriesFormat = E:/tvshows/{n}/{"Season ${s.pad(2)}"}/{n} - {s00e00} - {t}
Parameter: movieFormat = D:/moviedownloads/{n} [{y}] - {fn}
Parameter: pushbullet = *****
Input: E:\tvdownloads\Silicon.Valley.S01E08.HDTV.x264-KILLERS.mp4
Group: [tvs:silicon valley] => [Silicon.Valley.S01E08.HDTV.x264-KILLERS.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [Silicon Valley]
Fetching episode data for [Silicon Valley]
Fetching episode data for [Start-ups: Silicon Valley]
[COPY] Rename [E:\tvdownloads\Silicon.Valley.S01E08.HDTV.x264-KILLERS.mp4] to [E:\tvshows\Silicon Valley\Season 01\Silicon Valley - S01E08 - Optimal Tip-To-Tip Efficiency.mp4]
Processed 1 files
Notify XBMC: 192.168.10.16
Notify Plex: 192.168.10.15
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ