misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux
Rust bittorrent-clientdebriddownload-acceleratordownload-managerdownloadmanagereguifile-downloadergallery-dlidmidm-alternativeinternet-download-managerm3u8-downloadermagnetplaylist-downloaderreal-debridrusttorrent-clientvideo-downloaderyoutube-downloaderyt-dlp
Use system-installed yt-dlp on Linux and macOS (#477)
Atishay Kasliwal31d622b33008
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bd1a2d89..c88e4b44 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,10 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see## [Unreleased]+### Added++- Linux and macOS: a yt-dlp installed by the system (a package manager, Homebrew) is found and used when MDM has none of its own; **Helpers** can still switch to MDM's own copy, kept up to date ([#452](https://github.com/anefzaoui/misterdownloadmanager/issues/452)).+### Fixed- The video button fades again after a click on the player, in fullscreen too, and stays while you use the keyboard ([#480](https://github.com/anefzaoui/misterdownloadmanager/issues/480)).diff --git a/ROADMAP.md b/ROADMAP.mdindex f509c38f..c30b0f26 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -491,6 +491,7 @@ These ship in a later version, when they're ready.### Being built+- 🔄 Linux and macOS: the system's yt-dlp used when MDM has none of its own, with Helpers able\n to switch to MDM's copy ([#452](https://github.com/anefzaoui/misterdownloadmanager/issues/452)): in review- 🔄 macOS: video look-ups in a copy of MDM a browser downloaded, without the Terminal command([#330](https://github.com/anefzaoui/misterdownloadmanager/issues/330),[#339](https://github.com/anefzaoui/misterdownloadmanager/issues/339)): yt-dlp's folder build,diff --git a/crates/app/src/gallerydlg.rs b/crates/app/src/gallerydlg.rsindex 205c5bfb..fdc803c7 100644--- a/crates/app/src/gallerydlg.rs+++ b/crates/app/src/gallerydlg.rs@@ -99,7 +99,7 @@ impl GalleryDialog {|ui, o| self.body(ui, o, rt),);if let Some(h) = &mut self.helpers- && !matches!(h.show(ctx), Outcome::Open)+ && !matches!(h.show(ctx, rt), Outcome::Open){self.helpers = None;self.tool = None;diff --git a/crates/app/src/helpers.rs b/crates/app/src/helpers.rsindex 0319e654..f34bce85 100644--- a/crates/app/src/helpers.rs+++ b/crates/app/src/helpers.rs@@ -434,6 +434,8 @@ pub struct Programs {found: [Option<mdm_tools::Installed>; 3],/// A chosen program being checked (`--version`), and what it answered.checking: Option<(Helper, Answer)>,+ /// MDM's own yt-dlp being downloaded in place of the system's (#452), and how that went.+ installing: Option<Answer>,error: Option<String>,}@@ -448,6 +450,7 @@ impl Programs {dir: mdm_tools::tools_dir(),found: [None, None, None],checking: None,+ installing: None,error: None,};p.look();@@ -465,8 +468,31 @@ impl Programs {];}+ /// MDM's own yt-dlp in place of the system's (#452): downloaded and checked as usual, from+ /// then on the one used (`mdm_tools::installed`). It goes on if the window is closed.+ fn install_own(+ &mut self,+ dir: std::path::PathBuf,+ rt: &tokio::runtime::Handle,+ ctx: &egui::Context,+ ) {+ let slot: Answer = Arc::new(Mutex::new(None));+ let (out, wake) = (slot.clone(), ctx.clone());+ let net = crate::settings::own_net();+ rt.spawn(async move {+ let res = mdm_tools::install_latest(&dir, &net, None)+ .await+ .map(|_| ())+ .map_err(|e| crate::errors::tools(&e));+ *out.lock().unwrap() = Some(res);+ wake.request_repaint();+ });+ self.installing = Some(slot);+ self.error = None;+ }+/// Open until Close.- pub fn show(&mut self, ctx: &egui::Context) -> Outcome<()> {+ pub fn show(&mut self, ctx: &egui::Context, rt: &tokio::runtime::Handle) -> Outcome<()> {let answered = self.checking.as_ref()@@ -476,6 +502,15 @@ impl Programs {self.checking = None;self.look();}+ let installed = self+ .installing+ .as_ref()+ .and_then(|slot| slot.lock().unwrap().take());+ if let Some(res) = installed {+ self.error = res.err();+ self.installing = None;+ self.look();+ }for h in HELPERS {if let Some(path) = winui::picked(ctx, &format!("helper-{}", h.name()))&& let Some(dir) = self.dir.clone()@@ -501,11 +536,11 @@ impl Programs {[500.0, 292.0],false,winui::BG(),- |ui, o| self.body(ui, o),+ |ui, o| self.body(ui, o, rt),)}- fn body(&mut self, ui: &mut Ui, o: Pos2) -> Outcome<()> {+ fn body(&mut self, ui: &mut Ui, o: Pos2, rt: &tokio::runtime::Handle) -> Outcome<()> {let p = ui.painter().clone();for (k, h) in HELPERS.into_iter().enumerate() {let y = o.y + 8.0 + k as f32 * 78.0;@@ -528,7 +563,14 @@ impl Programs {.as_ref().filter(|c| h == Helper::GalleryDl && mdm_tools::gallery::too_old(&c.version));let checking = self.checking.as_ref().is_some_and(|(c, _)| *c == h);+ let downloading = h == Helper::YtDlp && self.installing.is_some();+ // The system's yt-dlp may be old: MDM's own copy can replace it (#452).+ let system = h == Helper::YtDlp && found.is_some_and(mdm_tools::Installed::is_system);let status = match (too_old, found) {+ _ if downloading => {+ // i18n: Video helpers: MDM's own yt-dlp is being downloaded+ crate::i18n::t("Downloading MDM's own copy...").to_owned()+ }_ if checking => {// i18n: Video helpers: a program just chosen is being checkedcrate::i18n::t("Checking the program...").to_owned()@@ -551,7 +593,7 @@ impl Programs {("version", &i.version),],),- (None, Some(i)) if i.version == "system" => crate::i18n::fmt(+ (None, Some(i)) if i.is_system() => crate::i18n::fmt(// i18n: Video helpers (macOS, Linux): {path} = the system's ffmpegcrate::i18n::t("Your system's: {path}"),&[("path", &crate::i18n::ltr(&i.exe.display().to_string()))],@@ -574,7 +616,7 @@ impl Programs {o.x + 486.0,("helper", k),);- let busy = self.checking.is_some();+ let busy = self.checking.is_some() || self.installing.is_some();// As wide as their labels in this language (#192), side by side from the left.let [other_at, own_at] = winui::button_row_from_left(&p,@@ -615,7 +657,7 @@ impl Programs {r(o, own_at.0, y - o.y + 46.0, own_at.1, 21.0),// i18n: Video helpers: button: go back to the copy MDM downloads and checks itself"Use MDM's own copy",- if mine && !busy {+ if (mine || system) && !busy {ButtonKind::Normal} else {ButtonKind::Disabled@@ -624,12 +666,16 @@ impl Programs {None,).clicked()- && let Some(dir) = self.dir.as_deref()+ && let Some(dir) = self.dir.clone(){- self.error = mdm_tools::chosen::forget(dir, h)- .err()- .map(|e| crate::errors::tools(&e));- self.look();+ if mine {+ self.error = mdm_tools::chosen::forget(&dir, h)+ .err()+ .map(|e| crate::errors::tools(&e));+ self.look();+ } else {+ self.install_own(dir, rt, ui.ctx());+ }}if k + 1 < HELPERS.len() {winui::etched_h(&p, o.x + 14.0, o.y + 82.0 + k as f32 * 78.0, 472.0);diff --git a/crates/app/src/videodlg.rs b/crates/app/src/videodlg.rsindex a7e3dd63..da53f7b1 100644--- a/crates/app/src/videodlg.rs+++ b/crates/app/src/videodlg.rs@@ -100,14 +100,14 @@ type Tools = (/// stops working. Once per session, when the video window opens and yt-dlp is installed, the/// newest release is fetched in the background (mdm_tools::install_latest: signed by yt-dlp's/// developers, never older, switched atomically, the previous version kept). Quiet: a failure-/// leaves the installed version in use.+/// leaves the installed version in use. A system copy is left to its package manager.pub fn refresh_ytdlp(rt: &tokio::runtime::Handle) {use std::sync::atomic::{AtomicBool, Ordering};static DONE: AtomicBool = AtomicBool::new(false);let Some(dir) = mdm_tools::tools_dir() else {return;};- if mdm_tools::installed(&dir).is_none() || DONE.swap(true, Ordering::SeqCst) {+ if !mdm_tools::refreshable(&dir) || DONE.swap(true, Ordering::SeqCst) {return;}rt.spawn(async move {@@ -386,7 +386,7 @@ impl VideoDialog {);// Helpers... open: on Close, the helpers are read again (another program, or MDM's own).if let Some(h) = &mut self.helpers- && !matches!(h.show(ctx), Outcome::Open)+ && !matches!(h.show(ctx, rt), Outcome::Open){self.helpers = None;self.tools = None;diff --git a/crates/tools/Cargo.toml b/crates/tools/Cargo.tomlindex 64038192..656cb70e 100644--- a/crates/tools/Cargo.toml+++ b/crates/tools/Cargo.toml@@ -40,6 +40,11 @@ test-update = []name = "fake_ytdlp"harness = false+# System helpers use a PATH of their own in a child process, without changing the test runner's.+[[test]]+name = "system_helpers"+harness = false+[lints]workspace = truediff --git a/crates/tools/src/ffmpeg.rs b/crates/tools/src/ffmpeg.rsindex f033883f..3c7f6124 100644--- a/crates/tools/src/ffmpeg.rs+++ b/crates/tools/src/ffmpeg.rs@@ -62,9 +62,9 @@ fn best_build(release: &Release) -> Option<&Asset> {/// own. Its `exe` is `ffmpeg(.exe)`; yt-dlp is given its folder.pub fn installed(dir: &Path) -> Option<Installed> {let own = crate::chosen::chosen(dir, crate::chosen::Helper::Ffmpeg).or_else(|| own(dir));- #[cfg(not(windows))]- return own.or_else(system);- #[cfg(windows)]+ #[cfg(unix)]+ return own.or_else(|| crate::system::installed("ffmpeg"));+ #[cfg(not(unix))]own}@@ -76,22 +76,6 @@ fn own(dir: &Path) -> Option<Installed> {.filter(|i| i.exe.is_file())}-/// Linux and macOS: the ffmpeg the package manager or Homebrew installed (BtbN builds only for-/// Windows here). Homebrew's folders are looked in too: an app started from the Dock doesn't-/// get the shell's PATH.-#[cfg(not(windows))]-fn system() -> Option<Installed> {- let path = std::env::var_os("PATH").unwrap_or_default();- std::env::split_paths(&path)- .chain(["/opt/homebrew/bin", "/usr/local/bin", "/usr/bin"].map(PathBuf::from))- .map(|d| d.join("ffmpeg"))- .find(|f| f.is_file())- .map(|exe| Installed {- version: "system".into(),- exe,- })-}-/// Install the newest stable LGPL build into `dir` unless the installed one is as new, the zip/// downloaded with MDM's engine (`net`), counted into `progress`.pub async fn install_latest(diff --git a/crates/tools/src/gallery.rs b/crates/tools/src/gallery.rsindex c8a48113..5764c8ed 100644--- a/crates/tools/src/gallery.rs+++ b/crates/tools/src/gallery.rs@@ -662,6 +662,6 @@ mod tests {).unwrap();assert_eq!(installed(dir.path()), Some(now));- assert!(crate::installed(dir.path()).is_none(), "not yt-dlp's");+ assert!(crate::own_ytdlp(dir.path()).is_none(), "not yt-dlp's");}}diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rsindex 6b37b7d5..655026de 100644--- a/crates/tools/src/lib.rs+++ b/crates/tools/src/lib.rs@@ -15,6 +15,9 @@ pub mod proc;pub mod relay;pub mod resolve;pub mod servers;+// System helper discovery is for Linux and macOS; Windows keeps its verified managed copies.+#[cfg(unix)]+mod system;pub mod update;pub mod video;@@ -71,6 +74,16 @@ pub struct Installed {pub exe: PathBuf,}+/// `Installed::version` of a program found on the system: its package manager's, not asked (#452).+const SYSTEM: &str = "system";++impl Installed {+ /// Whether this is the system's copy (Linux and macOS), kept current by its package manager.+ pub fn is_system(&self) -> bool {+ self.version == SYSTEM+ }+}+/// `<data dir>/tools`.pub fn tools_dir() -> Option<PathBuf> {mdm_ipc::data_dir().map(|d| d.join("tools"))@@ -229,9 +242,13 @@ pub fn sum_for(sums: &str, name: &str) -> Option<[u8; 32]> {}/// The yt-dlp to use: the person's own (`chosen`), else MDM's install in `dir`-/// (`dir/yt-dlp/current.json`), if any and still there.+/// (`dir/yt-dlp/current.json`), if any and still there; on Linux and macOS, else the system's.pub fn installed(dir: &Path) -> Option<Installed> {- chosen::chosen(dir, chosen::Helper::YtDlp).or_else(|| own_ytdlp(dir))+ let own = chosen::chosen(dir, chosen::Helper::YtDlp).or_else(|| own_ytdlp(dir));+ #[cfg(unix)]+ return own.or_else(|| system::installed("yt-dlp"));+ #[cfg(not(unix))]+ own}fn own_ytdlp(dir: &Path) -> Option<Installed> {@@ -262,9 +279,16 @@ struct Asset {browser_download_url: String,}+/// Whether the once-per-session update has a yt-dlp to refresh: not the system's, which is its+/// package manager's to update (#452), and which only an explicit [`install_latest`] replaces.+pub fn refreshable(dir: &Path) -> bool {+ installed(dir).is_some_and(|i| !i.is_system())+}+/// Install the latest yt-dlp release into `dir` unless the installed one is as new, the program/// downloaded with MDM's engine (`net`), counted into `progress`. Returns what is installed-/// afterwards.+/// afterwards. A system copy doesn't count as installed here: this is the way to get MDM's own+/// instead (Helpers), and MDM's own then wins ([`installed`]).pub async fn install_latest(dir: &Path,net: &mdm_engine::Options,diff --git a/crates/tools/src/system.rs b/crates/tools/src/system.rsnew file mode 100644index 00000000..c9b097ef--- /dev/null+++ b/crates/tools/src/system.rs@@ -0,0 +1,88 @@+//! Helpers installed by a Unix package manager or Homebrew (#452).++use std::os::unix::fs::PermissionsExt;+use std::path::{Path, PathBuf};++use crate::Installed;++/// PATH first, then the usual package-manager folders: an app opened from the Dock may not+/// inherit the shell's PATH. Discovery only reads metadata, never starts a helper on the UI thread.+pub(crate) fn installed(name: &str) -> Option<Installed> {+ let path = std::env::var_os("PATH").unwrap_or_default();+ find_in(+ name,+ std::env::split_paths(&path)+ .chain(["/opt/homebrew/bin", "/usr/local/bin", "/usr/bin"].map(PathBuf::from)),+ )+ .map(|exe| Installed {+ version: crate::SYSTEM.into(),+ exe,+ })+}++fn find_in(name: &str, dirs: impl IntoIterator<Item = PathBuf>) -> Option<PathBuf> {+ dirs.into_iter()+ // Only absolute folders count: an empty or relative PATH entry names no fixed place.+ .filter(|dir| dir.is_absolute())+ .map(|dir| dir.join(name))+ .find(|exe| runnable(exe))+}++fn runnable(exe: &Path) -> bool {+ // metadata follows package-manager symlinks and rejects broken ones.+ exe.metadata()+ .is_ok_and(|m| m.is_file() && m.permissions().mode() & 0o111 != 0)+}++#[cfg(test)]+mod tests {+ use super::*;++ #[test]+ fn missing_or_non_executable_files_and_directories_are_not_helpers() {+ let root = tempfile::tempdir().unwrap();+ assert_eq!(find_in("yt-dlp", [root.path().to_owned()]), None);+ let exe = root.path().join("yt-dlp");+ std::fs::write(&exe, b"not executable").unwrap();+ std::fs::set_permissions(&exe, std::fs::Permissions::from_mode(0o644)).unwrap();+ assert_eq!(find_in("yt-dlp", [root.path().to_owned()]), None);+ std::fs::remove_file(&exe).unwrap();+ std::fs::create_dir(&exe).unwrap();+ assert_eq!(find_in("yt-dlp", [root.path().to_owned()]), None);+ }++ #[test]+ fn only_absolute_folders_count() {+ // Beside the working directory, so that the relative path really reaches a helper.+ let root = tempfile::tempdir_in(".").unwrap();+ let exe = root.path().join("yt-dlp");+ std::fs::write(&exe, b"#!/bin/sh\nexit 0\n").unwrap();+ std::fs::set_permissions(&exe, std::fs::Permissions::from_mode(0o755)).unwrap();+ let relative = PathBuf::from(root.path().file_name().unwrap());+ assert!(relative.is_relative() && runnable(&relative.join("yt-dlp")));+ assert_eq!(find_in("yt-dlp", [relative.clone()]), None);+ assert_eq!(find_in("yt-dlp", [PathBuf::new()]), None, "an empty entry");++ let absolute = std::fs::canonicalize(root.path()).unwrap();+ assert_eq!(+ find_in("yt-dlp", [PathBuf::new(), relative, absolute.clone()]),+ Some(absolute.join("yt-dlp"))+ );+ }++ #[test]+ fn the_first_runnable_helper_wins() {+ let root = tempfile::tempdir().unwrap();+ let dirs = [root.path().join("first"), root.path().join("second")];+ for dir in &dirs {+ std::fs::create_dir(dir).unwrap();+ let exe = dir.join("yt-dlp");+ std::fs::write(&exe, b"#!/bin/sh\nexit 0\n").unwrap();+ std::fs::set_permissions(&exe, std::fs::Permissions::from_mode(0o755)).unwrap();+ }+ assert_eq!(+ find_in("yt-dlp", dirs),+ Some(root.path().join("first/yt-dlp"))+ );+ }+}diff --git a/crates/tools/tests/system_helpers.rs b/crates/tools/tests/system_helpers.rsnew file mode 100644index 00000000..bfb293b6--- /dev/null+++ b/crates/tools/tests/system_helpers.rs@@ -0,0 +1,120 @@+//! System helpers (#452): discovery, precedence and updates, with a PATH private to a child.++#[cfg(windows)]+fn main() {+ println!("system_helpers: Unix-only system discovery");+}++#[cfg(unix)]+fn main() {+ use std::os::unix::fs::{PermissionsExt, symlink};+ use std::path::Path;+ use std::process::Command;++ const ROOT: &str = "MDM_TEST_SYSTEM_HELPERS";+ if let Some(root) = std::env::var_os(ROOT) {+ check(Path::new(&root));+ println!("system_helpers: ok");+ return;+ }++ let dir = tempfile::tempdir().unwrap();+ let root = dir.path();+ for name in ["broken", "not-executable", "bin", "package"] {+ std::fs::create_dir(root.join(name)).unwrap();+ }+ for (name, answer) in [("yt-dlp", "2026.10.26"), ("ffmpeg", "ffmpeg version 8.0")] {+ let program = root.join("package").join(name);+ std::fs::write(&program, format!("#!/bin/sh\nprintf '%s\\n' '{answer}'\n")).unwrap();+ std::fs::set_permissions(&program, std::fs::Permissions::from_mode(0o755)).unwrap();+ symlink(&program, root.join("bin").join(name)).unwrap();+ symlink(root.join("missing"), root.join("broken").join(name)).unwrap();+ std::fs::write(root.join("not-executable").join(name), b"not a program").unwrap();+ }+ let path =+ std::env::join_paths(["broken", "not-executable", "bin"].map(|n| root.join(n))).unwrap();+ let status = Command::new(std::env::current_exe().unwrap())+ .env(ROOT, root)+ .env("PATH", path)+ .status()+ .unwrap();+ assert!(status.success(), "system-helper checks failed");+}++#[cfg(unix)]+fn check(root: &std::path::Path) {+ use mdm_tools::{Installed, chosen::Helper};++ let dir = root.join("data");+ let system = Installed {+ version: "system".into(),+ exe: root.join("bin/yt-dlp"),+ };+ assert_eq!(+ mdm_tools::installed(&dir),+ Some(system.clone()),+ "find the executable, including a package-manager symlink"+ );+ assert_eq!(+ mdm_tools::ffmpeg::installed(&dir).unwrap().exe,+ root.join("bin/ffmpeg")+ );++ // The background refresh leaves the system's copy alone, and asks nothing to say so. Only an+ // explicit install goes to the network: a down adapter refuses network setup, so a regression+ // cannot contact a real release server.+ let rt = tokio::runtime::Runtime::new().unwrap();+ let net = mdm_engine::Options {+ route: mdm_engine::Route::Down {+ label: "Offline test".into(),+ },+ ..Default::default()+ };+ assert!(!mdm_tools::refreshable(&dir), "system copy not refreshed");+ assert!(!dir.join("yt-dlp").exists(), "system helper left unmanaged");+ assert!(+ matches!(+ rt.block_on(mdm_tools::install_latest(&dir, &net, None)),+ Err(mdm_tools::Error::Adapter(mdm_engine::NetError::Down { .. }))+ ),+ "the explicit way to MDM's own copy goes to the network"+ );+ assert!(!dir.join("yt-dlp").exists(), "nothing installed on the way");++ // A managed copy still wins, and the explicit choice wins over both.+ let own = Installed {+ version: "2026.01.01".into(),+ exe: root.join("managed-yt-dlp"),+ };+ std::fs::write(&own.exe, b"managed").unwrap();+ #[cfg(target_os = "macos")]+ std::fs::create_dir(root.join("_internal")).unwrap();+ std::fs::create_dir_all(dir.join("yt-dlp")).unwrap();+ std::fs::write(+ dir.join("yt-dlp/current.json"),+ serde_json::to_vec(&own).unwrap(),+ )+ .unwrap();+ assert_eq!(mdm_tools::installed(&dir), Some(own.clone()));+ assert!(mdm_tools::refreshable(&dir), "a managed copy is refreshed");+ assert!(+ matches!(+ rt.block_on(mdm_tools::install_latest(&dir, &net, None)),+ Err(mdm_tools::Error::Adapter(mdm_engine::NetError::Down { .. }))+ ),+ "a managed copy still takes its ordinary update path"+ );++ let picked =+ mdm_tools::chosen::choose(&dir, Helper::YtDlp, &root.join("package/yt-dlp")).unwrap();+ assert_eq!(mdm_tools::installed(&dir), Some(picked.clone()));+ assert_eq!(+ rt.block_on(mdm_tools::install_latest(&dir, &net, None))+ .unwrap(),+ picked+ );+ mdm_tools::chosen::forget(&dir, Helper::YtDlp).unwrap();+ assert_eq!(mdm_tools::installed(&dir), Some(own.clone()));+ std::fs::remove_file(&own.exe).unwrap();+ assert_eq!(mdm_tools::installed(&dir), Some(system));+}diff --git a/docs/video.md b/docs/video.mdindex 0d3f6539..5ea96c2e 100644--- a/docs/video.md+++ b/docs/video.md@@ -33,6 +33,8 @@ Both are kept in a `tools` folder in MDM's data folder.### Use your own copies+On Linux and macOS, MDM finds yt-dlp and ffmpeg on your `PATH` and in the usual package-manager folders, including Homebrew's. A program you selected yourself takes priority, followed by MDM's own installed copy. The system copy is used when neither is present, and your package manager keeps it up to date: MDM never downloads over it on its own. If your distribution's yt-dlp is old, **Use MDM's own copy** in Helpers downloads MDM's, which keeps itself current and is used from then on.+Already have yt-dlp or ffmpeg for another program? Use those instead of a second copy: in **Download video from a page**, click **Helpers...**, then **Use another program...** beside yt-dlp or ffmpeg, and choose the program. MDM runs it once to check that it is that program, and uses it from then on, the command line too. MDM doesn't update a program you chose: keep it up to date yourself (yt-dlp: `yt-dlp -U`, or your package manager). **Use MDM's own copy** goes back to the one MDM downloads and checks.diff --git a/i18n/en.tsv b/i18n/en.tsvindex c9869138..5e67dbd2 100644--- a/i18n/en.tsv+++ b/i18n/en.tsv@@ -993,6 +993,10 @@#. text in the Download video window#. the trailing ... means it is still going on: keep itDownloading and verifying yt-dlp... Downloading and verifying yt-dlp...+#. text in helpers.rs+#. Video helpers: MDM's own yt-dlp is being downloaded+#. the trailing ... means it is still going on: keep it+ Downloading MDM's own copy... Downloading MDM's own copy...#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)#. Check for updates, while Update now downloads; {percent} like "42%"Downloading the update... {percent} Downloading the update... {percent}