2015-03-06 22:53:31 -05:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-11-18 21:45:12 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
|
|
|
|
{
|
2015-03-26 12:58:02 -04:00
|
|
|
|
public class PlaybackInfoResponse
|
2014-11-18 21:45:12 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the media sources.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>The media sources.</value>
|
|
|
|
|
|
public List<MediaSourceInfo> MediaSources { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2015-03-29 14:31:28 -04:00
|
|
|
|
/// Gets or sets the play session identifier.
|
2014-11-18 21:45:12 -05:00
|
|
|
|
/// </summary>
|
2015-03-29 14:31:28 -04:00
|
|
|
|
/// <value>The play session identifier.</value>
|
|
|
|
|
|
public string PlaySessionId { get; set; }
|
2014-11-18 21:45:12 -05:00
|
|
|
|
|
2015-03-06 22:53:31 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the error code.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>The error code.</value>
|
|
|
|
|
|
public PlaybackErrorCode? ErrorCode { get; set; }
|
|
|
|
|
|
|
2015-03-26 12:58:02 -04:00
|
|
|
|
public PlaybackInfoResponse()
|
2014-11-18 21:45:12 -05:00
|
|
|
|
{
|
|
|
|
|
|
MediaSources = new List<MediaSourceInfo>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|