2015-03-07 03:53:31 +00:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-11-19 02:45:12 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
|
|
|
{
|
2015-03-26 16:58:02 +00:00
|
|
|
|
public class PlaybackInfoResponse
|
2014-11-19 02:45:12 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the media sources.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The media sources.</value>
|
|
|
|
|
public List<MediaSourceInfo> MediaSources { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-03-23 17:19:21 +00:00
|
|
|
|
/// Gets or sets the stream identifier.
|
2014-11-19 02:45:12 +00:00
|
|
|
|
/// </summary>
|
2015-03-23 17:19:21 +00:00
|
|
|
|
/// <value>The stream identifier.</value>
|
|
|
|
|
public string StreamId { get; set; }
|
2014-11-19 02:45:12 +00:00
|
|
|
|
|
2015-03-07 03:53:31 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the error code.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The error code.</value>
|
|
|
|
|
public PlaybackErrorCode? ErrorCode { get; set; }
|
|
|
|
|
|
2015-03-26 16:58:02 +00:00
|
|
|
|
public PlaybackInfoResponse()
|
2014-11-19 02:45:12 +00:00
|
|
|
|
{
|
|
|
|
|
MediaSources = new List<MediaSourceInfo>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|