Add a couple more log statements.

master
voussoir 2020-11-20 16:37:49 -08:00
parent 2bfc1a00d4
commit bc8de9fc52
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,8 @@ class YCDLDBChannelMixin:
if download_directory is not None:
download_directory = pathclass.Path(download_directory).absolute_path
self.log.info('Adding channel %s %s', channel_id, name)
data = {
'id': channel_id,
'name': name,
@ -325,6 +327,8 @@ class YCDLDBVideoMixin:
download_directory = self.config['download_directory']
extension = self.config['queuefile_extension']
self.log.info('Creating queuefile for %s.', video_id)
download_directory = pathclass.Path(download_directory)
download_directory.makedirs(exist_ok=True)