Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jun 27, 2024
1 parent 5bc73b9 commit 811df39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/AI/AI.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,10 @@ static function getMP3RegularAndLower($videos_id)
$pathsLower = self::getMP3LowerPath($videos_id);
if (!empty($pathsLower)) {
$duration = getDurationFromFile($pathsLower['path']);
if($duration == "EE:EE:EE" && !empty($pathsLower['url'])){
$duration = getDurationFromFile($pathsLower['url']);
}

$durationInSeconds = durationToSeconds($duration);
$arrayLower = array(
'paths' => $pathsLower,
Expand Down

0 comments on commit 811df39

Please sign in to comment.