diff options
Diffstat (limited to 'src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs')
| -rw-r--r-- | src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs index 523900a96a..df96a47e26 100644 --- a/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs +++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/ShowImagesDto.cs @@ -16,9 +16,22 @@ namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos public string? ProgramId { get; set; } /// <summary> + /// Gets or sets the SD error code, if the request for this program failed. + /// </summary> + [JsonPropertyName("code")] + public int? Code { get; set; } + + /// <summary> + /// Gets or sets the SD error message, if the request for this program failed. + /// </summary> + [JsonPropertyName("message")] + public string? Message { get; set; } + + /// <summary> /// Gets or sets the list of data. /// </summary> [JsonPropertyName("data")] + [JsonConverter(typeof(ImageDataArrayConverter))] public IReadOnlyList<ImageDataDto> Data { get; set; } = Array.Empty<ImageDataDto>(); } } |
