Subject: | option parsing failed: Unknown option --create-db |
Since mpd v0.16, the --create-db and --no-create-db options have been
removed, therefore Test::Corpus::Audio::MPD fails to start mpd with the
error: 'option parsing failed: Unknown option --create-db'.
I've attached a patch that should solve the issue.
Cheers
Subject: | remove-create-db-option.patch |
Since mpd v0.16, the --create-db and --no-create-db options have been
removed, therefore Test::Corpus::Audio::MPD fails to start mpd with the
error: 'option parsing failed: Unknown option --create-db'
--- a/lib/Test/Corpus/Audio/MPD.pm
+++ b/lib/Test/Corpus/Audio/MPD.pm
@@ -94,7 +94,7 @@
sub start_test_mpd {
- my $output = qx{ mpd --create-db $CONFIG 2>&1 };
+ my $output = qx{ mpd $CONFIG 2>&1 };
die "could not start fake mpd: $output\n" if $output;
sleep 1; # wait 1 second to let mpd start.
return 1;