Jump to content

question about metadata language in nfo files


Go to solution Solved by Luke,

Recommended Posts

horstepipe
Posted

hey

Because Emby can download metadata and images only in the same language, I tried to accomplish different languages by the following "trick":

My movies have German images (posters, banners etc) and German metadata (plot..), but I want the images to be English. So, in metadata settings I changed preferred language for downloads to English.

I picked a movie and refreshed it with these settings

Search for missing metadata
Replace existing images

in the hope that my existing metadata stays German and the images are being swapped with English ones.

 

Unfortunately nothing has changed, everything stays German.

So I tried to refresh with

replace all metadata

but the plot is still German.

 

So changing the language of the scraper doesn't seem to work at all at the moment..?

 

Regards

 

Posted

Hi, as you can see, no problem here when switching between english and german.

 

577feb3303e12_Untitled.png

 

Please discuss a specific example, and see how to report a problem. Thanks!

horstepipe
Posted

mhh ok it's really strange, some movies work, some don't.

 

Here are three example movies

Inside Out (2015) (German title: Alles steht kopf) - doesn't work

About Schmidt (2002) - doesn't work

A perfect World (1993) - works

 

 

 

 

Happy2Play
Posted

Not sure I follow exactly
 
57803678ce914_inside.jpg
 
57803686ae055_schmidt.jpg
 

Posted

Not sure I follow exactly

 

57803678ce914_inside.jpg

 

57803686ae055_schmidt.jpg

 

 

 

Danke !!

horstepipe
Posted (edited)

what do you want to tell me with these screenshots?

 

57813369df74e_1.jpg5781339b2cc7b_2.jpg578133dfe0de2_3.jpg5781342c99b9e_4.jpg5781347d2c1ba_5.jpg

Edited by horstepipe
horstepipe
Posted

Nice that it works for you, but not for me, so your screenshots are not very helpful ;-)

So I described my problem and attached a logfile of the refreshing process.

Please tell me what else you need or what I can try to find out what's going wrong.

@@Luke

Posted

The metadata language is German so you must not have configured it to English.

Happy2Play
Posted

Do these settings have values already set? 

 

57815a0575aeb_lang.jpg

  • Like 1
Posted

What you get may also depend on the order of metadata providers.

 

Not all metadata providers have multi-language results at all and some of our provider implementations default to English in case no localized info is returned.

If one of such providers has a higher priority than another provider that would even have the localized info, still the English info would be used.

 

A while ago I have provided a fix for this situation (https://github.com/MediaBrowser/Emby/pull/1731) but it hasn't been picked up yet.

 

To further analyze the situation you can try my MetadataViewer plugin (http://emby.media/community/index.php?/topic/32984-new-plugin-metadata-viewer/).

It displays metadata results from each provider in priority order from left to right and you can even compare the results for different languages. This way you'll immediately see what's happening here!

  • Like 1
horstepipe
Posted (edited)

The metadata language is German so you must not have configured it to English.

 

to make it more clear:

From my first problem description I went on to generalize my problem, I can't change the metadata language of most movies at all.

So the shown movie is German and I can't make it English.

Do these settings have values already set? 

 

57815a0575aeb_lang.jpg

 

no they haven't. As from my understanding when they're empty the global metadata settings are being used which are set to English atm.

For test purposes I set the value here to English, too. Unfortunately, no change.

What you get may also depend on the order of metadata providers.

 

Not all metadata providers have multi-language results at all and some of our provider implementations default to English in case no localized info is returned.

If one of such providers has a higher priority than another provider that would even have the localized info, still the English info would be used.

 

A while ago I have provided a fix for this situation (https://github.com/MediaBrowser/Emby/pull/1731) but it hasn't been picked up yet.

 

To further analyze the situation you can try my MetadataViewer plugin (http://emby.media/community/index.php?/topic/32984-new-plugin-metadata-viewer/).

It displays metadata results from each provider in priority order from left to right and you can even compare the results for different languages. This way you'll immediately see what's happening here!

 

But I guess all providers are able to fetch the data in English? So if not even this language works, this is most likely not the problem..?

 

Edited by horstepipe
Posted

I can't change the metadata language of most movies at all.

 

what does this mean?

horstepipe
Posted

what does this mean?

what I wrote in post #3:

I.e. for the movie "A perfect world" the language change works.

Posted

what are the folder and file paths for each?

horstepipe
Posted

what are the folder and file paths for each?

\\192.168.0.3\MyNAS\Filme\Alles steht Kopf (2015)\Alles steht Kopf.1080p.bluray.dtshd_ma.mkv

 

\\192.168.0.3\MyNAS\Filme\Perfect World (1993)\Perfect World.1080p.bluray.dca.mkv

  • Solution
Posted

In your log About Schmidt was configured for German, not English. This means you either didn't set the global language to English, or you have already customized the language for the movie to German, or have already customized the language for a parent folder to German. So please check all three of those.

  • Like 1
horstepipe
Posted (edited)

or you have already customized the language for the movie to German

here we have the problem.

But I definitely did not set this up, I always just changed the global metadata settings.

I randomly overlooked some movies in metadata manager, some have the language set to German, some don't.

 

At least I know what's going wrong now, thank you!

 

But how can I solve the problem?

I don't want to select thousands of movies and change the settings separately.

And removing the whole movie database and re-import it isn't the best idea either, because it would take days to recreate the coverart and chapter images in which my NAS is quite unusable because the CPU is maxed out

Edited by horstepipe
Posted

if the language setting is inside your nfo file, then removing the database won't help. you're going to need to change it for those titles.

horstepipe
Posted

if the language setting is inside your nfo file, then removing the database won't help. you're going to need to change it for those titles.

 

ok

is it safe to simply multi-select all movies in metadata manager and change the language value?

Posted

We don't have multi-select editing at this time, sorry. There are some people in this forum who are handy with bulk text file editing, but off the top of my head I couldn't tell you how to do that.

horstepipe
Posted (edited)

bulk editing the .nfo files wouldn't be the problem.

I already tried to remove the

  <language>de</language>

from an .nfo file, but the value in metadata manager still persists.

Edited by horstepipe
Posted

please be patient. the next time the nfo file is read, it will change. try running a library scan.

  • Like 1
horstepipe
Posted

please be patient. the next time the nfo file is read, it will change. try running a library scan.

Nice, thank's for support!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...