Add ytdl_args config
This commit is contained in:
		
							
								
								
									
										1
									
								
								ptgdp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user