Skip to content

Commit

Permalink
Merge pull request #499 from labmonkey/bugfix/regression-playlist-output
Browse files Browse the repository at this point in the history
fixed: Regression causing playlist output format to be applied to every video
  • Loading branch information
alexta69 committed Aug 22, 2024
2 parents 8277ff0 + 9675cbe commit 01dd3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ytdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def __add_entry(self, entry, quality, format, folder, custom_name_prefix,
return error_message
output = self.config.OUTPUT_TEMPLATE if len(custom_name_prefix) == 0 else f'{custom_name_prefix}.{self.config.OUTPUT_TEMPLATE}'
output_chapter = self.config.OUTPUT_TEMPLATE_CHAPTER
if 'playlist' in entry:
if 'playlist' in entry and entry['playlist'] is not None:
if len(self.config.OUTPUT_TEMPLATE_PLAYLIST):
output = self.config.OUTPUT_TEMPLATE_PLAYLIST

Expand Down

0 comments on commit 01dd3e9

Please sign in to comment.