Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MaxParentalRating does not retrieve current state #6350

Closed
solidsnake1298 opened this issue Nov 27, 2024 · 7 comments
Closed

MaxParentalRating does not retrieve current state #6350

solidsnake1298 opened this issue Nov 27, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@solidsnake1298
Copy link
Member

Describe The Bug
After setting a parental rating, I can confirm that it is actually set based on the contents displayed in the library. But when I return to the Parental Control panel it does not display the current value.

Steps To Reproduce

  1. Go to Dashboard > Users > Select User > Parental Control tab
  2. Set a value for the user
  3. Save and close or click on another tab for the user profile
  4. Return to the Parental Control tab.

Expected Behavior
The expected behavior is that the current value was be displayed after saving a setting

Logs
There are no server logs, but here is what is return for the user when clicking on the Parental Control tab.

{
    "Name": "Test",
    "ServerId": "bfcc7726262845b39bf7fd006bd56f20",
    "Id": "b9a5d83f14c5489baf93f063862e5b8a",
    "HasPassword": true,
    "HasConfiguredPassword": true,
    "HasConfiguredEasyPassword": false,
    "EnableAutoLogin": false,
    "LastLoginDate": "2024-11-26T16:12:42.4064669Z",
    "LastActivityDate": "2024-11-26T16:12:42.4064669Z",
    "Configuration": {
        "AudioLanguagePreference": "",
        "PlayDefaultAudioTrack": true,
        "SubtitleLanguagePreference": "",
        "DisplayMissingEpisodes": false,
        "GroupedFolders": [],
        "SubtitleMode": "Default",
        "DisplayCollectionsView": false,
        "EnableLocalPassword": false,
        "OrderedViews": [],
        "LatestItemsExcludes": [],
        "MyMediaExcludes": [],
        "HidePlayedInLatest": true,
        "RememberAudioSelections": true,
        "RememberSubtitleSelections": true,
        "EnableNextEpisodeAutoPlay": true,
        "CastReceiverId": "F007D354"
    },
    "Policy": {
        "IsAdministrator": false,
        "IsHidden": true,
        "EnableCollectionManagement": false,
        "EnableSubtitleManagement": false,
        "EnableLyricManagement": false,
        "IsDisabled": false,
        "MaxParentalRating": 0,
        "BlockedTags": [],
        "AllowedTags": [],
        "EnableUserPreferenceAccess": true,
        "AccessSchedules": [],
        "BlockUnratedItems": [],
        "EnableRemoteControlOfOtherUsers": false,
        "EnableSharedDeviceControl": true,
        "EnableRemoteAccess": true,
        "EnableLiveTvManagement": true,
        "EnableLiveTvAccess": true,
        "EnableMediaPlayback": true,
        "EnableAudioPlaybackTranscoding": true,
        "EnableVideoPlaybackTranscoding": true,
        "EnablePlaybackRemuxing": true,
        "ForceRemoteSourceTranscoding": false,
        "EnableContentDeletion": false,
        "EnableContentDeletionFromFolders": [],
        "EnableContentDownloading": true,
        "EnableSyncTranscoding": true,
        "EnableMediaConversion": true,
        "EnabledDevices": [],
        "EnableAllDevices": true,
        "EnabledChannels": [],
        "EnableAllChannels": false,
        "EnabledFolders": [
            "0c41907140d802bb58430fed7e2cd79e",
            "abebc196cc1b8bbf6f8bb5ca7b5ad6f1",
            "91c081fe9d342c5e6850d018b77fc7e8",
            "f137a2dd21bbc1b99aa5c0f6bf02a805",
            "40dfe781fa77c620442a7c5d61335535",
            "7d10bd0f3b4e487acfc58e4ab5fddf43",
            "916b6c1d62f6dc94fd35d9d13d028d2a",
            "79a2726d3c50e769a8af1e4184e4fccf",
            "7a183111901dbbf2f6e58776295859dd",
            "d919a1f0473ac0ae4cf5854ee1499838",
            "e731b068135a6ee6cd6bd5738f9b62a2",
            "eb9fa1219493a3163ee77feaad00d404",
            "625fec85ee01951f5d3a9cd7566127bb",
            "767bffe4f11c93ef34b805451a696a4e"
        ],
        "EnableAllFolders": false,
        "InvalidLoginAttemptCount": 0,
        "LoginAttemptsBeforeLockout": -1,
        "MaxActiveSessions": 0,
        "EnablePublicSharing": true,
        "BlockedMediaFolders": [],
        "BlockedChannels": [],
        "RemoteClientBitrateLimit": 0,
        "AuthenticationProviderId": "Jellyfin.Server.Implementations.Users.DefaultAuthenticationProvider",
        "PasswordResetProviderId": "Jellyfin.Server.Implementations.Users.DefaultPasswordResetProvider",
        "SyncPlayAccess": "None"
    }
}

System (please complete the following information):

  • Platform: Ubuntu 24.04.1, Docker
  • Browser: Google Chrome 130
  • Jellyfin Version: 10.10.3
@solidsnake1298 solidsnake1298 added the bug Something isn't working label Nov 27, 2024
@thornbill
Copy link
Member

If the rating is not being returned by the api shouldn't this be a server bug?

@theguymadmax
Copy link
Contributor

@solidsnake1298
Copy link
Member Author

If the rating is not being returned by the api shouldn't this be a server bug?

Definitely a valid point since the server is returning a value (zero).

@viown
Copy link
Member

viown commented Nov 27, 2024

Definitely a valid point since the server is returning a value (zero).

0 is for Approved/G/TV-G/TV-Y. Can you try setting it to something else?

@solidsnake1298
Copy link
Member Author

In my testing I had set it to PG. Any rating I set it to does save, and does appear to properly filter content. But does not matter which I choose, coming back to the Parental Control tab the drop down is blank.

@viown
Copy link
Member

viown commented Nov 27, 2024

Can you test this #6352 (comment)

@solidsnake1298
Copy link
Member Author

Can you test this #6352 (comment)

This appears to have resolved the issue.

@viown viown closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants