jellyfin/MediaBrowser.Controller/Entities/PhotoAlbum.cs

33 lines
719 B
C#
Raw Normal View History

2014-08-29 06:06:30 +02:00
using MediaBrowser.Model.Configuration;
using System.Linq;
2014-10-20 05:04:45 +02:00
using System.Runtime.Serialization;
2014-12-20 07:06:27 +01:00
using MediaBrowser.Model.Users;
2014-08-29 06:06:30 +02:00
namespace MediaBrowser.Controller.Entities
{
public class PhotoAlbum : Folder
{
public override bool SupportsLocalMetadata
{
get
{
return false;
}
}
2014-10-20 05:04:45 +02:00
[IgnoreDataMember]
public override bool AlwaysScanInternalMetadataPath
{
get
{
return true;
}
}
2014-12-20 07:06:27 +01:00
protected override bool GetBlockUnratedValue(UserPolicy config)
2014-08-29 06:06:30 +02:00
{
return config.BlockUnratedItems.Contains(UnratedItem.Other);
}
}
}