From e5ad73d4cc91f233b498bc4c9db019d5dabd6ef5 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 13 Sep 2019 20:29:54 -0500 Subject: [PATCH] ptgdp: Set default-search instead of prefixing with ytsearch: First step on the way to some more complex playlist options --- ptgdp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ptgdp b/ptgdp index 0e6fda0..d860607 100755 --- a/ptgdp +++ b/ptgdp @@ -79,11 +79,12 @@ cachesong() { youtube-dl \ --add-metadata \ --audio-format "best" \ + --default-search "ytsearch:" \ --geo-bypass \ --playlist-items 1 \ -x \ -o "$_tmpfile.%(ext)s" \ - ytsearch:"$1" \ + "$1" \ > /dev/null 2>&1 & if wait $!; then for file in "$_tmpfile"*; do