2020-04-05 16:10:56 +00:00
|
|
|
#nullable disable
|
2020-02-04 00:49:27 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:02:23 +00:00
|
|
|
namespace MediaBrowser.Model.Session
|
2018-12-27 23:27:57 +00:00
|
|
|
{
|
|
|
|
public class PlayerStateInfo
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the now playing position ticks.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The now playing position ticks.</value>
|
|
|
|
public long? PositionTicks { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance can seek.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance can seek; otherwise, <c>false</c>.</value>
|
|
|
|
public bool CanSeek { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is paused.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is paused; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsPaused { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this instance is muted.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if this instance is muted; otherwise, <c>false</c>.</value>
|
|
|
|
public bool IsMuted { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the volume level.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The volume level.</value>
|
|
|
|
public int? VolumeLevel { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the index of the now playing audio stream.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The index of the now playing audio stream.</value>
|
|
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the index of the now playing subtitle stream.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The index of the now playing subtitle stream.</value>
|
|
|
|
public int? SubtitleStreamIndex { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the now playing media version identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The now playing media version identifier.</value>
|
|
|
|
public string MediaSourceId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the play method.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The play method.</value>
|
|
|
|
public PlayMethod? PlayMethod { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the repeat mode.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The repeat mode.</value>
|
|
|
|
public RepeatMode RepeatMode { get; set; }
|
2022-05-29 14:49:50 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the now playing live stream identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The live stream identifier.</value>
|
|
|
|
public string LiveStreamId { get; set; }
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
2019-01-13 19:31:15 +00:00
|
|
|
}
|