jellyfin-server/MediaBrowser.Controller/Entities/PhotoAlbum.cs
2014-10-19 23:04:45 -04:00

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);
}
}
}