aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/DisplayPreferences.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-07-27 20:50:58 -0400
committerPatrick Barron <barronpm@gmail.com>2020-07-27 20:50:58 -0400
commit754837f16fef1c56cc8ccb30b75a0e316a72906a (patch)
treefcb8da3024364a6f54d9aa49a3b1ced8bb2502fb /Jellyfin.Data/Entities/DisplayPreferences.cs
parent7d6c1befe51ec20c4727426ae7bff8bb316e3495 (diff)
Add tv home.
Diffstat (limited to 'Jellyfin.Data/Entities/DisplayPreferences.cs')
-rw-r--r--Jellyfin.Data/Entities/DisplayPreferences.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/DisplayPreferences.cs b/Jellyfin.Data/Entities/DisplayPreferences.cs
index d2cf99195..cda83f6bb 100644
--- a/Jellyfin.Data/Entities/DisplayPreferences.cs
+++ b/Jellyfin.Data/Entities/DisplayPreferences.cs
@@ -27,6 +27,7 @@ namespace Jellyfin.Data.Entities
ScrollDirection = ScrollDirection.Horizontal;
ChromecastVersion = ChromecastVersion.Stable;
DashboardTheme = string.Empty;
+ TvHome = string.Empty;
HomeSections = new HashSet<HomeSection>();
}
@@ -135,6 +136,13 @@ namespace Jellyfin.Data.Entities
public string DashboardTheme { get; set; }
/// <summary>
+ /// Gets or sets the tv home screen.
+ /// </summary>
+ [MaxLength(32)]
+ [StringLength(32)]
+ public string TvHome { get; set; }
+
+ /// <summary>
/// Gets or sets the home sections.
/// </summary>
public virtual ICollection<HomeSection> HomeSections { get; protected set; }