add photo album

This commit is contained in:
Luke Pulverenti
2014-08-29 00:06:30 -04:00
parent 7e636a977a
commit 18a7ddc2fa
18 changed files with 462 additions and 27 deletions

View File

@@ -0,0 +1,21 @@
using MediaBrowser.Model.Configuration;
using System.Linq;
namespace MediaBrowser.Controller.Entities
{
public class PhotoAlbum : Folder
{
public override bool SupportsLocalMetadata
{
get
{
return false;
}
}
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
return config.BlockUnratedItems.Contains(UnratedItem.Other);
}
}
}