mirror of
https://github.com/alexta69/metube.git
synced 2025-04-05 13:17:37 +03:00
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_DIR
This commit is contained in:
parent
314a5d6c14
commit
2f7f72a553
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ class DownloadQueue:
|
||||||
'no_color': True,
|
'no_color': True,
|
||||||
'extract_flat': True,
|
'extract_flat': True,
|
||||||
'ignore_no_formats_error': True,
|
'ignore_no_formats_error': True,
|
||||||
|
'paths': {"home": self.config.DOWNLOAD_DIR, "temp": self.config.TEMP_DIR},
|
||||||
**self.config.YTDL_OPTIONS,
|
**self.config.YTDL_OPTIONS,
|
||||||
}).extract_info(url, download=False)
|
}).extract_info(url, download=False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue