2020-04-05 09:10:56 -07:00
|
|
|
#nullable disable
|
2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System;
|
2019-01-13 12:26:15 -07:00
|
|
|
using MediaBrowser.Model.Dto;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Class PlaybackStopInfo.
|
|
|
|
/// </summary>
|
|
|
|
public class PlaybackStopInfo
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the item.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The item.</value>
|
|
|
|
public BaseItemDto Item { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the item identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The item identifier.</value>
|
|
|
|
public Guid ItemId { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the session id.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The session id.</value>
|
|
|
|
public string SessionId { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the media version identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The media version identifier.</value>
|
|
|
|
public string MediaSourceId { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the position ticks.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The position ticks.</value>
|
|
|
|
public long? PositionTicks { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the live stream identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The live stream identifier.</value>
|
|
|
|
public string LiveStreamId { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the play session identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The play session identifier.</value>
|
|
|
|
public string PlaySessionId { get; set; }
|
2020-02-03 17:49:27 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed.
|
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
|
|
|
|
public bool Failed { get; set; }
|
|
|
|
|
|
|
|
public string NextMediaType { get; set; }
|
|
|
|
|
|
|
|
public string PlaylistItemId { get; set; }
|
2020-06-15 14:43:52 -07:00
|
|
|
|
2018-12-27 16:27:57 -07:00
|
|
|
public QueueItem[] NowPlayingQueue { get; set; }
|
|
|
|
}
|
|
|
|
}
|