jellyfin-server/MediaBrowser.Model/MediaInfo/PlaybackInfoResponse.cs

40 lines
1.1 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using MediaBrowser.Model.Dlna;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Model.MediaInfo
{
/// <summary>
/// Class PlaybackInfoResponse.
/// </summary>
2018-12-27 23:27:57 +00:00
public class PlaybackInfoResponse
{
/// <summary>
/// Initializes a new instance of the <see cref="PlaybackInfoResponse" /> class.
/// </summary>
public PlaybackInfoResponse()
{
MediaSources = Array.Empty<MediaSourceInfo>();
}
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the media sources.
/// </summary>
/// <value>The media sources.</value>
public IReadOnlyList<MediaSourceInfo> MediaSources { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the play session identifier.
/// </summary>
/// <value>The play session identifier.</value>
public string? PlaySessionId { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the error code.
/// </summary>
/// <value>The error code.</value>
public PlaybackErrorCode? ErrorCode { get; set; }
}
}