AngelSing 57 Posted 19 hours ago Posted 19 hours ago 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. 2
Luke 42570 Posted 17 hours ago Posted 17 hours ago Hi, yes this has been added on the beta channel. Thanks.
AngelSing 57 Posted 10 hours ago Author Posted 10 hours ago 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. 1
Luke 42570 Posted 4 hours ago Posted 4 hours ago Quote Do you mean that Emby already recognizes the es-419 language code in the current Beta version Yes.
AngelSing 57 Posted 4 hours ago Author Posted 4 hours ago 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.
Luke 42570 Posted 4 hours ago Posted 4 hours ago 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 1629 Posted 3 hours ago Posted 3 hours ago (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. Ignore the "embedded title" as it's a file i modified to test with. Edit: It's with Emby version 4.10.14. Edited 3 hours ago by yocker
AngelSing 57 Posted 3 hours ago Author Posted 3 hours ago (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: However, in Emby's Media Info, it is displayed simply as "Spanish", with no reference to Latin America: 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: I noticed that @yocker updated the plugin, but at least in my case the issue with detecting Latin American Spanish still persists. Edited 3 hours ago by AngelSing changes
Luke 42570 Posted 3 hours ago Posted 3 hours ago In the file, the language code is probably just es and not es-419
yocker 1629 Posted 3 hours ago Posted 3 hours ago 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 1629 Posted 3 hours ago Posted 3 hours ago 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 57 Posted 3 hours ago Author Posted 3 hours ago 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. 1
Luke 42570 Posted 2 hours ago Posted 2 hours ago HI there, can you please provide a specific example? How to Report a Problem Thanks ! 1
AngelSing 57 Posted 2 hours ago Author Posted 2 hours ago 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now