Ignore folder hierarchy

Any questions? Need some help?
Post Reply
alchemist
Posts: 2
Joined: 31 Aug 2013, 11:57

Ignore folder hierarchy

Post by alchemist »

Hi - Is it possible to ignore the folder hierarchy and only look at the filename or filename and parent folder only?
Or - provide certain words to always ignore ?

My folders look like this:
/tank/movies/new-converted

Script is:
#!/bin/bash
filebot -r -rename "$1" --db TheMovieDB --format "/tank/movies/new-converted/{n} ({y})/{n} ({y}) [{sdhd}] [{certification}] [{rating}] [{imdbid}] [{vc}-{ac}] [{vf}] [{info.runtime}] "

$moviebot Lincoln-2012-1024x426-HD.m4v

Rename movies using [TheMovieDB]
Auto-detect movie from context: [/tank/movies/new-converted/Lincoln-2012-1024x426-HD.m4v]
Exception: [tank/Lincoln-2012-1024x426-HD.m4v] Failed to auto-select search result: [Lincoln (2012), The Woman in the Septic Tank (2011), Fish Tank (2009), Tank (1984), Tank (1974), Think Tank (2006), Tank Girl (1995), 7 More Days In The Tank (2006), Tank Commando (1959), Strikeforce: Tank vs Buentello (2006), Tank Battalion (1958), Stop that Tank! (1942), Tank Battalion (1991), Dominion: Tank Police (1988), Herbie Fully Loaded (2005), The Haunting Hour: Don't Think About It (2007), The Night of the Generals (1967), The Beast of War (1988)]
Done ヾ(@⌒ー⌒@)ノ

As you can see the context search always returns films with the word 'tank' in - I would like to stop that happening

Thanks!
User avatar
rednoah
The Source
Posts: 23030
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ignore folder hierarchy

Post by rednoah »

Yeah, but Lincoln (2012) still is guessed as most likely result, so turn on -non-strict and it'll work.

But just to be nice to TheMovieDB I'll add "tank" to the global blacklist.
:idea: Please read the FAQ and How to Request Help.
alchemist
Posts: 2
Joined: 31 Aug 2013, 11:57

Re: Ignore folder hierarchy

Post by alchemist »

Thank you - I didn't want to turn on non-strict as other films don't always match

As a feature request - could we have the ability to create our own blacklist files ?
User avatar
rednoah
The Source
Posts: 23030
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ignore folder hierarchy

Post by rednoah »

Global blacklist is the best way to do it:
http://www.filebot.net/forums/viewtopic.php?f=3&t=359

I'm sure you're not the only one who may have the same issue at some point. Now it's fixed for him too.
:idea: Please read the FAQ and How to Request Help.
Post Reply