From cca60e32325fd642c29f6c4cb9fb86d6145f4e48 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 26 Sep 2019 14:59:13 -0500 Subject: [PATCH] Add ytdl_args config --- ptgdp | 1 + ptgdp.conf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ptgdp b/ptgdp index 2614f82..18ba39a 100755 --- a/ptgdp +++ b/ptgdp @@ -19,6 +19,7 @@ declare -ra _supportedbackends=("mpd") # Options declare -A _config=( [backend]="mpd" + [ytdl_args]="--geo-bypass" ) declare _optconfigfile="${XDG_CONFIG_HOME:-$HOME/.config}/${_name}.conf" declare -i _opthelp diff --git a/ptgdp.conf b/ptgdp.conf index ffb9e6e..cd2db61 100644 --- a/ptgdp.conf +++ b/ptgdp.conf @@ -7,3 +7,7 @@ # Supported: mpd # Default: mpd backend=mpd + +# Arguments to pass to youtube-dl during downloading +# Default: --geo-bypass +ytdl_args=--geo-bypass