Browse Source

added quotations around full paths in convert

master
Sean Clarke 2 years ago
parent
commit
150ca78958
  1. 2
      flac-to-ogg.php

2
flac-to-ogg.php

@ -12,6 +12,6 @@
# Generating the list
file_put_contents($playlist, $ogg . PHP_EOL, FILE_APPEND | LOCK_EX);
# The conversion command
shell_exec('ffmpeg -i ' . $flac . ' ' . $ogg);
shell_exec('ffmpeg -i "' . $flac . '" "' . $ogg . '"');
}
?>