mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 16:58:50 +01:00
updated nuget
This commit is contained in:
@@ -58,6 +58,15 @@ namespace MediaBrowser.Model.ApiClient
|
||||
Task<T> GetAsync<T>(string url, CancellationToken cancellationToken)
|
||||
where T : class;
|
||||
|
||||
/// <summary>
|
||||
/// Reports the capabilities.
|
||||
/// </summary>
|
||||
/// <param name="sessionId">The session identifier.</param>
|
||||
/// <param name="capabilities">The capabilities.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task ReportCapabilities(string sessionId, ClientCapabilities capabilities, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the index of the game players.
|
||||
/// </summary>
|
||||
|
||||
@@ -166,4 +166,14 @@ namespace MediaBrowser.Model.Session
|
||||
/// <value>The name of the user.</value>
|
||||
public string UserName { get; set; }
|
||||
}
|
||||
|
||||
public class ClientCapabilities
|
||||
{
|
||||
public List<string> PlayableMediaTypes { get; set; }
|
||||
|
||||
public ClientCapabilities()
|
||||
{
|
||||
PlayableMediaTypes = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user