aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Session')
-rw-r--r--MediaBrowser.Model/Session/BrowseRequest.cs8
-rw-r--r--MediaBrowser.Model/Session/MessageCommand.cs9
-rw-r--r--MediaBrowser.Model/Session/PlayRequest.cs14
-rw-r--r--MediaBrowser.Model/Session/PlaystateCommand.cs5
4 files changed, 7 insertions, 29 deletions
diff --git a/MediaBrowser.Model/Session/BrowseRequest.cs b/MediaBrowser.Model/Session/BrowseRequest.cs
index 03241860c..e2cdcc1b2 100644
--- a/MediaBrowser.Model/Session/BrowseRequest.cs
+++ b/MediaBrowser.Model/Session/BrowseRequest.cs
@@ -1,6 +1,4 @@

-using System;
-
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -14,8 +12,6 @@ namespace MediaBrowser.Model.Session
/// <value>The type of the item.</value>
public string ItemType { get; set; }
- public Guid UserId { get; set; }
-
/// <summary>
/// Gets or sets the item id.
/// </summary>
@@ -27,7 +23,7 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value>The name of the item.</value>
public string ItemName { get; set; }
-
+
/// <summary>
/// Gets or sets the context (Movies, Music, Tv, etc)
/// Applicable to genres, studios and persons only because the context of items and artists can be inferred.
@@ -44,4 +40,4 @@ namespace MediaBrowser.Model.Session
public const string TvShows = "TvShows";
public const string Games = "Games";
}
-}
+} \ No newline at end of file
diff --git a/MediaBrowser.Model/Session/MessageCommand.cs b/MediaBrowser.Model/Session/MessageCommand.cs
index 754c057fa..b028765ed 100644
--- a/MediaBrowser.Model/Session/MessageCommand.cs
+++ b/MediaBrowser.Model/Session/MessageCommand.cs
@@ -1,15 +1,12 @@

-using System;
namespace MediaBrowser.Model.Session
{
public class MessageCommand
- {
- public Guid UserId { get; set; }
-
+ {
public string Header { get; set; }
-
+
public string Text { get; set; }
public long? TimeoutMs { get; set; }
}
-}
+} \ No newline at end of file
diff --git a/MediaBrowser.Model/Session/PlayRequest.cs b/MediaBrowser.Model/Session/PlayRequest.cs
index 239fb6572..57f6c37f5 100644
--- a/MediaBrowser.Model/Session/PlayRequest.cs
+++ b/MediaBrowser.Model/Session/PlayRequest.cs
@@ -1,5 +1,4 @@

-using System;
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -7,11 +6,6 @@ namespace MediaBrowser.Model.Session
/// </summary>
public class PlayRequest
{
- public PlayRequest()
- {
-
- }
-
/// <summary>
/// Gets or sets the item ids.
/// </summary>
@@ -29,12 +23,6 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value>The play command.</value>
public PlayCommand PlayCommand { get; set; }
-
- /// <summary>
- /// Gets or sets the play command.
- /// </summary>
- /// <value>The play command.</value>
- public Guid UserId { get; set; }
}
/// <summary>
@@ -55,4 +43,4 @@ namespace MediaBrowser.Model.Session
/// </summary>
PlayLast
}
-}
+} \ No newline at end of file
diff --git a/MediaBrowser.Model/Session/PlaystateCommand.cs b/MediaBrowser.Model/Session/PlaystateCommand.cs
index 68e80c452..918f4f70f 100644
--- a/MediaBrowser.Model/Session/PlaystateCommand.cs
+++ b/MediaBrowser.Model/Session/PlaystateCommand.cs
@@ -1,5 +1,4 @@

-using System;
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -35,10 +34,8 @@ namespace MediaBrowser.Model.Session
public class PlaystateRequest
{
- public Guid UserId { get; set; }
-
public PlaystateCommand Command { get; set; }
public long? SeekPositionTicks { get; set; }
}
-}
+} \ No newline at end of file