Add fine-grained options for downloading widevine content

This commit is contained in:
Michael Bucari-Tovo 2025-05-01 13:03:03 -06:00
parent 1c336e1fe9
commit 1090d29f74
8 changed files with 202 additions and 112 deletions

View file

@ -246,8 +246,7 @@ namespace LibationFileManager
public enum DownloadQuality
{
High,
Normal,
Spatial
Normal
}
[JsonConverter(typeof(StringEnumConverter))]
@ -257,6 +256,12 @@ namespace LibationFileManager
AC_4
}
[Description("Use widevine DRM")]
public bool UseWidevine { get => GetNonString(defaultValue: true); set => SetNonString(value); }
[Description("Request Spatial Audio")]
public bool RequestSpatial { get => GetNonString(defaultValue: true); set => SetNonString(value); }
[Description("Spatial audio codec:")]
public SpatialCodec SpatialAudioCodec { get => GetNonString(defaultValue: SpatialCodec.EC_3); set => SetNonString(value); }