Skip to content

Commit

Permalink
Merge pull request #664 from tcely/patch-6
Browse files Browse the repository at this point in the history
Add `ytopts`
  • Loading branch information
meeb authored Jan 30, 2025
2 parents 152f88e + 3822c1a commit 58bd4c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tubesync/sync/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ def hook(event):
'writesubtitles': write_subtitles,
'writeautomaticsub': auto_subtitles,
'subtitleslangs': sub_langs.split(','),
'writethumbnail': True,
'check_formats': False,
'overwrites': None,
'sleep_interval': 30,
'max_sleep_interval': 600,
'sleep_interval_requests': 30,
}
opts = get_yt_opts()
ytopts['paths'] = opts.get('paths', {})
Expand Down

0 comments on commit 58bd4c3

Please sign in to comment.