Jump to content

Recommended Posts

Posted

Hi all,

I am not sure if anyone has noticed, but I've found that the 3-letter country codes / language codes do not really follow a standard (I may be wrong). It is most obvious in the section "Filters", where emby automagically only displays languages that it has ingested into the library by from the imported media. However, there are obvious dual entries for one languages:

deu - ger    for German
fra - fre      for French
ice - isl       for Icelandic
Possible other overlaps that I can think of (just that my library does not have any media to support it):
hun - mag   for Hungarian / Magiar
fin - suo      for Finnish / Suomi
chi - man    for Chinese / Mandarin

515753283_emby-combinelanguages.thumb.png.8d82b1359017164ff70bec1dbccdec72.png

 

Since the developers cannot foresee ALL codes that may ever be used, there should be an interface in the Settings:

Codes Language to map to
de, deu, ger     German [ger]
fr, fra, fre French [fre]
ice, isl Icelandic [isl]
[+ add new entry]  

This may be made easier if there is a DB online that provides codes for languages (like IMDB does for titles tt* and names nm* etc.).

Thank you all for your support.

Roodee

 

Posted (edited)

Hi All,

the same mapping strategy could also be applied to ratings of "Motion Picture Association of America – Movie Ratings" and rating standards of other countries.

Basically, what I am trying to say: Once you think about mapping incoming Meta-Data like the language, you might want to have a look at building a more general code to map other Meta-Data as well.

image.thumb.png.7f4df9370b936edfb02ab3b1923a5c89.png

That could be done on a local basis (per server/per installation), or there could be a general lookup table for this built in to emby. Of course the original data should be left intact, the "new" data should be written into a new db-field.

Age / Audience MPPA FSK other countries emby-internal
0 - General G FSK0 ... All
6   FSK6   6
7       7
8       8
9       9
10       10
11       11
12 PG FSK12   12
13 PG13     13
14       14
15       15
16   FSK16   16
17


 

    17
18

R, NC17, X18, XXX
 

FSK18   18
Unrated       18 and older
Not rated       18 and older

Should I put that into a different request?

Thanks all,
Roodee

Sources:
[US] https://www.parentalguide.org/movie-ratings/ 
[DE] https://www.fsk.de/?seitid=508&tid=72

Edited by Roodee
Images replaced
crusher11
Posted

The languages conform to the ISO standard I linked. The age ratings already map to internal values.

Posted

Hi, yes this may happen in future updates. Thanks.

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