jellyfin-server/MediaBrowser.Controller/Entities/PhotoAlbum.cs
Luke Pulverenti 6adc668bed update icons
2016-05-07 13:47:41 -04:00

25 lines
573 B
C#

using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Users;
using System.Linq;
using System.Runtime.Serialization;
namespace MediaBrowser.Controller.Entities
{
public class PhotoAlbum : Folder
{
[IgnoreDataMember]
public override bool AlwaysScanInternalMetadataPath
{
get
{
return true;
}
}
protected override bool GetBlockUnratedValue(UserPolicy config)
{
return config.BlockUnratedItems.Contains(UnratedItem.Other);
}
}
}