File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ impl MpdConfig {
3535 format ! (
3636 r#"
3737db_file "{db_file}"
38- log_file "/dev/null"
3938music_directory "{music_directory}"
4039playlist_directory "{playlist_directory}"
4140sticker_file "{sticker_file}"
@@ -76,8 +75,7 @@ impl Drop for Daemon {
7675 if let Some ( ref mut stderr) = self . process . stderr {
7776 let mut output = String :: new ( ) ;
7877 stderr. read_to_string ( & mut output) . expect ( "Could not collect output from mpd." ) ;
79- println ! { "Output from mpd:" }
80- println ! { "{}" , output} ;
78+ println ! ( "Output from mpd:\n {output}" ) ;
8179 }
8280 }
8381}
@@ -101,6 +99,8 @@ impl Daemon {
10199
102100 let process = Command :: new ( "mpd" )
103101 . arg ( "--no-daemon" )
102+ . arg ( "--verbose" )
103+ . arg ( "--stderr" )
104104 . arg ( & config. config_path )
105105 . stdin ( Stdio :: null ( ) )
106106 . stdout ( Stdio :: null ( ) )
You can’t perform that action at this time.
0 commit comments