Skip to content

Commit

Permalink
- Fix for new config parser
Browse files Browse the repository at this point in the history
Had to adjust the command line, to read the new ffmpeg path as well as add the switch '--ffmpeg-location' with some proper spacing in the command line
  • Loading branch information
jessielw committed Nov 18, 2020
1 parent 55d267e commit bd1a765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Youtube-DL-Gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def close_window():
elif video_only.get() == 'on':
audio_format_selection = ''
audio_quality_selection = ''
command = '"' + youtube_dl_cli + ffmpeg_location + '--console-title ' + audio_format_selection \
command = '"' + youtube_dl_cli + ' --ffmpeg-location ' + ffmpeg + ' --console-title ' + audio_format_selection \
+ audio_quality_selection + metadata_from_title.get() + download_rate_choices[download_rate.get()] \
+ no_continue.get() + no_part.get() + yt_subtitle.get() \
+ '-o ' + '"' + VideoOutput + '/%(title)s.%(ext)s' + '" ' + download_link + '"'
Expand Down

0 comments on commit bd1a765

Please sign in to comment.