We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8937ac9 commit 13fd802Copy full SHA for 13fd802
lib/Ytdl/Ytdl.php
@@ -29,7 +29,7 @@ public function __construct(array $options)
29
public function init(array $options)
30
{
31
extract($options);
32
- if (isset($binary) && @is_executable($binary)) {
+ if (!empty($binary)) {
33
$this->bin = $binary;
34
} else {
35
$this->bin = __DIR__ . "/../../bin/yt-dlp"; //Helper::findBinaryPath('ytdl', __DIR__ . "/../../bin/yt-dlp");
0 commit comments