From e1f8c18b516f5bd31f64b8faaa53266a3daddd7a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 9 May 2013 13:38:02 -0400 Subject: added ability to track web sockets per session --- MediaBrowser.Model/Entities/BaseItemInfo.cs | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'MediaBrowser.Model/Entities') diff --git a/MediaBrowser.Model/Entities/BaseItemInfo.cs b/MediaBrowser.Model/Entities/BaseItemInfo.cs index dc7b3bebe8..0d8e35cc91 100644 --- a/MediaBrowser.Model/Entities/BaseItemInfo.cs +++ b/MediaBrowser.Model/Entities/BaseItemInfo.cs @@ -26,6 +26,12 @@ namespace MediaBrowser.Model.Entities /// The type. public string Type { get; set; } + /// + /// Gets or sets the type of the media. + /// + /// The type of the media. + public string MediaType { get; set; } + /// /// Gets or sets a value indicating whether this instance is folder. /// @@ -44,12 +50,6 @@ namespace MediaBrowser.Model.Entities /// The primary image tag. public Guid? PrimaryImageTag { get; set; } - /// - /// Gets or sets the backdrop image tag. - /// - /// The backdrop image tag. - public Guid? BackdropImageTag { get; set; } - /// /// Gets a value indicating whether this instance has primary image. /// @@ -59,15 +59,5 @@ namespace MediaBrowser.Model.Entities { get { return PrimaryImageTag.HasValue; } } - - /// - /// Gets a value indicating whether this instance has backdrop. - /// - /// true if this instance has backdrop; otherwise, false. - [IgnoreDataMember] - public bool HasBackdrop - { - get { return BackdropImageTag.HasValue; } - } } } -- cgit v1.2.3