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