mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
Merge branch 'master' of https://github.com/7illusions/MediaBrowser
This commit is contained in:
@@ -572,17 +572,18 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Instructs antoher client to browse to a library item.
|
||||
/// </summary>
|
||||
/// <param name="sessionId">The session id.</param>
|
||||
/// <param name="userId">The controlling user id.</param>
|
||||
/// <param name="itemId">The id of the item to browse to.</param>
|
||||
/// <param name="itemName">The name of the item to browse to.</param>
|
||||
/// <param name="itemType">The type of the item to browse to.</param>
|
||||
/// <param name="context">Optional ui context (movies, music, tv, games, etc). The client is free to ignore this.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendBrowseCommandAsync(string sessionId, string itemId, string itemName, string itemType, string context);
|
||||
Task SendBrowseCommandAsync(string sessionId, string userId, string itemId, string itemName, string itemType, string context);
|
||||
|
||||
/// <summary>
|
||||
/// Sends the playstate command async.
|
||||
/// </summary>
|
||||
/// <param name="sessionId">The session id.</param>
|
||||
/// <param name="sessionId">The session id.</param>
|
||||
/// <param name="request">The request.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendPlaystateCommandAsync(string sessionId, PlaystateRequest request);
|
||||
|
||||
@@ -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