Filter does not works with movies in AMC

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
birno
Posts: 8
Joined: 27 Oct 2014, 18:05

Filter does not works with movies in AMC

Post 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?
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filter does not works with movies in AMC

Post 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.
:idea: Please read the FAQ and How to Request Help.
birno
Posts: 8
Joined: 27 Oct 2014, 18:05

Re: Filter does not works with movies in AMC

Post 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.
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filter does not works with movies in AMC

Post by rednoah »

Maybe?
--def music=y Process music files as well. Disabled by default.
:idea: Please read the FAQ and How to Request Help.
birno
Posts: 8
Joined: 27 Oct 2014, 18:05

Re: Filter does not works with movies in AMC

Post 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!
Post Reply