2019-12-20 20:49:16 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2019-01-13 20:02:23 +00:00
|
|
|
using MediaBrowser.Model.Dlna;
|
2018-12-27 23:27:57 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
|
|
{
|
2019-12-20 20:49:16 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Class PlaybackInfoResponse.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public class PlaybackInfoResponse
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the media sources.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The media sources.</value>
|
2019-12-20 20:49:16 +00:00
|
|
|
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; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the error code.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The error code.</value>
|
|
|
|
public PlaybackErrorCode? ErrorCode { get; set; }
|
|
|
|
|
2019-12-20 20:49:16 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="PlaybackInfoResponse" /> class.
|
|
|
|
/// </summary>
|
2018-12-27 23:27:57 +00:00
|
|
|
public PlaybackInfoResponse()
|
|
|
|
{
|
2019-12-20 20:49:16 +00:00
|
|
|
MediaSources = Array.Empty<MediaSourceInfo>();
|
2018-12-27 23:27:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|