diff --git a/core/misc.py b/core/misc.py index b16a20c..6087724 100644 --- a/core/misc.py +++ b/core/misc.py @@ -46,8 +46,8 @@ def get_arguments(): help='choose the song to download manually', action='store_true') parser.add_argument('-nm', '--no-metadata', default=False, help='do not embed metadata in songs', action='store_true') - parser.add_argument('-f', '--ffmpeg', default=False, - help='Use ffmpeg for conversion otherwise set defaults to libav', + parser.add_argument('-f', '--avconv', default=False, + help='Use avconv for conversion otherwise set defaults to ffmpeg', action='store_true') parser.add_argument('-v', '--verbose', default=False, help='show debug output', action='store_true') diff --git a/spotdl.py b/spotdl.py index d914d4a..7b7acee 100644 --- a/spotdl.py +++ b/spotdl.py @@ -153,10 +153,10 @@ def convert_song(music_file): # skip conversion if input_ext == output_ext if not args.input_ext == args.output_ext: print('Converting ' + music_file + args.input_ext + ' to ' + args.output_ext[1:]) - if args.ffmpeg: - convert_with_FFmpeg(music_file) + if args.avconv: + convert_with_avconv(music_file) else: - convert_with_libav(music_file) + convert_with_FFmpeg(music_file) os.remove('Music/' + music_file + args.input_ext) def convert_with_libav(music_file):