2016-03-27 21:11:27 +00:00
|
|
|
|
using MediaBrowser.Model.Configuration;
|
2015-04-05 15:01:57 +00:00
|
|
|
|
using MediaBrowser.Model.Users;
|
2014-08-29 04:06:30 +00:00
|
|
|
|
using System.Linq;
|
2016-10-25 19:02:04 +00:00
|
|
|
|
using MediaBrowser.Model.Serialization;
|
2014-08-29 04:06:30 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
|
{
|
2015-12-12 21:16:33 +00:00
|
|
|
|
public class PhotoAlbum : Folder
|
2014-08-29 04:06:30 +00:00
|
|
|
|
{
|
2014-10-20 03:04:45 +00:00
|
|
|
|
[IgnoreDataMember]
|
|
|
|
|
public override bool AlwaysScanInternalMetadataPath
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-12-20 06:06:27 +00:00
|
|
|
|
|
2016-10-11 06:46:59 +00:00
|
|
|
|
[IgnoreDataMember]
|
|
|
|
|
public override bool SupportsPlayedStatus
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-20 06:06:27 +00:00
|
|
|
|
protected override bool GetBlockUnratedValue(UserPolicy config)
|
2014-08-29 04:06:30 +00:00
|
|
|
|
{
|
|
|
|
|
return config.BlockUnratedItems.Contains(UnratedItem.Other);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|