mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 04:34:18 +01:00
Display client version in the dashboard
This commit is contained in:
@@ -1,25 +1,6 @@
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Class PlaystateRequest
|
||||
/// </summary>
|
||||
public class PlaystateRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the command.
|
||||
/// </summary>
|
||||
/// <value>The command.</value>
|
||||
public PlaystateCommand Command { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the seek position.
|
||||
/// Only applicable to seek commands.
|
||||
/// </summary>
|
||||
/// <value>The seek position.</value>
|
||||
public long? SeekPosition { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum PlaystateCommand
|
||||
/// </summary>
|
||||
@@ -50,4 +31,11 @@ namespace MediaBrowser.Model.Session
|
||||
/// </summary>
|
||||
Seek
|
||||
}
|
||||
|
||||
public class PlayStateRequest
|
||||
{
|
||||
public PlaystateCommand Command { get; set; }
|
||||
|
||||
public long? SeekPosition { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,12 @@ namespace MediaBrowser.Model.Session
|
||||
/// </summary>
|
||||
/// <value>The name of the user.</value>
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the application version.
|
||||
/// </summary>
|
||||
/// <value>The application version.</value>
|
||||
public string ApplicationVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the client.
|
||||
|
||||
Reference in New Issue
Block a user