mirror of
https://github.com/alexta69/metube.git
synced 2025-04-04 12:47:38 +03:00
Use paths parameters from yt_dlp for passing the path instead of making it part of the output template.
This allows to use postprocessors like split-chapters that use their own output template parameter key ("chapter") and not the default one. By providing paths dictionary the postprocessors will respect that path for the output of the processed files.
This commit is contained in:
parent
9557b9d65a
commit
2e6658ce49
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ class Download:
|
|||
'quiet': True,
|
||||
'no_color': True,
|
||||
#'skip_download': True,
|
||||
'outtmpl': os.path.join(self.download_dir, self.output_template),
|
||||
'paths': {"home": self.download_dir},
|
||||
'outtmpl': { "default": self.output_template},
|
||||
'format': self.format,
|
||||
'cachedir': False,
|
||||
'socket_timeout': 30,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue