mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Repo in one folder, typos + additions, better layout (#105)
* fix #100 * typos and additions * better layout for playlists * typo typo and some changes * was in the wrong line * also changed path to avconv.exe
This commit is contained in:
committed by
Ritiek Malhotra
parent
b0c3627f51
commit
a1544bc1c8
@@ -22,7 +22,7 @@ def song(input_song, output_song, avconv=False, verbose=False):
|
||||
def convert_with_avconv(input_song, output_song, verbose):
|
||||
"""Convert the audio file using avconv."""
|
||||
if os.name == 'nt':
|
||||
avconv_path = 'Scripts\\avconv.exe'
|
||||
avconv_path = '..\\Scripts\\avconv.exe'
|
||||
else:
|
||||
avconv_path = 'avconv'
|
||||
|
||||
@@ -53,7 +53,7 @@ def convert_with_ffmpeg(input_song, output_song, verbose):
|
||||
"""
|
||||
|
||||
if os.name == "nt":
|
||||
ffmpeg_pre = 'Scripts\\ffmpeg.exe '
|
||||
ffmpeg_pre = '..\\Scripts\\ffmpeg.exe '
|
||||
else:
|
||||
ffmpeg_pre = 'ffmpeg '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user