Jump to content

German parental control


Go to solution Solved by ebr,

Recommended Posts

Posted

Hi,

 

new entries are rated with the "official" German FSK-x ratings but the parental control settings allow only DE-x settings.

How can I use the FSK-x values in the parental control dialog?

 

Yours Tolotos

Posted

Thank you,

 

- stop emby

- delete <windows_user_folder>\AppData\Roaming\MediaBrowser-Server\localization\ratings-de.txt

- start emby

 

did it.

For others with a huge collection the following steps change the stored values in the data base quickly:

 

- stop emby

- backup <windows_user_folder>\AppData\Roaming\MediaBrowser-Server\data\library.db

- open <windows_user_folder>\AppData\Roaming\MediaBrowser-Server\data\library.db with SQLite-Browser

- execute the following SQL:

update TypedBaseItems set CustomRating = "FSK-0" where CustomRating = "DE-0";
update TypedBaseItems set CustomRating = "FSK-6" where CustomRating = "DE-6";
update TypedBaseItems set CustomRating = "FSK-12" where CustomRating = "DE-12";
update TypedBaseItems set CustomRating = "FSK-16" where CustomRating = "DE-16";
update TypedBaseItems set CustomRating = "FSK-18" where CustomRating = "DE-18";

update TypedBaseItems set OfficialRating = "FSK-0" where OfficialRating = "DE-0";
update TypedBaseItems set OfficialRating = "FSK-6" where OfficialRating = "DE-6";
update TypedBaseItems set OfficialRating = "FSK-12" where OfficialRating = "DE-12";
update TypedBaseItems set OfficialRating = "FSK-16" where OfficialRating = "DE-16";
update TypedBaseItems set OfficialRating = "FSK-18" where OfficialRating = "DE-18";

- click "Save Changes" in SQLite-Browser

- start emby

 

-- Tolotos

 

  • Like 1
Posted

The file is not necessarily intended for customization. It could get replaced in the future. If you think your changes are useful for others then we should apply them into the released version. I do think it would be a good idea to fully support this type of customization though.

Posted

I think a convert DE-X to FSK-X function would be nice. I needed it fro my Kodi HTPC. The skin is adding the parental control as an overlay image but it needs the FSK-X value to work.

Rewriting the ratings-de.txt should also be possible. At the start of emby the server can

  • check if the file is in the current version
  • if not check if it is in the old version
  • if it is not modified by the user rewrite the file
  • if it is modified make a backup, overwrite it and print a message in the overview page
Posted

Well, that's not really our intended method of customization. Instead at some point we will put our efforts into making sure it can be customized in the web app.

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