manual filter for files not in theTVDB

Support for Windows users
Post Reply
ltb76
Posts: 5
Joined: 07 Aug 2016, 11:49

manual filter for files not in theTVDB

Post by ltb76 »

Hi,

I'm relative new to filebot, I'm using it with this commandline:

Code: Select all

filebot.exe -script fn:amc --output "\\domain.local\common\Video" --action move -non-strict "\\domain.local\common\TMP\Torrent\finished" --log-file "\\domain.local\common\Video\amc.log" --def excludeList=amc.txt --def unsorted=y --def subtitles=en,fr,da --def music=y --def deleteAfterExtract=y --def clean=y
In general that works very well for me.
However, sometimes I download local TV shows / podcasts or videos that are not identifiable by TheTVDB, and they end up in the unsorted folder.
That is not a huge problem, but I would like to try to automate that aswell :)

Here is an example of a files / archives

..\Dive.01.08.2016\Dive.01.08.2016_LarsandPeter.r01
..\Dive.01.08.2016\Dive.01.08.2016_LarsandPeter.rNN
..\Dive.01.08.2016\Dive.01.08.2016_LarsandPeter.rar

..\Monopol.01.08.2016\Dive.06.08.2016_text-text-text.r01
..\Monopol.01.08.2016\Dive.06.08.2016_text-text-text.rNN
..\Monopol.01.08.2016\Dive.06.08.2016_text-text-text.rar

In general they are all easy to identify on the name.

My idea was to run filebot script before running the AMC script:
filebot -extract "\\domain.local\common\TMP\Torrent\finished" --output "\\domain.local\common\Diving_Vids" -r --filter n ==*Dive*
filebot -extract "\\domain.local\common\TMP\Torrent\finished" --output "\\domain.local\common\PodCast\Monopolet" -r --filter n ==*Monopol*
and then delete the folders after.

But I cant seem to get it to work.

My fallback plan is to run a simple script to clean up the unsorted folder afterwards.

Any input much appreciated.
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: manual filter for files not in theTVDB

Post by rednoah »

1.
You can pass in your own --def unsortedFormat and then mangle the output path any way you like. This thread should give you some useful pointers: viewtopic.php?f=10&t=4027


2.
The -extract command doesn't support the --filter option.


3.
Using * on the command-line doesn't do what you think it does: viewtopic.php?f=4&t=1899
:idea: Please read the FAQ and How to Request Help.
Post Reply