diff --git a/plugin/AI/AI.php b/plugin/AI/AI.php index b1743aa14bee..6a82e179e23a 100644 --- a/plugin/AI/AI.php +++ b/plugin/AI/AI.php @@ -424,7 +424,7 @@ static function getMP3RegularAndLower($videos_id) $duration = getDurationFromFile($pathsLower['path']); if($duration == "EE:EE:EE" && !empty($pathsLower['url'])){ _error_log('getDurationFromFile error '.json_encode($pathsLower)); - $duration = getDurationFromFile($pathsLower['path']); + $duration = getDurationFromFile($pathsLower['url']); } $durationInSeconds = durationToSeconds($duration);