Merge remote-tracking branch 'AdeHub/master' into develop

This commit is contained in:
rembo10
2013-08-20 09:38:11 +05:30

View File

@@ -224,9 +224,9 @@ def command(encoder,musicSource,musicDest,albumPath):
opts = []
if headphones.ADVANCEDENCODER =='':
if headphones.ENCODEROUTPUTFORMAT=='ogg':
opts.extend(['-acodec libvorbis'])
opts.extend(['-acodec', 'libvorbis'])
if headphones.ENCODEROUTPUTFORMAT=='m4a':
opts.extend(['-strict experimental'])
opts.extend(['-strict', 'experimental'])
if headphones.ENCODERVBRCBR=='cbr':
opts.extend(['-ar', str(headphones.SAMPLINGFREQUENCY), '-ab', str(headphones.BITRATE) + 'k'])
elif headphones.ENCODERVBRCBR=='vbr':