Add ytdl_args config

This commit is contained in:
Salt 2019-09-26 14:59:13 -05:00
parent 2c8c67d307
commit cca60e3232
2 changed files with 5 additions and 0 deletions

1
ptgdp
View File

@ -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

View File

@ -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