mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Start line with Boolean
This commit is contained in:
parent
b05e04c0cb
commit
46453549b5
1 changed files with 2 additions and 2 deletions
|
@ -213,9 +213,9 @@ namespace MediaBrowser.Api.UserLibrary
|
|||
request.IncludeItemTypes = "Playlist";
|
||||
}
|
||||
|
||||
bool isInEnabledFolder = user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id) ||
|
||||
bool isInEnabledFolder = user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id)
|
||||
// Assume all folders inside an EnabledChannel are enabled
|
||||
user.Policy.EnabledChannels.Any(i => new Guid(i) == item.Id);
|
||||
|| user.Policy.EnabledChannels.Any(i => new Guid(i) == item.Id);
|
||||
|
||||
var collectionFolders = _libraryManager.GetCollectionFolders(item);
|
||||
foreach (var collectionFolder in collectionFolders)
|
||||
|
|
Loading…
Reference in a new issue