Add ytdl_args config
This commit is contained in:
parent
2c8c67d307
commit
cca60e3232
1
ptgdp
1
ptgdp
@ -19,6 +19,7 @@ declare -ra _supportedbackends=("mpd")
|
|||||||
# Options
|
# Options
|
||||||
declare -A _config=(
|
declare -A _config=(
|
||||||
[backend]="mpd"
|
[backend]="mpd"
|
||||||
|
[ytdl_args]="--geo-bypass"
|
||||||
)
|
)
|
||||||
declare _optconfigfile="${XDG_CONFIG_HOME:-$HOME/.config}/${_name}.conf"
|
declare _optconfigfile="${XDG_CONFIG_HOME:-$HOME/.config}/${_name}.conf"
|
||||||
declare -i _opthelp
|
declare -i _opthelp
|
||||||
|
@ -7,3 +7,7 @@
|
|||||||
# Supported: mpd
|
# Supported: mpd
|
||||||
# Default: mpd
|
# Default: mpd
|
||||||
backend=mpd
|
backend=mpd
|
||||||
|
|
||||||
|
# Arguments to pass to youtube-dl during downloading
|
||||||
|
# Default: --geo-bypass
|
||||||
|
ytdl_args=--geo-bypass
|
||||||
|
Loading…
Reference in New Issue
Block a user