Collection isntead of Filmreihe / Localization?

All about user-defined episode / movie / file name format expressions
Post Reply
Elamania
Posts: 39
Joined: 07 Sep 2015, 23:00

Collection isntead of Filmreihe / Localization?

Post by Elamania »

Hi, I have here a small problem.

Preferences are set to German.

With {Collection}, I get in most cases "Filmreihe" as output, however there are some where it takes Collection instead and I have no idea why.

ie.:
Herr der Ringe/hdr1 /unfired-hdr1 becomes "der herr der ringe filmreihe"
Herr der Ringe/hdr3 /unfired-hdr3 becomes "the lord of the rings collection"
spiderman/spiderman 1/ spiderman.2002 becomes "spider-man collection"
spiderman/spiderman 2/ spiderman.2004 becomes "spider-man Filmreihe"

Why does this happen?

Can I somehow force the language of the name/episodetitle?
I mean the "ny" or "t".
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Collection isntead of Filmreihe / Localization?

Post by rednoah »

Sounds like it's defaulting to English in certain cases when German information is partially missing.



:idea: You can help make things better by visiting TheMovieDB and adding German language information whenever you find something missing:
https://www.themoviedb.org/



:idea: You can manually fix up the value like so:

Code: Select all

collection.replace('Collection', 'Filmreihe')
:idea: You can use {localize} dynamic localization to override your preferred language for individual bindings:

Code: Select all

localize.ja.n
:idea: Please read the FAQ and How to Request Help.
Elamania
Posts: 39
Joined: 07 Sep 2015, 23:00

Re: Collection isntead of Filmreihe / Localization?

Post by Elamania »

That sounds strange, after all the other two Movies are seen as Filmreihe.
Anyway, I will just use that fix.

I have here another problem.

"the witch (2016).mkv" -> "the love witch (2016)"
"into the forest (2016).mkv" -> "dans la foret (2016)"
"life" -> "otherlife"

Can I somehow change that? I have tried to Shift+Right click, but I do not get a prompt to enter the name.'

2.)
I want to add "German" to folders where the spoken language is German. However, there are sometimes cases where the regular 24 Episodes are German, but the Specials are not. So those will then put into another folder. Can I somehow make it so that they get recognized together as full series?
Currently I am doing it like that:
{detectSpoken()=~/Ger/ ? " {German}" : null}
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Collection isntead of Filmreihe / Localization?

Post by rednoah »

1.
You can use Double-Click ➔ Edit Match to fix the match manually:
Image

:idea: If you report a mismatch, please include the full file path and TheMovieDB link, otherwise I can't do anything about it. ;)



2.
You can use copy & paste for most of that:
rednoah wrote: 12 May 2016, 13:21 If the media file contains a Japanese audio stream (as per MediaInfo), then localize series name to Japanese, otherwise use default name:

Code: Select all

{audio.language =~ /ja/ ? localize.ja.n : n}
However, taking nearby episode files into account when processing special episodes will likely require a certain level of programming expertise. The {model} binding makes it possible:
viewtopic.php?t=9814
:idea: Please read the FAQ and How to Request Help.
Post Reply