jellyfin/MediaBrowser.Model/MediaInfo/PlaybackInfoResponse.cs

33 lines
894 B
C#
Raw Normal View History

2015-03-06 20:53:31 -07:00
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.Dto;
2014-11-18 19:45:12 -07:00
using System.Collections.Generic;
namespace MediaBrowser.Model.MediaInfo
{
public class PlaybackInfoResponse
2014-11-18 19:45:12 -07:00
{
/// <summary>
/// Gets or sets the media sources.
/// </summary>
/// <value>The media sources.</value>
2017-08-19 12:43:35 -07:00
public MediaSourceInfo[] MediaSources { get; set; }
2014-11-18 19:45:12 -07:00
/// <summary>
2015-03-29 11:31:28 -07:00
/// Gets or sets the play session identifier.
2014-11-18 19:45:12 -07:00
/// </summary>
2015-03-29 11:31:28 -07:00
/// <value>The play session identifier.</value>
public string PlaySessionId { get; set; }
2014-11-18 19:45:12 -07:00
2015-03-06 20:53:31 -07:00
/// <summary>
/// Gets or sets the error code.
/// </summary>
/// <value>The error code.</value>
public PlaybackErrorCode? ErrorCode { get; set; }
public PlaybackInfoResponse()
2014-11-18 19:45:12 -07:00
{
2017-08-19 12:43:35 -07:00
MediaSources = new MediaSourceInfo[] { };
2014-11-18 19:45:12 -07:00
}
}
}