mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
22 lines
477 B
C#
22 lines
477 B
C#
|
using MediaBrowser.Model.Configuration;
|
|||
|
using System.Linq;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Entities
|
|||
|
{
|
|||
|
public class PhotoAlbum : Folder
|
|||
|
{
|
|||
|
public override bool SupportsLocalMetadata
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return false;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
protected override bool GetBlockUnratedValue(UserConfiguration config)
|
|||
|
{
|
|||
|
return config.BlockUnratedItems.Contains(UnratedItem.Other);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|