Search found 22 matches

by jeff1326
08 Apr 2016, 23:57
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

1. Finally, i ends with this for the language detection. Detect languages present as audio information, fallback on filename detection. Otherwise we simply ignore it. {(any{audios.language}{fn.space('.').upper().matchAll(/(?<=\bTRUE?|\b)FR(?=ENCH\b|\b)|\bEN(?=GLISH\b|\b)|\bSPA(?=NISH\b|\b)|\bVF(?=I ...
by jeff1326
06 Apr 2016, 00:33
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

Well, this look like as the regex in filebot doesn't return like in pcre, js or python.

See this : https://regex101.com/r/oB9pN7/1

Was testing with filebot-r3843.jar
by jeff1326
05 Apr 2016, 01:38
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

1. "?: null" is the answer :D 2. I use any to be able to add audio language list to language list from filename. Then i can do a unique on it. The goal is the find all spoken language, since some file can't be detected in audio param, i want to detect from filename. I want a result like this [FR, EN ...
by jeff1326
04 Apr 2016, 00:54
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

So i come with : {(any{audios.language}{[]} + any{fn.replaceAll('-','.').toUpperCase().space('..').matchAll(/(?:\.)(VFI?|FR|TRUEFRENCH|FRENCH|ENGLISH|EN|SPA|SPANISH)(?:\.|$)/)}{[]}).join('-').toUpperCase().tokenize('-').sort().unique()} Who give sometime this result when there's no language found in ...
by jeff1326
03 Apr 2016, 14:48
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

This fix will be included in which version of filebot ?
by jeff1326
03 Apr 2016, 00:58
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Re: Detecting language in filename

I saw than rednoah made matchAll case insensitive by default ! :D

And i found that the following code work as expected :

Code: Select all

{fn.space('..').matchAll(/(?:\.)VFI?|FR|ENGLISH|EN|SPANISH|SPA(?:\.|$)/)}
by jeff1326
03 Apr 2016, 00:46
Forum: Episode / Movie Naming Scheme
Topic: Detecting language in filename
Replies: 11
Views: 8828

Detecting language in filename

I am trying to keep spoken language from filename, so i did this as a proof of concept : {fn.space('..').matchAll(/(?i)(?:\.)(VFI?|FR|ENGLISH|EN|SPANISH|SPA)(?:\.|$)/)} If i do my test with this fake filename : Virgin..Suicides..vfi..vf..1999..1080p..FR..EN..X264..AC3-mHDgz On https://regex101.com/r ...
by jeff1326
31 Mar 2016, 00:08
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Re: Bug: Wrong detection if IMDB id is present in filename

3. So the detection should be better if the year is not in parenthese or bracket ?
by jeff1326
29 Mar 2016, 22:45
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

Re: AMC detection

Cool ! Thank you for your answer :mrgreen:
by jeff1326
28 Mar 2016, 14:25
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Re: Bug: Wrong detection if IMDB id is present in filename

1. Nice to know

2. Just to be sure. Only the bracket or all the content inside too ?

3. So if the year is in bracket, it will be ignored ?
by jeff1326
28 Mar 2016, 13:59
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

Re: AMC detection

The AMC should not be in problem if the function getMovieInfo from the TMDbClient.java return only information about a movie. That's just a security ! That's strange behaviour to ask about information for a movie and getting an anime or tv show information. I think i saw this problem too with ...
by jeff1326
27 Mar 2016, 23:25
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

Re: AMC detection

Do you plan to add the validation like i proposed ?
by jeff1326
27 Mar 2016, 23:22
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Re: Bug: Wrong detection if IMDB id is present in filename

Well, the folder is the name of the collection.

Is it possible to match correctly if the name of the folder is "Ip Man Collection" instead ?

And FR is the language.
Is it possible to avoid conflict if language is like this ?
[FR] or [FR, EN]
(FR) or (FR, EN)
by jeff1326
27 Mar 2016, 02:25
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Re: Bug: Wrong detection if IMDB id is present in filename

After i checked the generic, i found it's
The Legend Is Born - Ip Man (2010) 100min [Drama, Action, History] #tt1641638
by jeff1326
27 Mar 2016, 00:28
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Re: Bug: Wrong detection if IMDB id is present in filename

I created a "new text document", renamed it "Ip Man 3 FR [Action, Biography, Drama] #tt2888046.avi". Open it in filebot GUI, then when i click on match (with TheMovieDB). I get 3 proposition instead of just the one from the name with imdbid Ip Man 3 (2015) Ip Man (2008) The Man (2005) If i take the ...
by jeff1326
26 Mar 2016, 17:35
Forum: Feature Requests and Bug Reports
Topic: Bug: Wrong detection if IMDB id is present in filename
Replies: 14
Views: 6558

Bug: Wrong detection if IMDB id is present in filename

For filebot 4.6.1 (64 bits) on Windows 10 I have a file named : Ip Man 3 [Action, Biography, Drama] #tt2888046.avi When i press the match button with TheMovieDB, it detect as : Ip Man (2008) 108min [Drama, Action, History] #tt1220719.avi When i press the match button with OMDB, it detect as : Ip Man ...
by jeff1326
25 Mar 2016, 23:32
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

Re: AMC detection

With the command

Code: Select all

filebot -script dev:amc --output "out" --action test -non-strict "in" --log-file amc.log --def excludeList=amc.txt
The file named "Anges et Demons tt0808151.avi" is correctly detected as a movie.
by jeff1326
25 Mar 2016, 23:12
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

Re: AMC detection

Yes this will work if i put only movie inside of this folder. So i guess i need to force it to manage my existing movies folder. I'll do that for them. Thanks. But the advantage of using amc was to manage my download and move them on the correct folder depending on his type (Anime, movie, series). I ...
by jeff1326
25 Mar 2016, 16:12
Forum: Scripting and Automation
Topic: AMC detection
Replies: 9
Views: 4967

AMC detection

From the AMC script with this command : filebot -script fn:amc --output "out" --action test -non-strict "in" --log-file amc.log --def excludeList=amc.txt I get this result : Anges et Demons tt0808151.avi [series: Demons, movie: Angels & Demons (2009)] Unable to differentiate: [Anges et Demons ...