The Danish show name of "Cheers" is "Sams bar"
https://www.themoviedb.org/tv/141-cheers?language=da-DK
1.
it looks like n (name) is null (Binding "n": undefined), but t (title) works = result "/.S04E10.Episode.10"
(Episode xx is the default when no title is set in that language)
Code: Select all
{def infoDK = Localize.Danish; infoDK.n}/{
def infoDK = Localize.Danish; infoDK.n}{
'.'+s00e00}{
def infoDK = Localize.Danish; '.'+infoDK.t.space('.')}
with this, it only gives the English show name, properly because the Danish is null or it only gives back the original name ?:
Code: Select all
{def infoDK = net.filebot.WebServices.TheMovieDB_TV.getSeriesInfo(info.id, new Locale ('da', 'DK'));
infoDK.name}
I'm not sure what the "object" part should do, but "null - 4x10 - Episode 10":
Code: Select all
{def infoDK = Localize.Danish;
infoDK.object}
"TV Shows/Season 04/null - S04E10 - Episode 10"
Code: Select all
{def infoDK = Localize.Danish; infoDK.plex}
2.
when you use german like so, this is what i mean by the "default":
"filebot -list --q Firefly --db TheMovieDB::TV --lang German"
so you cant test it like that
same in the GUI format, the "default" language is set to English, but with the format I get the Danish info, by using Localize and TheMovieDB_TV.getSeriesInfo (or trying to)
3.
the problem with "{def infoDK = net.filebot.WebServices.TheMovieDB_TV.getSeriesInfo(info.id, new Locale ('da', 'DK')).dump()}" is that it does not contain e.g. the title (The Bar Stoolie) forcing me to use "Localize.Danish"
EDIT: you can also try:
Code: Select all
{def infoDK = Localize.German; infoDK.n}
result = /.S04E10.Folge.10 aka null
Titel (Deutsch) is locked making the German name = Cheers BUT this does not work