Support for Windows users
BillyTheKid
Posts: 30 Joined: 19 Dec 2019, 17:15
Post
by BillyTheKid » 07 Aug 2022, 09:41
Hi,
Is it possible to set Filebot to only run on movies which include a specific string e.g 4K?
At present my Filebot call looks like the below.
Code: Select all
C:\Users\User\Downloads\FileBot_4.9.6-portable\filebot -script fn:amc --conflict auto --output "Z:/Shared Videos/Video" --action duplicate -non-strict "Z:/Shared Videos/Torrent/2_Completed" --log-file amc.log --def ignore="S\d+E\d+|\d+x\d+" --def excludeList=amc.txt --def movieFormat="{fn =~ /2160|UHD|4K/ ? '4K Movies' : fn =~ /UFC|ufc/ ? 'UFC' : 'Movies'}/{plex.tail}" seriesFormat={plex} unsorted=y
I’d like Filebot to only process 4K and UFC content.
Is this possible?
Could the filter function be used to achieve this?
Thanks a lot!
BillyTheKid
Posts: 30 Joined: 19 Dec 2019, 17:15
Post
by BillyTheKid » 07 Aug 2022, 17:19
Hi,
I just tried this;
Code: Select all
C:\Users\User\Downloads\FileBot_4.9.6-portable\filebot -script fn:amc --conflict auto --output "Z:/Shared Videos/Video" --action duplicate -non-strict "Z:/Shared Videos/Torrent/2_Completed" --log-file amc.log --file-filter "f =~ /2160|UHD|4K|UFC|ufc/" --def ignore="S\d+E\d+|\d+x\d+" --def excludeList=amc.txt --def movieFormat="{fn =~ /2160|UHD|4K/ ? '4K Movies' : fn =~ /UFC|ufc/ ? 'UFC'}/{plex.tail}" seriesFormat={plex} unsorted=y
Against this file;
Code: Select all
The.Batman.2022.2160p.UHD.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ.mkv
And it is returning;
Code: Select all
Run script [fn:amc] at [Sun Aug 07 18:16:14 BST 2022]
Parameter: ignore = S\d+E\d+|\d+x\d+
Parameter: excludeList = amc.txt
Parameter: movieFormat = {fn =~ /2160|UHD|4K/ ? '4K Movies' : fn =~ /UFC|ufc/ ? 'UFC'}/{plex.tail}
Parameter: seriesFormat = {plex}
Parameter: unsorted = y
Parameter: gmail = *****
Use excludes: Z:\Shared Videos\Video\amc.txt (28)
No files selected for processing
Done ¯\_(?)_/¯
Do you know what i am doing wrong? Am i using the file-filter argument in the right way?
Thanks!
rednoah
The Source
Posts: 23928 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 07 Aug 2022, 17:42
BillyTheKid wrote: ↑ 07 Aug 2022, 17:21
In fact i think your answer in this post (
viewtopic.php?p=56951 ) about folders and subfolders is the reason it isn't working for me...
Yep. Looks like it. Just add
-r as well then:
BillyTheKid
Posts: 30 Joined: 19 Dec 2019, 17:15
Post
by BillyTheKid » 08 Aug 2022, 16:12
rednoah wrote: ↑ 07 Aug 2022, 17:42
BillyTheKid wrote: ↑ 07 Aug 2022, 17:21
In fact i think your answer in this post (
viewtopic.php?p=56951 ) about folders and subfolders is the reason it isn't working for me...
Yep. Looks like it. Just add
-r as well then:
Awesome that worked!