Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Dec 10, 2024
1 parent 4b22ffa commit 71c96d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/functionsFFMPEG.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function convertVideoToMP3FileIfNotExists($videos_id, $forceTry = 0)
$paths = Video::getPaths($video['filename']);
$mp3HLSFile = "{$paths['path']}index.mp3";
$mp3File = "{$paths['path']}{$video['filename']}.mp3";
if (file_exists($mp3HLSFile) || file_exists($mp3File)) {
if (!$forceTry && (file_exists($mp3HLSFile) || file_exists($mp3File))) {
return Video::getSourceFile($video['filename'], ".mp3", true);
} else {
$f = convertVideoFileWithFFMPEGIsLockedInfo($mp3File);
Expand Down

0 comments on commit 71c96d1

Please sign in to comment.