mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	Split the download finished log into dl/title finish logs
This commit is contained in:
		
							parent
							
								
									0b2e3e2255
								
							
						
					
					
						commit
						8f5bbeb8e3
					
				@ -526,6 +526,12 @@ class dl:
 | 
			
		||||
                    ))
 | 
			
		||||
                    return
 | 
			
		||||
 | 
			
		||||
                dl_time = time_elapsed_since(dl_start_time)
 | 
			
		||||
                console.print(Padding(
 | 
			
		||||
                    f"Track downloads finished in [progress.elapsed]{dl_time}[/]",
 | 
			
		||||
                    (0, 5)
 | 
			
		||||
                ))
 | 
			
		||||
 | 
			
		||||
                video_track_n = 0
 | 
			
		||||
 | 
			
		||||
                while (
 | 
			
		||||
@ -606,11 +612,8 @@ class dl:
 | 
			
		||||
                    track.delete()
 | 
			
		||||
 | 
			
		||||
                title_dl_time = time_elapsed_since(dl_start_time)
 | 
			
		||||
 | 
			
		||||
                downloaded_table = Table.grid(expand=True)
 | 
			
		||||
                downloaded_table.add_row(f" :tada: Download Finished in [progress.elapsed]{title_dl_time}[/]!")
 | 
			
		||||
                console.print(Padding(
 | 
			
		||||
                    downloaded_table,
 | 
			
		||||
                    f":tada: Title downloaded in [progress.elapsed]{title_dl_time}[/]!",
 | 
			
		||||
                    (0, 5, 1, 5)
 | 
			
		||||
                ))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user