added ability to track web sockets per session

This commit is contained in:
Luke Pulverenti
2013-05-09 13:38:02 -04:00
parent f57cec4cff
commit e1f8c18b51
23 changed files with 664 additions and 401 deletions

View File

@@ -26,6 +26,12 @@ namespace MediaBrowser.Model.Entities
/// <value>The type.</value>
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>
@@ -44,12 +50,6 @@ namespace MediaBrowser.Model.Entities
/// <value>The primary image tag.</value>
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>
@@ -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; }
}
}
}

View File

@@ -56,7 +56,7 @@
<Compile Include="Querying\ArtistsQuery.cs" />
<Compile Include="Querying\ItemsByNameQuery.cs" />
<Compile Include="Entities\BaseItemInfo.cs" />
<Compile Include="Connectivity\ClientConnectionInfo.cs" />
<Compile Include="Session\SessionInfo.cs" />
<Compile Include="Entities\ImageDownloadOptions.cs" />
<Compile Include="Logging\ILogManager.cs" />
<Compile Include="MediaInfo\BlurayDiscInfo.cs" />

View File

@@ -1,13 +1,19 @@
using MediaBrowser.Model.Entities;
using System;
namespace MediaBrowser.Model.Connectivity
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Class ClientConnectionInfo
/// Class SessionInfo
/// </summary>
public class ClientConnectionInfo
public class SessionInfo
{
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>The id.</value>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the user id.
/// </summary>