From 6f7e4f9c5d04f831ee91b81360272d1d9ffc18b0 Mon Sep 17 00:00:00 2001 From: jscampucci Date: Wed, 10 Jul 2024 12:49:35 +0200 Subject: [PATCH] [clean] update ytdlp --- lib/services/download.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/services/download.dart b/lib/services/download.dart index 3ef86df..f5c9d6a 100644 --- a/lib/services/download.dart +++ b/lib/services/download.dart @@ -64,6 +64,9 @@ class DLServices { if (Platform.isLinux || Platform.isMacOS) { await Process.run('chmod', ['+x', ytDlpPath]); } + + await Process.run(ytDlpPath, ['-U']) + .then((result) => {debugPrint('yt-dlp version: ${result.stdout}')}); } Future checkFFmpeg() async {