Baseline: WPF/Avalonia/Cli/Core + plans (BROWSER_FEATURES_PLAN v2, MOBILE_PLAN v1)
This commit is contained in:
commit
21b7c4d8bd
60 changed files with 6581 additions and 0 deletions
8
VideoDownloader.Core/Social/FormatOption.cs
Normal file
8
VideoDownloader.Core/Social/FormatOption.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace VideoDownloader.Core.Social;
|
||||
|
||||
/// <summary>yt-dlp 화질/형식 선택 옵션. Selector 는 yt-dlp 의 -f 인자.</summary>
|
||||
/// <param name="Label">드롭다운에 표시할 이름(예: "1080p")</param>
|
||||
/// <param name="Selector">yt-dlp 포맷 셀렉터(예: "bv*[height<=1080]+ba/b")</param>
|
||||
/// <param name="IsAudio">true 면 오디오만 추출(--extract-audio --audio-format mp3)</param>
|
||||
/// <param name="Source">"preset"(정적) 또는 "fetched"(정밀 조회 결과)</param>
|
||||
public record FormatOption(string Label, string Selector, bool IsAudio = false, string Source = "preset");
|
||||
Loading…
Add table
Add a link
Reference in a new issue