mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-26 17:40:30 +01:00
add photo album
This commit is contained in:
21
MediaBrowser.Controller/Entities/PhotoAlbum.cs
Normal file
21
MediaBrowser.Controller/Entities/PhotoAlbum.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user