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