Crunchy-Downloader/CRD/Utils/Structs/Chapters.cs
Elwador e9109210af Add - Added option to set sings subtitles as default
Chg - Log message for when "No active Subscription" is displayed in login tab
Fix - Chapter crashed the downloader in some cases
Fix - Custom calendar crashed the downloader in some cases
2024-07-26 02:18:39 +02:00

33 lines
No EOL
995 B
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CRD.Utils.Structs;
public struct CrunchyChapters{
public List<CrunchyChapter> Chapters { get; set; }
public DateTime? lastUpdate { get; set; }
public string? mediaId { get; set; }
}
public struct CrunchyChapter{
public string approverId { get; set; }
public string distributionNumber { get; set; }
public double? end { get; set; }
public double? start { get; set; }
public string title { get; set; }
public string seriesId { get; set; }
[JsonProperty("new")]
public string? New { get; set; }
public string type { get; set; }
}
public struct CrunchyOldChapter{
public string media_id { get; set; }
public double startTime { get; set; }
public double endTime { get; set; }
public double duration { get; set; }
public string comparedWith { get; set; }
public string ordering { get; set; }
public DateTime last_updated { get; set; }
}