From 235f4ac8caecf7fb477889dce9f868037ebfe82d Mon Sep 17 00:00:00 2001 From: jscampucci Date: Wed, 10 Jul 2024 15:11:35 +0200 Subject: [PATCH] [fix] clean err status --- lib/services/download.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/services/download.dart b/lib/services/download.dart index f5c9d6a..3cd40a8 100644 --- a/lib/services/download.dart +++ b/lib/services/download.dart @@ -126,12 +126,10 @@ class DLServices { var shellErrorController = ShellLinesController(); var shell = Shell( - stdout: shellLinesController.sink, - stderr: shellErrorController.sink, - verbose: false); + stdout: shellLinesController.sink, stderr: shellErrorController.sink); debugPrint('Running $ytDlpPath $command'); - await shell.run('$ytDlpPath $command').then((result) { + shell.run('$ytDlpPath $command').then((result) { result.map((e) { debugPrint('Analyse result: $e'); FileLogger().d('Analyse result: ${e.toString()}');