mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-18 20:24:20 +01:00
Added UserId To API Remotecontrol-calls
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user