Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PROGRESS_PREFIX = "[[DL]]" CUSTOM_PRESET = "custom" DEFAULT_ARGS = []string{"--force-keyframes-at-cuts", "--embed-metadata", "--no-playlist"} PROGRESS_ARGS = []string{"--progress-template", PROGRESS_PREFIX + "%(progress)j", "--console-title"} PRESET_MAP = [][]string{ {"mp4-fast", "-f", "b"}, {"mp4", "--remux-video", "mp4"}, {"mp3", "-x", "--audio-format", "mp3", "-o", "%(uploader)s - %(title)s.%(ext)s"}, {"wav", "-x", "--audio-format", "wav"}, {CUSTOM_PRESET, "-f"}, } )
Functions ¶
func AutoUpdate ¶
func AutoUpdate()
func InitialModel ¶
func InitialModel() model
func InstallFFMPEG ¶
func InstallFFMPEG()
func InstallYTDLP ¶
func InstallYTDLP()
func OpenInWindowsTerminal ¶
func OpenInWindowsTerminal()
try to open in windows terminal if installed
func SetTermTitle ¶
func SetTermTitle(title string)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.