Jump to content

Parental control - mapping missing between DA and DK


Recommended Posts

Grohnheit
Posted

Hi.

When I create a new user I can choose parental ratings DA-XX.
When I look at most of my movies, they are rated DK-XX.

If I choose DA-7 in the user settings, and dont select "Block items with no or unrecognized rating information:" the user can still see all the movies rated DK-11 and DK-15.
If I choose DA-7 in the user settings, and select all "Block items with no or unrecognized rating information:" the user cannot see any movies with a DK-XX rating. But the user can see movies with G, and PG ratings, and not movies with higher rating.

So it works fine betweeen DA-XX and PG.
It does not work between DA-XX and DK-XX.

I guess you just need to setup the mapping between DA and DK to fix it. 😃

Happy2Play
Posted

@Luke would have to go over the internal code.  As the last I saw was this.

            LoadRatings("dk", new[] {

                new ParentalRating("DA-A", 1),
                new ParentalRating("DA-7", 5),
                new ParentalRating("DA-11", 6),
                new ParentalRating("DA-15", 8),
            });
Posted
5 hours ago, Grohnheit said:

When I look at most of my movies, they are rated DK-XX

Where did the metadata for these come from?

Grohnheit
Posted
1 hour ago, ebr said:

Where did the metadata for these come from?

IMDb or themovedb.

I just tried removing the metadata from a new movie and do a "replace all metadata" on it, and it got DK-15 again.

My Preferred Metadata Language are set to Danish, and Denmark on the libary and global.

Happy2Play
Posted
2 hours ago, Grohnheit said:

IMDb or themovedb.

I just tried removing the metadata from a new movie and do a "replace all metadata" on it, and it got DK-15 again.

My Preferred Metadata Language are set to Danish, and Denmark on the libary and global.

What media was this for?

Posted
9 hours ago, Happy2Play said:

@Luke would have to go over the internal code.  As the last I saw was this.


            LoadRatings("dk", new[] {

                new ParentalRating("DA-A", 1),
                new ParentalRating("DA-7", 5),
                new ParentalRating("DA-11", 6),
                new ParentalRating("DA-15", 8),
            });

Yes, this is what we have. What others should we add?

Happy2Play
Posted
Just now, Luke said:

Yes, this is what we have. What others should we add?

Sounds like @Grohnheit has DK-xx ratings and there are no DK-xx values in the list we worked on awhile ago. 

So I should there be a DK and DA rating system?  Or should those DA's be DK's?

Posted

What are the exact values?

Happy2Play
Posted

 

2 minutes ago, Luke said:

What are the exact values?

4 hours ago, Grohnheit said:

I just tried removing the metadata from a new movie and do a "replace all metadata" on it, and it got DK-15 again.

My Preferred Metadata Language are set to Danish, and Denmark on the libary and global.

Looks like will have to test but if TMDB is returning DK-xx number ratings we need to add DK values also, but I don't really know the standard for said countries rating system.

Happy2Play
Posted

I guess the question is there a actually DA ratings scheme?  Or do we just need to change the existing DK scheme to be DK instead of DA? 

Posted

I'll have to dig around to see where we got that from, but i'll probably keep both and just alias them.

Happy2Play
Posted

If I understand correctly we would always have DK as we are prefixing country "?language=da-DK" to the number value returned from provider.  But will looks some more to see if DA appears anywhere.

  • 2 months later...
Posted

After updating to 4.5.1 and refresing metadata for the entire libary, this is working as exprected. 👍

TIP: In my movie libary 10% of the movies do not have a parental rating, so make sure to block content with no rating, if you wanna play safe :)

Posted

Thanks for the feedback.

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