Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Feb 4, 2025
1 parent 2d95834 commit fdef662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ public static function getYoutubeDl($videoURL, $queue_id, $destinationFile, $add
$videoURL2 = str_replace(' ', '-', $videoURL);
if(file_exists($videoURL2)){
$videoURL = $videoURL2;
return _rename($videoURL, $destinationFile) ? $destinationFile : $videoURL;
}else{
_error_log("getYoutubeDl: Local file does not exists $videoURL " . json_encode(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)));
return false;
Expand Down

0 comments on commit fdef662

Please sign in to comment.