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

33 lines
894 B
C#
Raw Normal View History

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
{
public class PlaybackInfoResponse
2014-11-19 02:45:12 +00:00
{
/// <summary>
/// Gets or sets the media sources.
/// </summary>
/// <value>The media sources.</value>
2017-08-19 19:43:35 +00:00
public MediaSourceInfo[] MediaSources { get; set; }
2014-11-19 02:45:12 +00:00
/// <summary>
2015-03-29 18:31:28 +00:00
/// Gets or sets the play session identifier.
2014-11-19 02:45:12 +00:00
/// </summary>
2015-03-29 18:31:28 +00:00
/// <value>The play session identifier.</value>
public string PlaySessionId { 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; }
public PlaybackInfoResponse()
2014-11-19 02:45:12 +00:00
{
2017-08-19 19:43:35 +00:00
MediaSources = new MediaSourceInfo[] { };
2014-11-19 02:45:12 +00:00
}
}
}