| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using MediaBrowser.Model.Dlna; |
| | 4 | | using MediaBrowser.Model.Dto; |
| | 5 | |
|
| | 6 | | namespace MediaBrowser.Model.MediaInfo |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// Class PlaybackInfoResponse. |
| | 10 | | /// </summary> |
| | 11 | | public class PlaybackInfoResponse |
| | 12 | | { |
| | 13 | | /// <summary> |
| | 14 | | /// Initializes a new instance of the <see cref="PlaybackInfoResponse" /> class. |
| | 15 | | /// </summary> |
| | 16 | | public PlaybackInfoResponse() |
| | 17 | | { |
| 0 | 18 | | MediaSources = Array.Empty<MediaSourceInfo>(); |
| 0 | 19 | | } |
| | 20 | |
|
| | 21 | | /// <summary> |
| | 22 | | /// Gets or sets the media sources. |
| | 23 | | /// </summary> |
| | 24 | | /// <value>The media sources.</value> |
| | 25 | | public IReadOnlyList<MediaSourceInfo> MediaSources { get; set; } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Gets or sets the play session identifier. |
| | 29 | | /// </summary> |
| | 30 | | /// <value>The play session identifier.</value> |
| | 31 | | public string? PlaySessionId { get; set; } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// Gets or sets the error code. |
| | 35 | | /// </summary> |
| | 36 | | /// <value>The error code.</value> |
| | 37 | | public PlaybackErrorCode? ErrorCode { get; set; } |
| | 38 | | } |
| | 39 | | } |