Hey Rednoah,
Is there by any chance a way to exclude certain files from being moved to the movies/tvshows folder?
Lets say i downloaded a movie and it has the following files:
- movie1.mkv
- movie1.srt
- movie1.nfo
is it possible to only move movie1.mkv?
thnx for the help.
gr. Oene
Exclude certain files from being moved by the script.
Re: Exclude certain files from being moved by the script.
Sure, just run your own locally modified script.
This is my code:
This is what you want:
This is my code:
Code: Select all
input = input.findAll{ it.isVideo() || it.isSubtitle() || it.isDisk() || it.isAudio() }
Code: Select all
input = input.findAll{ it.isVideo() }
Re: Exclude certain files from being moved by the script.
So i should do the following to the original script
and change it into:
Code: Select all
filebot -script fn:utorrent-postprocess "c:/media/downloads/compleet" --output "C:/media/" --action move --conflict override -non-strict --def subtitles=n artwork=n "movieFormat=/films/{n} {y}/{fn}" "seriesFormat=/series/{n}/{fn}" >> "C:/Media/filebot.log" 2>&1
Code: Select all
filebot -script fn:utorrent-postprocess "c:/media/downloads/compleet" --output "C:/media/" --action move --conflict override -non-strict --def subtitles=n artwork=n "movieFormat=/films/{n} {y}/{fn}" "seriesFormat=/series/{n}/{fn}" input = input.findAll { it.isVideo() } >> "C:/Media/filebot.log" 2>&1
Re: Exclude certain files from being moved by the script.
No. You'll need to change the code. Means you'll need to download http://filebot.sourceforge.net/scripts/ ... ess.groovy, then open the file. Then make the change I described above. And then call your own script via filebot -script "C:/my-utorrent-postprocess.groovy" ...