[PR #12721] [MERGED] Skip allowed tags check for parents of an item #13338

Closed
opened 2026-02-07 07:11:14 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12721
Author: @elfalem
Created: 9/26/2024
Status: Merged
Merged: 2/9/2025
Merged by: @crobibero

Base: release-10.10.zHead: allowed-tags-subfolders


📝 Commits (1)

  • 7878ae6 Skip allowed tags check for parents of an item

📊 Changes

6 files changed (+20 additions, -18 deletions)

View changed files

📝 MediaBrowser.Controller/Channels/Channel.cs (+2 -2)
📝 MediaBrowser.Controller/Entities/BaseItem.cs (+9 -7)
📝 MediaBrowser.Controller/Entities/CollectionFolder.cs (+2 -2)
📝 MediaBrowser.Controller/Entities/Folder.cs (+2 -2)
📝 MediaBrowser.Controller/Entities/Movies/BoxSet.cs (+3 -3)
📝 MediaBrowser.Controller/Playlists/Playlist.cs (+2 -2)

📄 Description

The current logic is described in this comment. In short, the allowed tags check traverses the hierarchy of an item and checks all parents. This is usually desirable for blocked tags since an item shouldn't be visible if it or any of its parents are blocked. However, similar logic makes it cumbersome/impractical to use allowed tags because they would have to be applied to all parents of an item in addition to the item.

Changes
The changes skip checking allowed tags on parents of an item. The item itself is still checked. No changes are made to blocked tags or parental ratings logic.

Issues
Fixes #11869


🔄 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/12721 **Author:** [@elfalem](https://github.com/elfalem) **Created:** 9/26/2024 **Status:** ✅ Merged **Merged:** 2/9/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.10.z` ← **Head:** `allowed-tags-subfolders` --- ### 📝 Commits (1) - [`7878ae6`](https://github.com/jellyfin/jellyfin/commit/7878ae683d851a64c21ae641d7914f0a9e845aed) Skip allowed tags check for parents of an item ### 📊 Changes **6 files changed** (+20 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Channels/Channel.cs` (+2 -2) 📝 `MediaBrowser.Controller/Entities/BaseItem.cs` (+9 -7) 📝 `MediaBrowser.Controller/Entities/CollectionFolder.cs` (+2 -2) 📝 `MediaBrowser.Controller/Entities/Folder.cs` (+2 -2) 📝 `MediaBrowser.Controller/Entities/Movies/BoxSet.cs` (+3 -3) 📝 `MediaBrowser.Controller/Playlists/Playlist.cs` (+2 -2) </details> ### 📄 Description The current logic is described in [this comment](https://github.com/jellyfin/jellyfin/issues/11869#issuecomment-2332871326). In short, the allowed tags check traverses the hierarchy of an item and checks all parents. This is usually desirable for blocked tags since an item shouldn't be visible if it or any of its parents are blocked. However, similar logic makes it cumbersome/impractical to use allowed tags because they would have to be applied to all parents of an item in addition to the item. **Changes** The changes skip checking allowed tags on parents of an item. The item itself is still checked. No changes are made to blocked tags or parental ratings logic. **Issues** Fixes #11869 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:11:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13338