I would like to know what´s the difference between n and primaryTitle.
The point is, I am using xxxxxx{norm(n)}{norm(n)!=norm(primaryTitle) ? " ("+norm(primaryTitle) +")" : ''} for Anime Shows.
When I am using that on Nanatsu no Taizai, with anidb it only recognizes Nanatsu no Taizai, although it should name the Directory Nanatsu no Taizai (The Seven deadly Sins).
And when I am using THETVDB it generates the correct Directory "Nanatsu no Taizai (The Seven deadly Sins)".
But since, anidb is better I would like that that pattern also works for anidb. What to do?
It seems that some Fansubgroups are not matched anymore or only partly. [NO] [C-Subs]....
So, how would an pattern look like if I want to match Fansubgroup names, which are at the beginning or at the end of the Filename. And/Or are inside [xx]
I tried it with fn.match(/[(.*?)]/);
I suppose I need some Look -ahead/behind but I have no clue how to write them.
Is there an way to move external Subs or Information about an Series into an separate Folder? E.g.: A TV Show has an Subs Folder + some artwork inside the Mainfolder (where the mkv is) Then I am removing all .mkvs of one Show into one Folder, I would like that the Subs are all in one Folder and the .nfo/artwork too.
How are you detecting Language and Subs?
At the moment I am using that beauty:
Code: Select all
{Set<String> audios = audios.language; String res="";audios.each(){String audio -> audio.equals('en') ? res+="Eng" : '';audio.equals('de') ? res+="Ger" : ''; audio.equals('ja') ? res+="Jap" : ''};"["+res+"-Dub]";}{Set<String> langs = texts.language;String result=""; langs.each(){String language -> language.equals('en') ? result+="Eng" : '';language.equals('de') ? result+="Ger" : ''; language.equals('ja') ? result+="Jap" : ''}; "["+result +"-Sub]"}
How could I write "RAW" if it doesn´t find anything?