FileBot seems to be using parent folder name to determine movie match

Support for Ubuntu and other Desktop Linux distributions
Post Reply
rdp1408
Posts: 2
Joined: 16 Aug 2016, 03:05

FileBot seems to be using parent folder name to determine movie match

Post by rdp1408 »

Is there any way to prevent FileBot from using the parent folder name when trying to find a movie match? I'm including the output of my command with and without the -non-strict argument so we can see the issue more clearly.

Environment:
$ uname -a && filebot -version
Linux NASsy 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
FileBot 4.7.2 (r4178) / Java(TM) SE Runtime Environment 1.8.0_102

Command with -non-strict:

Code: Select all

filebot -script fn:amc --output /mnt/raid1/media --action test --conflict skip -non-strict --log-file amc.log --def unsorted=y artwork=n music=n ut_dir=/home/rodney/automation/work ut_kind=single ut_file='Avengers Age of Ultron.mp4'
Output:
Locking /home/rodney/.filebot/logs/amc.log
Run script [fn:amc] at [Mon Aug 15 23:00:37 EDT 2016]
Parameter: unsorted = y
Parameter: artwork = n
Parameter: music = n
Parameter: ut_dir = /home/rodney/automation/work
Parameter: ut_kind = single
Parameter: ut_file = Avengers Age of Ultron.mp4
Input: /home/rodney/automation/work/Avengers Age of Ultron.mp4
Avengers Age of Ultron.mp4 [series: Avengers, movie: Work (1978)]
Exclude Series: Avengers
Group: [tvs:null, mov:work 1978] => [Avengers Age of Ultron.mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/home/rodney/automation/work/Avengers Age of Ultron.mp4]
[TEST] Rename [/home/rodney/automation/work/Avengers Age of Ultron.mp4] to [/mnt/raid1/media/Movies/Work (1978)/Work (1978).mp4]
Processed 1 files
Done
Command without -non-strict:

Code: Select all

filebot -script fn:amc --output /mnt/raid1/media --action test --conflict skip --log-file amc.log --def unsorted=y artwork=n music=n ut_dir=/home/rodney/automation/work ut_kind=single ut_file='Avengers Age of Ultron.mp4'
Output:
Locking /home/rodney/.filebot/logs/amc.log
Run script [fn:amc] at [Mon Aug 15 23:11:40 EDT 2016]
Parameter: unsorted = y
Parameter: artwork = n
Parameter: music = n
Parameter: ut_dir = /home/rodney/automation/work
Parameter: ut_kind = single
Parameter: ut_file = Avengers Age of Ultron.mp4
Input: /home/rodney/automation/work/Avengers Age of Ultron.mp4
Avengers Age of Ultron.mp4 [series: Avengers, movie: Work (1978)]
Exclude Series: Avengers
Group: [tvs:null, mov:work 1978] => [Avengers Age of Ultron.mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/home/rodney/automation/work/Avengers Age of Ultron.mp4]
CmdlineException: [work/Avengers Age of Ultron.mp4] Multiple options: Force auto-select requires non-strict matching: [Work (1978), Work (1920), Work (1915), Avengers: Age of Ultron (2015), Work Camp (1974), Work, Place (1998), Work in Progress (2001), The Avengers (1998), The Avengers (2012), Holy Work (2007), Blood Work (2002), After Work (2015), Dirty Work (1998), Maiden Work (1997), Shoddy Work (1987), Men at Work (1990), Men at Work (2006), Signature Work (2016), Part-Time Work (1980), France at Work (1895), How Most Things Work (2015), L'Oeuvre des Jours (2014)]
Failed to identify or process any files
Processing 1 unsorted files
[TEST] Rename [/home/rodney/automation/work/Avengers Age of Ultron.mp4] to [/mnt/raid1/media/Unsorted/work/Avengers Age of Ultron.mp4]
Processed 1 files
Done
Note all the hits for "work".
Any help would be greatly appreciated. Thanks.
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot seems to be using parent folder name to determine movie match

Post by rednoah »

Uses the folder name, and the file name, and a few other things.

Please read Add Blacklisted Terms and Improve Movie / Series Detection for more information.

I've added work to the list but if you want to make it work right away you can use folder names like Complete that are already on the list.
:idea: Please read the FAQ and How to Request Help.
rdp1408
Posts: 2
Joined: 16 Aug 2016, 03:05

Re: FileBot seems to be using parent folder name to determine movie match

Post by rdp1408 »

Aha! Perfect. I looked around for something like this but obviously didn't find it. Thank you!

I changed the folder name to one of the already blacklisted values as a test and it works perfectly now. Thanks.

P.S.: FileBot is absolutely amazing. I wish I had come across it sooner.
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot seems to be using parent folder name to determine movie match

Post by rednoah »

Well... I do suck at marketing... Please recommend FileBot to your friends. :P
:idea: Please read the FAQ and How to Request Help.
Post Reply