Skip to content

Commit

Permalink
Merge pull request #701 from tcely/patch-6
Browse files Browse the repository at this point in the history
Allow `exec_cmd` dictionary to be configured in settings
  • Loading branch information
meeb authored Feb 11, 2025
2 parents dd07963 + cae285c commit fd8fbbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tubesync/sync/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ def download_media(
'sponskrub': False,
})

pp_opts.exec_cmd.update(
opts.get('exec_cmd', default_opts.exec_cmd)
)

if skip_sponsors:
# Let yt_dlp convert from human for us.
pp_opts.sponsorblock_mark = yt_dlp.parse_options(
Expand Down

0 comments on commit fd8fbbd

Please sign in to comment.