Add a couple more log statements.
This commit is contained in:
		
							parent
							
								
									2bfc1a00d4
								
							
						
					
					
						commit
						bc8de9fc52
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -118,6 +118,8 @@ class YCDLDBChannelMixin: | ||||||
|         if download_directory is not None: |         if download_directory is not None: | ||||||
|             download_directory = pathclass.Path(download_directory).absolute_path |             download_directory = pathclass.Path(download_directory).absolute_path | ||||||
| 
 | 
 | ||||||
|  |         self.log.info('Adding channel %s %s', channel_id, name) | ||||||
|  | 
 | ||||||
|         data = { |         data = { | ||||||
|             'id': channel_id, |             'id': channel_id, | ||||||
|             'name': name, |             'name': name, | ||||||
|  | @ -325,6 +327,8 @@ class YCDLDBVideoMixin: | ||||||
|             download_directory = self.config['download_directory'] |             download_directory = self.config['download_directory'] | ||||||
|             extension = self.config['queuefile_extension'] |             extension = self.config['queuefile_extension'] | ||||||
| 
 | 
 | ||||||
|  |         self.log.info('Creating queuefile for %s.', video_id) | ||||||
|  | 
 | ||||||
|         download_directory = pathclass.Path(download_directory) |         download_directory = pathclass.Path(download_directory) | ||||||
|         download_directory.makedirs(exist_ok=True) |         download_directory.makedirs(exist_ok=True) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue