Page 1 of 1

Filter does not works with movies in AMC

Posted: 12 Apr 2015, 07:31
by birno
Hi,

I'm using the AMC script with some filters, which works fine for series but doesn't for movies.

Command:

Code: Select all

filebot -no-xattr -script fn:amc --log-file amc.log --action test -non-strict --conflict auto --def skipExtract=n --def deleteAfterExt
ract=n --def "seriesFormat={n}/Season {s.pad(2)}/{n} - {sxe} movieFormat={n} ({y})/{n} ({y})" --output c:\seed\something someMovie --filter "!n.contains('Seed')"
Output:

Code: Select all

Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this release.
Parameter: skipExtract = n
Parameter: deleteAfterExtract = n
Parameter: seriesFormat = {n}/Season {s.pad(2)}/{n} - {sxe} movieFormat={n} ({y})/{n} ({y})
Argument: c:\seed\something
Input: c:\seed\something\movieName.mkv
Exclude: c:\seed\something\movieName.nfo
Exclude: c:\seed\something\movieName.sfv
movieName.mkv [series: Seed, movie: movieName]
Unable to differentiate: [movieName.mkv] => [Seed] VS [movieName]
Group: [tvs:null, mov:null, anime:null] => [movieName.mkv]
Finished without processing any files
Failure (┬░_┬░)
So it's ignore the filter, but when I using the same command line with a series as argument, it works and the output contains a line like this:

Code: Select all

Apply Filter: {!n.contains('Seed')}
Any idea what's the problem?

Re: Filter does not works with movies in AMC

Posted: 12 Apr 2015, 11:31
by rednoah
1)
--filter works for movies.

2)

Code: Select all

Unable to differentiate: [movieName.mkv] => [Seed] VS [movieName]
In the amc script Unable to differentiate means that the files in questions are gonna be processed NEITHER as series NOR as movie. Since files are not processed --filter is never applied.

3)
Please read the manual on how to fine-tune movie/series differentiation. I recommend using labels or "TV Series" / "Movie" parent folders that force one mode or the other. See docs for details.

Re: Filter does not works with movies in AMC

Posted: 13 Apr 2015, 19:39
by birno
Ok, thanks, wasn't clear that that the problem is the series vs. movie thing.
After setting ut_label it works for movies.
Now has an other problem with music, the label is "music", the musicFormat is set, but it's exclude every song.
Trying to figure out what is this, but looks strange.

Re: Filter does not works with movies in AMC

Posted: 14 Apr 2015, 05:52
by rednoah
Maybe?
--def music=y Process music files as well. Disabled by default.

Re: Filter does not works with movies in AMC

Posted: 14 Apr 2015, 16:52
by birno
rednoah wrote:Maybe?
--def music=y Process music files as well. Disabled by default.
I swear I read the whole manual( a few months ago when started to use this script :D ).
But at the time I used only for movie and series.
Thanks!