The Free Software Media System - Server Backend & API
Add last one
Bond_0099b2cf8501f08
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.csindex c605cd3962..a1e976bed8 100644--- a/MediaBrowser.Api/UserLibrary/ItemsService.cs+++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs@@ -228,7 +228,9 @@ namespace MediaBrowser.Api.UserLibraryvar collectionFolders = _libraryManager.GetCollectionFolders(item);foreach (var collectionFolder in collectionFolders){- if (user.Policy.EnabledFolders.Contains(collectionFolder.Id.ToString("N"), StringComparer.OrdinalIgnoreCase))+ if (user.Policy.EnabledFolders.Contains(+ collectionFolder.Id.ToString("N", CultureInfo.InvariantCulture),+ StringComparer.OrdinalIgnoreCase)){isInEnabledFolder = true;}