32 lines
702 B
C#
32 lines
702 B
C#
using MediaBrowser.Model.Configuration;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
public class PhotoAlbum : Folder
|
|
{
|
|
public override bool SupportsLocalMetadata
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
[IgnoreDataMember]
|
|
public override bool AlwaysScanInternalMetadataPath
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
protected override bool GetBlockUnratedValue(UserConfiguration config)
|
|
{
|
|
return config.BlockUnratedItems.Contains(UnratedItem.Other);
|
|
}
|
|
}
|
|
}
|