You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using MediaBrowser.Model.Dlna;
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
{
|
|
/// <summary>
|
|
/// Class PlaybackInfoResponse.
|
|
/// </summary>
|
|
public class PlaybackInfoResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the media sources.
|
|
/// </summary>
|
|
/// <value>The media sources.</value>
|
|
public IReadOnlyList<MediaSourceInfo> MediaSources { get; set; }
|
|
|
|
/// <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; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="PlaybackInfoResponse" /> class.
|
|
/// </summary>
|
|
public PlaybackInfoResponse()
|
|
{
|
|
MediaSources = Array.Empty<MediaSourceInfo>();
|
|
}
|
|
}
|
|
}
|