mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add last one
This commit is contained in:
parent
52c1b45feb
commit
9b2cf8501f
@ -228,7 +228,9 @@ namespace MediaBrowser.Api.UserLibrary
|
|||||||
var collectionFolders = _libraryManager.GetCollectionFolders(item);
|
var collectionFolders = _libraryManager.GetCollectionFolders(item);
|
||||||
foreach (var collectionFolder in collectionFolders)
|
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;
|
isInEnabledFolder = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user