46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace CRD.Utils.Structs;
|
|
|
|
public class CrunchyNoDrmStream{
|
|
public string? AssetId{ get; set; }
|
|
public string? AudioLocale{ get; set; }
|
|
public string? Bifs{ get; set; }
|
|
public string? BurnedInLocale{ get; set; }
|
|
public Dictionary<string, Caption>? Captions{ get; set; }
|
|
public Dictionary<string, HardSub>? HardSubs{ get; set; }
|
|
public string? PlaybackType{ get; set; }
|
|
public Session? Session{ get; set; }
|
|
public Dictionary<string, Subtitle>? Subtitles{ get; set; }
|
|
public string? Token{ get; set; }
|
|
public string? Url{ get; set; }
|
|
public List<object>? Versions{ get; set; } // Use a more specific type if known
|
|
}
|
|
|
|
public class Caption{
|
|
public string? Format{ get; set; }
|
|
public string? Language{ get; set; }
|
|
public string? Url{ get; set; }
|
|
}
|
|
|
|
public class HardSub{
|
|
public string? Hlang{ get; set; }
|
|
public string? Url{ get; set; }
|
|
public string? Quality{ get; set; }
|
|
}
|
|
|
|
public class Session{
|
|
public int? RenewSeconds{ get; set; }
|
|
public int? NoNetworkRetryIntervalSeconds{ get; set; }
|
|
public int? NoNetworkTimeoutSeconds{ get; set; }
|
|
public int? MaximumPauseSeconds{ get; set; }
|
|
public int? EndOfVideoUnloadSeconds{ get; set; }
|
|
public int? SessionExpirationSeconds{ get; set; }
|
|
public bool? UsesStreamLimits{ get; set; }
|
|
}
|
|
|
|
public class Subtitle{
|
|
public string? Format{ get; set; }
|
|
public string? Language{ get; set; }
|
|
public string? Url{ get; set; }
|
|
} |