Browse Source

added quotations around full paths in convert

master
Sean Clarke 10 months ago
parent
commit
150ca78958
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      flac-to-ogg.php

+ 1
- 1
flac-to-ogg.php View File

@@ -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 . '"');
}
?>