2016-03-27 23:11:27 +02:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2015-04-05 17:01:57 +02:00
|
|
|
|
using MediaBrowser.Model.Users;
|
2014-08-29 06:06:30 +02:00
|
|
|
|
using System.Linq;
|
2014-10-20 05:04:45 +02:00
|
|
|
|
using System.Runtime.Serialization;
|
2014-08-29 06:06:30 +02:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
2015-12-12 22:16:33 +01:00
|
|
|
|
public class PhotoAlbum : Folder
|
2014-08-29 06:06:30 +02:00
|
|
|
|
{
|
2015-11-13 03:50:02 +01:00
|
|
|
|
[IgnoreDataMember]
|
2014-08-29 06:06:30 +02:00
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|