[PR #15786] [MERGED] Fix parental rating filtering with sub-scores #14241

Closed
opened 2025-12-22 10:23:59 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15786
Author: @theguymadmax
Created: 12/13/2025
Status: Merged
Merged: 12/13/2025
Merged by: @crobibero

Base: release-10.11.zHead: fix-parental-rating-subscores


📝 Commits (1)

  • ddbf5e9 Fix parental rating comparison with sub-scores

📊 Changes

1 file changed (+8 additions, -3 deletions)

View changed files

📝 MediaBrowser.Controller/Entities/BaseItem.cs (+8 -3)

📄 Description

Content was being incorrectly blocked because Jellyfin was evaluating the main rating and sub-ratings separately, instead of only using sub-ratings when the main rating was the same.

Changes
Compare the main rating first, and only consider the sub-score when the main scores are equal.

Issues
Fixes #15775


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/15786 **Author:** [@theguymadmax](https://github.com/theguymadmax) **Created:** 12/13/2025 **Status:** ✅ Merged **Merged:** 12/13/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.11.z` ← **Head:** `fix-parental-rating-subscores` --- ### 📝 Commits (1) - [`ddbf5e9`](https://github.com/jellyfin/jellyfin/commit/ddbf5e98b277d17e81086833469fff9a4bce9bc1) Fix parental rating comparison with sub-scores ### 📊 Changes **1 file changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Entities/BaseItem.cs` (+8 -3) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> Content was being incorrectly blocked because Jellyfin was evaluating the main rating and sub-ratings separately, instead of only using sub-ratings when the main rating was the same. **Changes** Compare the main rating first, and only consider the sub-score when the main scores are equal. **Issues** Fixes #15775 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 10:23:59 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#14241
No description provided.