Page 1 of 1

More terms to exclude

Posted: 13 Oct 2013, 09:10
by edenexposito
Hi again

Due to users can not avoid that filebot exclude some terms from search...

With path like this

/Volumes/Descargas/05 RENOMBRAR/RENOMBRAR PELICULAS/After Earth (2013).mkv

Numbers can not be excluded obviously but these spanish terms, Descargas (in English "downloads"), RENOMBRAR (in English "rename"), and PELICULAS (in English "movies") probably yes

Thanks!!

(I suposse that term "Volumes" is excluded too)

Re: More terms to exclude

Posted: 13 Oct 2013, 09:56
by rednoah
Most of that is already on the list:
http://www.filebot.net/forums/viewtopic.php?f=3&t=359

I've added the missing term.

Re: More terms to exclude

Posted: 17 Oct 2013, 06:48
by edenexposito
Its Strange.. althought terms seems be added to black list with this code

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot -rename "$1" --db TheMovieDB -non-strict --filter "y > 1994"  --action test
In this path work well and detect the movie correctly "Man of Steel (2013)"

[TEST] Rename [/Volumes/Descargas/06 CODIFICAR/CODIFICAR PELICULAS/El.hombre de acero.1080p.sant1.mkv] to [Man of Steel (2013).mkv]

But no luck with this other path...

/Volumes/Descargas/05 RENOMBRAR/RENOMBRAR PELICULAS/El.hombre de acero.1080p.sant1.mkv

The terms: Volumes, Descargas, Renombrar, Peliculas are added to blacklist and filebot dont work but with the other path with term "CODIFICAR" (encode) (not added to blacklist yet) work well!

Strange...

Re: More terms to exclude

Posted: 17 Oct 2013, 08:08
by rednoah
"05" ended up as query as well so it got extra results. The problem isn't the query but that you're matching spanish filenames with english data. Just doesn't match up. Having the year in the filename would help a lot.

"06 CODIFICAR" doesn't matter cause the search doesn't come up with any likely matches.

It's not so strange if you think of filebot as a human that only speaks English. If you switch to Spanish filebot it'll match things up easily. ;)

I've added some more patterns to the blacklist, just excluding everything other than the query the leads to the correct match.

Re: More terms to exclude

Posted: 17 Oct 2013, 08:27
by rednoah
If you're renaming Spanish movies, it's best to set --lang=es so filebot can match against the Spanish title, English will work as well since the original title (probably English) is known as well.

In the format you can then switch Spanish title {n} with the (probably) English title {primaryTitle}:

Code: Select all

{primaryTitle} ({y})

Re: More terms to exclude

Posted: 17 Oct 2013, 09:05
by edenexposito
with --lang=es Englisht titles will work too? my intention is process both (English and Spanish) but adapt all filenames to English. How i can use {primaryTitle} ({y}) with the command line? can you post an example with this line..

/Applications/FileBot.app/Contents/MacOS/filebot -rename "$1" --db TheMovieDB -non-strict --filter "y > 1994" --lang=es

Thanks!

Re: More terms to exclude

Posted: 17 Oct 2013, 09:09
by rednoah
Of course, English (or at least original title) always works, in addition to the localized title.

Just set the format like this:

Code: Select all

--format "{primaryTitle} ({y})"

Re: More terms to exclude

Posted: 20 Oct 2013, 17:36
by edenexposito
Seems that with Movies your solution work pretty well by now... thanks!

With TV Series i have some troubles, with this command line filebot dont find anything

Code: Select all

/Applications/FileBot.app/Contents/MacOS/filebot -rename "/Volumes/Descargas/05 RENOMBRAR/RENOMBRAR SERIES/The Walking Dead 4x01 1920x1080.mkv" --db TheTVDB -non-strict --lang es --format "{n} - {sxe} - {t}" --action test
The same problem with language "--lang es" seems be the problem, without it filebot find it... But a elegant solution for both languages (es, en) as movies solution is the best.

Why i cant use "--lang es" here?

Thanks!

Re: More terms to exclude

Posted: 21 Oct 2013, 02:28
by rednoah

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [The Walking Dead]
Fetching episode data for [The Walking Dead]
Fetching episode data for [Talking Dead]
Fetching episode data for [The Walking Dead Black And White]
[TEST] Rename [D:\Volumes\Descargas\05 RENOMBRAR\RENOMBRAR SERIES\The Walking Dead 4x01 1920x1080.mkv] to [The Walking Dead - 4x01 - 30 Días sin accidentes.mkv]
Processed 1 files
Looks good to me. Try the latest revision.

Re: More terms to exclude

Posted: 21 Oct 2013, 06:48
by edenexposito
with latest version filebot rename file as "Talking Dead - 2x01 - Seed.mkv" instead "The Walking Dead - 4x01 - 30 Days Without An Accident".mkv"

Re: More terms to exclude

Posted: 21 Oct 2013, 06:59
by rednoah
I don't have time to look into old code, especially with no output log attached.

It works with r1801.