Jump to content

Recommended Posts

AngelSing
Posted

Hi, I would like to make a suggestion regarding regional language tags in Emby’s media stream information.

Currently, when an internal MKV audio or subtitle track is tagged as es-419 in MKVToolNix, Emby shows the language only as “Spanish” in the media information.

The problem is that es-419 specifically represents Latin American Spanish, not just generic Spanish. Because Emby only exposes the base language as “Spanish”, plugins such as EmbyIcons cannot correctly detect whether the track is Spanish from Spain or Latin American Spanish.

My suggestion is that Emby should recognize and expose the full regional language tag, for example es-419, when it exists in the MKV track metadata.

This would allow Emby’s media information to show something like “Spanish (Latin America)” instead of only “Spanish”, and it would also allow plugins to use the correct regional language value for icons, filtering, sorting, or other features.

In short, it would be very useful if Emby could preserve and expose BCP 47 / IETF regional language tags such as es-419 for internal MKV audio and subtitle tracks.

  • Like 2
Posted

Hi, yes this has been added on the beta channel. Thanks.

AngelSing
Posted
7 hours ago, Luke said:

Hi, yes this has been added on the beta channel. Thanks.

Hello,

Do you mean that Emby already recognizes the es-419 language code in the current Beta version, or that support for it has been added to the Beta roadmap and is still pending implementation?

I'm asking because I currently use the Beta version, and the developer of EmbyIcons @yocker told me that the reason Latin American Spanish is not displayed correctly is that Emby is not providing the regional language information to plugins.

In my MKV files, the audio and subtitle tracks are correctly tagged as es-419, which is the official language code for Latin American Spanish. However, Emby appears to treat it the same as standard Spanish (es-ES) and only exposes it as "Spanish" in the media information.

As a result, EmbyIcons cannot distinguish between Latin American Spanish and Spanish (Spain), so it always uses the generic Spanish icon instead of a dedicated es-419 icon.

I would like to know whether this is already fixed in the current Beta version or if support for es-419 is still planned for a future update.

Thank you.

  • Like 1
Posted
Quote

Do you mean that Emby already recognizes the es-419 language code in the current Beta version

Yes.

AngelSing
Posted
4 minutes ago, Luke said:

Yes.

Oh, then there must be some kind of issue between Emby and EmbyIcons, because for some reason it doesn't seem to differentiate between es-ES and es-419.

What do you think, @yocker ?

If Emby is already reading the MKV tracks and detecting them as Spanish, what could be preventing EmbyIcons from receiving the correct language information? Could Emby be normalizing both language codes to a generic "Spanish" value before exposing the metadata to plugins?

I'm just trying to understand where in the chain the regional information is being lost.

Posted
Quote

Oh, then there must be some kind of issue between Emby and EmbyIcons, because for some reason it doesn't seem to differentiate between es-ES and es-419.

Try refreshing the metadata on existing content. 

yocker
Posted (edited)
20 minutes ago, Luke said:

Try refreshing the metadata on existing content. 

es-419 does indeed seem to get normalized as Spanish not as Latin American Spanish in Emby.

image.png.90afe6b6cd798d0fc64d11a2df914d3d.png

Ignore the "embedded title" as it's a file i modified to test with.
Edit: It's with Emby version 4.10.14.

Edited by yocker
AngelSing
Posted (edited)

@LukeYes, I already did that. I updated the plugin, cleared all EmbyIcons caches, and rescanned the library, but it is still showing the same icon for Spanish (Spain). I even added new content to the library after the update, and it was still detected as es-ES instead of es-419.

In the MKV file, the track is correctly tagged with the es-419 language code:

image.thumb.png.08444a740c9fbf9e152e995642a56ab1.png

However, in Emby's Media Info, it is displayed simply as "Spanish", with no reference to Latin America:

image.png.2a8a660ab711b8ab7641177d44e1b995.png

In my custom icons folder, I already have the Latin American Spanish icon named exactly as: lang.spanish (latin america).png

And in the EmbyIcons options, I can see that although the icon is present, it is still not being used:

image.png.95e62a5915b83a35b4f340218ca67ea3.png

 

 

 

 

 

 

 

 

I noticed that @yocker updated the plugin, but at least in my case the issue with detecting Latin American Spanish still persists.

Edited by AngelSing
changes
Posted

In the file, the language code is probably just es and not es-419

yocker
Posted
19 minutes ago, AngelSing said:

I noticed that @yocker updated the plugin, but at least in my case the issue with detecting Latin American Spanish still persists.

Just improvements to the troubleshooter and some unrelated fallbacks to language that was in the beta now made stable.

yocker
Posted
15 minutes ago, Luke said:

In the file, the language code is probably just es and not es-419

The file should be correct, at least every thing is pointing to es-419 as language yet Emby still normalizes it as Spanish.

AngelSing
Posted
24 minutes ago, Luke said:

In the file, the language code is probably just es and not es-419

I've already changed the code to (es), but it's still the same; it seems Emby is having trouble distinguishing between Spanish from Spain and Latin American Spanish.

image.thumb.png.c301394ee167dc813a0e919f5e02fe7b.png

  • Agree 1
AngelSing
Posted
43 minutes ago, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

Okay, I've already posted a message with the problem report in the Emby Beta thread.

 

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...