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