From f19b881bbff2d4d95e87f50c682c1241ef369140 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sun, 16 Oct 2016 12:54:18 +0300 Subject: [PATCH] 'output_template' option fix Windows paths --- youtube_dl_gui/optionsmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl_gui/optionsmanager.py b/youtube_dl_gui/optionsmanager.py index 96f902f..dd1c303 100644 --- a/youtube_dl_gui/optionsmanager.py +++ b/youtube_dl_gui/optionsmanager.py @@ -222,7 +222,7 @@ class OptionsManager(object): 'audio_quality': '5', 'restrict_filenames': False, '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_end': 0, 'max_downloads': 0,