2021-01-03 00:47:09 +01:00
|
|
|
diff --git i/beetsplug/convert.py w/beetsplug/convert.py
|
2021-12-18 16:33:00 +01:00
|
|
|
index 6bc07c28..039fb452 100644
|
2021-01-03 00:47:09 +01:00
|
|
|
--- i/beetsplug/convert.py
|
|
|
|
+++ w/beetsplug/convert.py
|
2021-12-18 16:33:00 +01:00
|
|
|
@@ -118,22 +118,22 @@ class ConvertPlugin(BeetsPlugin):
|
|
|
|
'id3v23': 'inherit',
|
|
|
|
'formats': {
|
|
|
|
'aac': {
|
|
|
|
- 'command': 'ffmpeg -i $source -y -vn -acodec aac '
|
|
|
|
+ 'command': '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec aac '
|
|
|
|
'-aq 1 $dest',
|
|
|
|
'extension': 'm4a',
|
2021-01-03 00:47:09 +01:00
|
|
|
},
|
2021-12-18 16:33:00 +01:00
|
|
|
'alac': {
|
|
|
|
- 'command': 'ffmpeg -i $source -y -vn -acodec alac $dest',
|
|
|
|
+ 'command': '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec alac $dest',
|
|
|
|
'extension': 'm4a',
|
2021-01-03 00:47:09 +01:00
|
|
|
},
|
2021-12-18 16:33:00 +01:00
|
|
|
- 'flac': 'ffmpeg -i $source -y -vn -acodec flac $dest',
|
|
|
|
- 'mp3': 'ffmpeg -i $source -y -vn -aq 2 $dest',
|
|
|
|
+ 'flac': '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec flac $dest',
|
|
|
|
+ 'mp3': '@ffmpeg@/bin/ffmpeg -i $source -y -vn -aq 2 $dest',
|
|
|
|
'opus':
|
|
|
|
- 'ffmpeg -i $source -y -vn -acodec libopus -ab 96k $dest',
|
|
|
|
+ '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec libopus -ab 96k $dest',
|
|
|
|
'ogg':
|
|
|
|
- 'ffmpeg -i $source -y -vn -acodec libvorbis -aq 3 $dest',
|
|
|
|
+ '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec libvorbis -aq 3 $dest',
|
|
|
|
'wma':
|
|
|
|
- 'ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest',
|
|
|
|
+ '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest',
|
2021-01-03 00:47:09 +01:00
|
|
|
},
|
2021-12-18 16:33:00 +01:00
|
|
|
'max_bitrate': 500,
|
|
|
|
'auto': False,
|