diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 13:38:02 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 13:38:02 -0400 |
| commit | e1f8c18b516f5bd31f64b8faaa53266a3daddd7a (patch) | |
| tree | b7f3212a71d19dfd99f44d50ba1fa85aa8e81b6b /MediaBrowser.Model/Entities | |
| parent | f57cec4cff8feff70e62056549ea19bbd6a8316c (diff) | |
added ability to track web sockets per session
Diffstat (limited to 'MediaBrowser.Model/Entities')
| -rw-r--r-- | MediaBrowser.Model/Entities/BaseItemInfo.cs | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/MediaBrowser.Model/Entities/BaseItemInfo.cs b/MediaBrowser.Model/Entities/BaseItemInfo.cs index dc7b3bebe..0d8e35cc9 100644 --- a/MediaBrowser.Model/Entities/BaseItemInfo.cs +++ b/MediaBrowser.Model/Entities/BaseItemInfo.cs @@ -27,6 +27,12 @@ namespace MediaBrowser.Model.Entities public string Type { get; set; } /// <summary> + /// Gets or sets the type of the media. + /// </summary> + /// <value>The type of the media.</value> + public string MediaType { get; set; } + + /// <summary> /// Gets or sets a value indicating whether this instance is folder. /// </summary> /// <value><c>true</c> if this instance is folder; otherwise, <c>false</c>.</value> @@ -45,12 +51,6 @@ namespace MediaBrowser.Model.Entities public Guid? PrimaryImageTag { get; set; } /// <summary> - /// Gets or sets the backdrop image tag. - /// </summary> - /// <value>The backdrop image tag.</value> - public Guid? BackdropImageTag { get; set; } - - /// <summary> /// Gets a value indicating whether this instance has primary image. /// </summary> /// <value><c>true</c> if this instance has primary image; otherwise, <c>false</c>.</value> @@ -59,15 +59,5 @@ namespace MediaBrowser.Model.Entities { get { return PrimaryImageTag.HasValue; } } - - /// <summary> - /// Gets a value indicating whether this instance has backdrop. - /// </summary> - /// <value><c>true</c> if this instance has backdrop; otherwise, <c>false</c>.</value> - [IgnoreDataMember] - public bool HasBackdrop - { - get { return BackdropImageTag.HasValue; } - } } } |
