jellyfin/MediaBrowser.Controller/Entities/PhotoAlbum.cs

34 lines
749 B
C#
Raw Normal View History

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;
2016-10-25 21:02:04 +02:00
using MediaBrowser.Model.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
{
2014-10-20 05:04:45 +02:00
[IgnoreDataMember]
public override bool AlwaysScanInternalMetadataPath
{
get
{
return true;
}
}
2014-12-20 07:06:27 +01:00
2016-10-11 08:46:59 +02:00
[IgnoreDataMember]
public override bool SupportsPlayedStatus
{
get
{
return false;
}
}
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);
}
}
}