Page 1 of 1

Re: send UFC events to own folder

Posted: 22 Nov 2015, 13:18
by rednoah
Does TheMovieDB / TheTVDB have entries for UFC Events? Are the recognized correctly? Logs?

If yes, then you just need to pass in your own custom formats.

If no, you can use --def ignore or --def ut_label=other and --def unsortedFormat to fully ignore, or ignore them from normal processing.

@see viewtopic.php?f=5&t=2

Re: send UFC events to own folder

Posted: 22 Nov 2015, 14:29
by rednoah
Using something like this in your movie format should work well enough:

Code: Select all

{n =~ /UFC/ ? 'UFC Events' : 'Movies'}

Re: send UFC events to own folder

Posted: 19 Dec 2019, 17:34
by BillyTheKid
Hi,

Are you able to show the full script call?

I am struggling to understand how the UFC move part of the script fits into the main script.

Thanks so much

i.e.

Code: Select all

filebot -script fn:amc --output "C:/Complete" --log-file amc.log --action copy --conflict override -non-strict --def music=y --def deleteAfterExtract=y --def clean=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
+

Code: Select all

{n =~ /UFC/ ? 'UFC Events' : 'Movies'}

Re: send UFC events to own folder

Posted: 19 Dec 2019, 18:50
by rednoah
You'd have to pass in your own custom format, so you'll need to familiarize yourself custom format expressions, and how to use them in combination with the amc script:
:arrow: https://www.filebot.net/naming.html
:arrow: https://www.filebot.net/amc.html



:idea: Probably something like this:

Code: Select all

--def movieFormat="{n =~ /UFC/ ? 'UFC Events' : 'Movies'}/{plex.tail}"