I apologize in advance if this ? exists but I have been hard pressed to find it.
- I am using the command line execution upon a file being completed.
filebot.launcher.exe -script fn:amc --output "E:/media" --action copy --conflict skip -non-strict --log-file amc.log --def "seriesFormat=T:/{n}/Season {s.pad(2)}/{n} - {S00E00} - {t}" --def unsorted=y music=n artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def ignore=UFC --def minFileSize=0
I am hoping it is possible to set different destination locations pending on what show is being renamed.
- Paw Patrol and Mickey Mouse Clubhouse
- Would like those to go into a separate network drive (i.e. K:/) <- Kids TV
Additional questions while I have the attention of much smarter people!:
- Can I ensure (US) is pulled off of some shows so it doesn't create a new directory? (i.e. "House of Cards (US)" )
- Am I using the def ignore correctly to ignore any media with UFC in the title?
- Will minFileSize=0 ignore small 5kb srt files that are in the directory?
Thanks in advance!
Per TV Series Destination
Re: Per TV Series Destination
1.
e.g.
@see viewtopic.php?f=5&t=2
2.
@see http://www.filebot.net/naming.html
3.
--def ignore=UFC will make sure that any file that contains "UFC" (case-insensitive) anywhere in the file path. Just give it a try.
4.
--def minFileSize=0 disables the minimum file size limit. You want --def minFileSize=5000 if you want to exclude files that are smaller than 5k bytes. Just give it a try.
Sure, the output path is defined by your format, which can contain arbitrary logic. Other conditions probably make more sense (e.g. genre equals animation) though.Would like those to go into a separate network drive (i.e. K:/) <- Kids TV
e.g.
Code: Select all
{n =~ 'Mickey Mouse' ? 'K' : 'X'}:/Media/{n}/{n} - {s00e00} - {t}
2.
That one is in the examples.Can I ensure (US) is pulled off of some shows so it doesn't create a new directory? (i.e. "House of Cards (US)" )

Code: Select all
{n.replaceTrailingBrackets()}
3.
--def ignore=UFC will make sure that any file that contains "UFC" (case-insensitive) anywhere in the file path. Just give it a try.

4.
--def minFileSize=0 disables the minimum file size limit. You want --def minFileSize=5000 if you want to exclude files that are smaller than 5k bytes. Just give it a try.

Re: Per TV Series Destination
Thanks for your help!
Donated!
Donated!
Re: Per TV Series Destination
Red,
I seem to have messed up some of the logic...
I think my 'OR' (||) is in the wrong place.
U if Mickey or Paw found, T otherwise.
Everything is going into T at this point, when I switched T and U places, every show went to U.
Do I need to do:
{n =~ 'Mickey' ? 'U' : 'T'} || {n =~ 'Paw' ? 'U' : 'T'}
Current command line:
filebot.launcher.exe -script fn:amc --output "E:/media" --action copy --conflict skip -non-strict --log-file amc.log --def "seriesFormat={n =~ 'Mickey' || 'Paw' ? 'T' : 'U'}:/{n.replaceTrailingBrackets()}/Season {s.pad(2)}/{n} - {S00E00} - {t}" --def unsorted=y music=n artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def ignore=UFC --def minFileSize=500000
I seem to have messed up some of the logic...
I think my 'OR' (||) is in the wrong place.
U if Mickey or Paw found, T otherwise.
Everything is going into T at this point, when I switched T and U places, every show went to U.
Do I need to do:
{n =~ 'Mickey' ? 'U' : 'T'} || {n =~ 'Paw' ? 'U' : 'T'}
Current command line:
filebot.launcher.exe -script fn:amc --output "E:/media" --action copy --conflict skip -non-strict --log-file amc.log --def "seriesFormat={n =~ 'Mickey' || 'Paw' ? 'T' : 'U'}:/{n.replaceTrailingBrackets()}/Season {s.pad(2)}/{n} - {S00E00} - {t}" --def unsorted=y music=n artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def ignore=UFC --def minFileSize=500000
Re: Per TV Series Destination
I'd do a Regex Or:
Code: Select all
{n =~ /Mickey|Paw/ ? 'U' : 'T'}