mirror of https://github.com/alexta69/metube
metube-363 Pass paths also when extracting metadata
In some cases, such as when writing thumbnails this call can still cause creation of non-temporary files on disk which should then also be placed in DOWNLOAD_DIRpull/367/head
parent
314a5d6c14
commit
2f7f72a553
|
@ -222,6 +222,7 @@ class DownloadQueue:
|
|||
'no_color': True,
|
||||
'extract_flat': True,
|
||||
'ignore_no_formats_error': True,
|
||||
'paths': {"home": self.config.DOWNLOAD_DIR, "temp": self.config.TEMP_DIR},
|
||||
**self.config.YTDL_OPTIONS,
|
||||
}).extract_info(url, download=False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue