mirror of
https://github.com/moex3/flac2mp3.pl
synced 2024-11-24 12:25:55 -05:00
Only care about custom cover image to embed if we have an option
This commit is contained in:
parent
be6853c5da
commit
1628834c1b
@ -270,8 +270,8 @@ sub embedImageFromFlac {
|
||||
my $flac = shift;
|
||||
my $mp3 = shift;
|
||||
|
||||
if (defined($opt_embedcover)) {
|
||||
return if ($opt_embedcover eq "");
|
||||
if ($opt_embedcover ne "") {
|
||||
my $cmime = getMimeType($opt_embedcover);
|
||||
qx(mid3v2 -p '${opt_embedcover}:cover:3:$cmime' -- '$mp3');
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user