Thank you for the quick reply!
I'm much closer to getting things working, but I'm still not there yet.
The main problem is that I will be processing files from different series in a single folder, so I would like a way to apply multiple filters for certain cases.
I have looked at all the links you have provided, and while they were very useful, I feel like I still lack the final bit of information I need to solve my problems.
I feel like the optimal solution for me would be to point FB Node to a .txt-file with multiple lines of filters, that it would then apply to every file. Something like
Code: Select all
age < 1
*magical code to force FileBot to interpret strings as something else*
e.g. "Osomatsu-san" = "Mr. Osomatsu"
*magical code to force FileBot to only search a specific season for a certain series*
e.g. forceSeason("Kekkai Sensen",2)
I know these probably sound nonsensical to you, and the final syntax will look nothing like this, but this is the functionality that I am trying to achieve.
If none of this will work, would it be best to download each series to a separate subfolder, and make a task for each series separately?
I'll give you the full output of the folder I am currently trying to index:
Code: Select all
filebot -script 'fn:amc' /volume1/video/Index --output /volume1/video/ --action test -non-strict --conflict skip --filter 'age <= 1 ' --lang en --def 'ut_label=tv' 'skipExtract=y' 'minLengthMS=300000' 'minFileSize=0' 'seriesFormat={n} - {order.airdate.s00e00} - {t}' --log fine
------------------------------------------
Run script [fn:amc] at [Mon Jan 15 13:35:25 CET 2018]
Input: /volume1/video/Index/ Kekkai Sensen & Beyond - 08 [1080p].mkv
Input: /volume1/video/Index/ Kekkai Sensen & Beyond - 10 [1080p].mkv
Input: /volume1/video/Index/ Kekkai Sensen & Beyond - 11 [1080p].mkv
Input: /volume1/video/Index/ Kekkai Sensen & Beyond - 12 [1080p].mkv
Input: /volume1/video/Index/ Mahoutsukai no Yome - 11 [1080p].mkv
Input: /volume1/video/Index/ Mahoutsukai no Yome - 12 [1080p].mkv
Input: /volume1/video/Index/ Mahoutsukai no Yome - 13 [1080p].mkv
Input: /volume1/video/Index/ Osomatsu-san S2 - 13 [1080p].mkv
Input: /volume1/video/Index/ Osomatsu-san S2 - 14 [1080p].mkv
Input: /volume1/video/Index/ Overlord II - 01 [1080p].mkv
Input: /volume1/video/Index/ Violet Evergarden - 01 [1080p].mkv
Rename episodes using [TheTVDB]
Auto-detected query: [Kekkai Sensen, kekkai sensen beyond, sensen beyond]
Fetching episode data for [Blood Blockade Battlefront]
Fetching episode data for [Beyond]
Fetching episode data for [Batman Beyond]
Apply filter [age <= 1 ] on [98] items
No matching episode: Kekkai Sensen & Beyond - 08 [1080p].mkv
No matching episode: Kekkai Sensen & Beyond - 10 [1080p].mkv
No matching episode: Kekkai Sensen & Beyond - 11 [1080p].mkv
No matching episode: Kekkai Sensen & Beyond - 12 [1080p].mkv
CmdlineException: Failed to match files to episode data
Rename episodes using [TheTVDB]
Auto-detected query: [index]
Fetching episode data for [A Certain Magical Index]
Apply filter [age <= 1 ] on [54] items
No matching episode: Mahoutsukai no Yome - 11 [1080p].mkv
No matching episode: Mahoutsukai no Yome - 12 [1080p].mkv
No matching episode: Mahoutsukai no Yome - 13 [1080p].mkv
No matching episode: Osomatsu-san S2 - 13 [1080p].mkv
No matching episode: Osomatsu-san S2 - 14 [1080p].mkv
No matching episode: Violet Evergarden - 01 [1080p].mkv
CmdlineException: Failed to match files to episode data
Rename episodes using [TheTVDB]
Auto-detected query: [Overlord, index]
Fetching episode data for [Overlord]
Fetching episode data for [The Devil Is a Part-Timer!]
Fetching episode data for [A Certain Magical Index]
Apply filter [age <= 1 ] on [109] items
[TEST] From [/volume1/video/Index/ Overlord II - 01 [1080p].mkv] to [/volume1/video/Overlord - S02E02 - Departure.mkv]
Processed 1 files
------------------------------------------
[Process completed]
Note the folowing things:
1) Filebot still keeps insiting on "A certain magical index" being the correct series for "Mahoutsukai no Yome" along with a couple of other, unrelated series. If I manually remove this title from the job, it will simply not find any match at all.
2) Filebot finds no matches for Kekkai Sensen with age <= 1, even though
the airdates on TheTVDB are within that range. It does, however, work as intended for Overlord.
I know this is a lot to ask of you, so thanks once again for taking the time to deal with my questions!