Browse Source

'output_template' option fix Windows paths

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
f19b881bbf
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl_gui/optionsmanager.py

2
youtube_dl_gui/optionsmanager.py

@ -222,7 +222,7 @@ class OptionsManager(object):
'audio_quality': '5', 'audio_quality': '5',
'restrict_filenames': False, 'restrict_filenames': False,
'output_format': 1, 'output_format': 1,
'output_template': '%(uploader)s/%(title)s.%(ext)s', #TODO Fix path on Windows
'output_template': os.path.join('%(uploader)s', '%(title)s.%(ext)s'),
'playlist_start': 1, 'playlist_start': 1,
'playlist_end': 0, 'playlist_end': 0,
'max_downloads': 0, 'max_downloads': 0,

Loading…
Cancel
Save