mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
added ControllableByUserId to sessions url
This commit is contained in:
@@ -187,7 +187,7 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Gets active client sessions.
|
||||
/// </summary>
|
||||
/// <returns>Task{SessionInfoDto[]}.</returns>
|
||||
Task<SessionInfoDto[]> GetClientSessionsAsync();
|
||||
Task<SessionInfoDto[]> GetClientSessionsAsync(SessionQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the item counts async.
|
||||
|
||||
@@ -89,6 +89,12 @@
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>
|
||||
public bool AppendBaselineStream { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the time stamp offset ms. Only used with HLS.
|
||||
/// </summary>
|
||||
/// <value>The time stamp offset ms.</value>
|
||||
public int? TimeStampOffsetMs { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
<Compile Include="Querying\ItemsByNameQuery.cs" />
|
||||
<Compile Include="Entities\BaseItemInfo.cs" />
|
||||
<Compile Include="Querying\NextUpQuery.cs" />
|
||||
<Compile Include="Querying\SessionQuery.cs" />
|
||||
<Compile Include="Querying\SimilarItemsQuery.cs" />
|
||||
<Compile Include="Querying\UserQuery.cs" />
|
||||
<Compile Include="Session\BrowseRequest.cs" />
|
||||
|
||||
19
MediaBrowser.Model/Querying/SessionQuery.cs
Normal file
19
MediaBrowser.Model/Querying/SessionQuery.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
/// <summary>
|
||||
/// Class SessionQuery
|
||||
/// </summary>
|
||||
public class SessionQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Filter by sessions that are allowed to be controlled by a given user
|
||||
/// </summary>
|
||||
public string ControllableByUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Filter by sessions that either do or do not support remote control. Default returns all sessions.
|
||||
/// </summary>
|
||||
public bool? SupportsRemoteControl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user