|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item identifier.</value>
|
|
|
|
|
public Guid ItemId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the session id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The session id.</value>
|
|
|
|
|
public string SessionId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the media version identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The media version identifier.</value>
|
|
|
|
|
public string MediaSourceId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the position ticks.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The position ticks.</value>
|
|
|
|
|
public long? PositionTicks { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the live stream identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The live stream identifier.</value>
|
|
|
|
|
public string LiveStreamId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the play session identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The play session identifier.</value>
|
|
|
|
|
public string PlaySessionId { get; set; }
|
|
|
|
|
/// <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; }
|
|
|
|
|
public QueueItem[] NowPlayingQueue { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|