Added UserId To API Remotecontrol-calls

This commit is contained in:
7illusions
2014-03-08 22:36:12 +01:00
parent c25610e0d5
commit b7b8cb5084
6 changed files with 74 additions and 4 deletions

View File

@@ -1,4 +1,6 @@

using System;
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -12,6 +14,8 @@ 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>

View File

@@ -1,8 +1,11 @@

using System;
namespace MediaBrowser.Model.Session
{
public class MessageCommand
{
{
public Guid UserId { get; set; }
public string Header { get; set; }
public string Text { get; set; }

View File

@@ -1,4 +1,5 @@

using System;
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -6,6 +7,11 @@ namespace MediaBrowser.Model.Session
/// </summary>
public class PlayRequest
{
public PlayRequest()
{
}
/// <summary>
/// Gets or sets the item ids.
/// </summary>
@@ -23,6 +29,12 @@ 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>

View File

@@ -1,4 +1,5 @@

using System;
namespace MediaBrowser.Model.Session
{
/// <summary>
@@ -34,6 +35,8 @@ namespace MediaBrowser.Model.Session
public class PlaystateRequest
{
public Guid UserId { get; set; }
public PlaystateCommand Command { get; set; }
public long? SeekPositionTicks { get; set; }