Overwriting Extension with Script
Posted: 24 May 2015, 07:02
Hello there,
I'm looking for help with two things;
First one being, I'm looking for a way to change the extensions of the files I process while using the script. Like the 'Override extension' option in the GUI.
I have this set up as a batch file, which I run with Deluge in order to sort my files,
Everything works great, however I would like to be able to have them all converted to .mkv file extensions. So when I go to replace them with better quality versions, I don't end up with two files because one was an mp4 and the other an avi.
The second one is a bit simpler. Regarding the code, If I want to have it filter everything but movies (both anime and TV series), how do I go about doing that?
Also, I'm unsure where to put it into my existing code for it to function properly.
Thanks, Jack
I'm looking for help with two things;
First one being, I'm looking for a way to change the extensions of the files I process while using the script. Like the 'Override extension' option in the GUI.
I have this set up as a batch file, which I run with Deluge in order to sort my files,
Code: Select all
D:\Programs\FileBot\filebot.exe -script fn:amc --output "F:/Downloads/Renamed" --log-file amc.log --action copy -non-strict --def minFileSize=10 clean=y artwork=n extras=n music=y unsorted=y "ut_kind=multi" "ut_dir=F:/Downloads/Renamed/Unsorted" "seriesFormat=B:/New TV Shows/Check/{n}/{'Season '+s}/{n} - {sxe} - {t}" "animeFormat=Z:/Anime/New Downloads/Check/{n}/{'Season '+s}/{n} - {sxe} - {t} - [{group} - {vf}]" "movieFormat=B:/New Movies/Check/{n} ({y})"
The second one is a bit simpler. Regarding the code,
Code: Select all
--filter "age < 7" --def "ut_label=TV"
Also, I'm unsure where to put it into my existing code for it to function properly.
Thanks, Jack