add a missed substitution
This commit is contained in:
parent
f47e5db284
commit
de7e1418b5
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ class DownloadQueue:
|
||||||
output = self.config.OUTPUT_TEMPLATE_PLAYLIST
|
output = self.config.OUTPUT_TEMPLATE_PLAYLIST
|
||||||
for property, value in entry.items():
|
for property, value in entry.items():
|
||||||
if property.startswith("playlist"):
|
if property.startswith("playlist"):
|
||||||
output = output.replace(f"%({property})s", str(value))
|
output = _outtmpl_substitute_field(output, property, value)
|
||||||
if entry is not None and entry.get('channel_index') is not None:
|
if entry is not None and entry.get('channel_index') is not None:
|
||||||
if len(self.config.OUTPUT_TEMPLATE_CHANNEL):
|
if len(self.config.OUTPUT_TEMPLATE_CHANNEL):
|
||||||
output = self.config.OUTPUT_TEMPLATE_CHANNEL
|
output = self.config.OUTPUT_TEMPLATE_CHANNEL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue