mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-25 06:27:15 -04:00
Folder can't have extras
This commit is contained in:
parent
6d6fb1bba3
commit
c5569c701c
1 changed files with 1 additions and 1 deletions
|
@ -1451,7 +1451,7 @@ namespace MediaBrowser.Controller.Entities
|
||||||
/// <returns><c>true</c> if any items have changed, else <c>false</c>.</returns>
|
/// <returns><c>true</c> if any items have changed, else <c>false</c>.</returns>
|
||||||
protected virtual async Task<bool> RefreshedOwnedItems(MetadataRefreshOptions options, List<FileSystemMetadata> fileSystemChildren, CancellationToken cancellationToken)
|
protected virtual async Task<bool> RefreshedOwnedItems(MetadataRefreshOptions options, List<FileSystemMetadata> fileSystemChildren, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
if (!IsFileProtocol || !SupportsOwnedItems || IsInMixedFolder || this is ICollectionFolder)
|
if (!IsFileProtocol || !SupportsOwnedItems || IsInMixedFolder || this is ICollectionFolder || this.GetType() == typeof(Folder))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue