aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Year.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Entities/Year.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Year.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/MediaBrowser.Controller/Entities/Year.cs b/MediaBrowser.Controller/Entities/Year.cs
index abb91cb31..0853200dd 100644
--- a/MediaBrowser.Controller/Entities/Year.cs
+++ b/MediaBrowser.Controller/Entities/Year.cs
@@ -18,14 +18,22 @@ namespace MediaBrowser.Controller.Entities
[JsonIgnore]
public override bool SupportsAncestors => false;
+ [JsonIgnore]
+ public override bool SupportsPeople => false;
+
+ /// <summary>
+ /// Gets the folder containing the item.
+ /// If the item is a folder, it returns the folder itself.
+ /// </summary>
+ /// <value>The containing folder path.</value>
+ [JsonIgnore]
+ public override string ContainingFolderPath => Path;
+
public override bool CanDelete()
{
return false;
}
- [JsonIgnore]
- public override bool SupportsPeople => false;
-
public override List<string> GetUserDataKeys()
{
var list = base.GetUserDataKeys();
@@ -34,14 +42,6 @@ namespace MediaBrowser.Controller.Entities
return list;
}
- /// <summary>
- /// Gets the folder containing the item.
- /// If the item is a folder, it returns the folder itself.
- /// </summary>
- /// <value>The containing folder path.</value>
- [JsonIgnore]
- public override string ContainingFolderPath => Path;
-
public override double GetDefaultPrimaryImageAspectRatio()
{
double value = 2;