mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	Silence aria2c when downloading segmented streams
It conflicts with the TQDM progress bar, it's also not really useful information.
This commit is contained in:
		
							parent
							
								
									4406e3bbab
								
							
						
					
					
						commit
						f21aa5aac5
					
				@ -460,7 +460,8 @@ class DASH:
 | 
				
			|||||||
                    segment_save_path,
 | 
					                    segment_save_path,
 | 
				
			||||||
                    session.headers,
 | 
					                    session.headers,
 | 
				
			||||||
                    proxy,
 | 
					                    proxy,
 | 
				
			||||||
                    byte_range=segment_range
 | 
					                    byte_range=segment_range,
 | 
				
			||||||
 | 
					                    silent=True
 | 
				
			||||||
                ))
 | 
					                ))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if isinstance(track, Audio) or init_data:
 | 
					                if isinstance(track, Audio) or init_data:
 | 
				
			||||||
 | 
				
			|||||||
@ -272,7 +272,8 @@ class HLS:
 | 
				
			|||||||
                segment.uri,
 | 
					                segment.uri,
 | 
				
			||||||
                segment_save_path,
 | 
					                segment_save_path,
 | 
				
			||||||
                session.headers,
 | 
					                session.headers,
 | 
				
			||||||
                proxy
 | 
					                proxy,
 | 
				
			||||||
 | 
					                silent=True
 | 
				
			||||||
            ))
 | 
					            ))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if isinstance(track, Audio) or newest_init_data:
 | 
					            if isinstance(track, Audio) or newest_init_data:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user