Skip to content

Commit 2a79878

Browse files
author
Daniel Neto
committed
Update
1 parent f780584 commit 2a79878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objects/Encoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ public static function getYoutubeDl($videoURL, $queue_id, $destinationFile, $add
636636
self::setStreamerLog($queue_id, 'Fail to download line=' . __LINE__ . ' ' . $error, Encoder::LOG_TYPE_ERROR);
637637

638638
if(empty($addOauthFromProvider) && preg_match('/youtube/i', $videoURL)){
639-
return self::getDescriptionFromLink($videoURL, 'youtube');
639+
return self::getYoutubeDl($videoURL, $queue_id, $destinationFile,'youtube');
640640
}
641641
return false;
642642
}

0 commit comments

Comments
 (0)