646c172193
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
34 lines
1.7 KiB
Diff
34 lines
1.7 KiB
Diff
diff --git i/beetsplug/convert.py w/beetsplug/convert.py
|
|
index 6bc07c28..039fb452 100644
|
|
--- i/beetsplug/convert.py
|
|
+++ w/beetsplug/convert.py
|
|
@@ -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',
|
|
},
|
|
'alac': {
|
|
- 'command': 'ffmpeg -i $source -y -vn -acodec alac $dest',
|
|
+ 'command': '@ffmpeg@/bin/ffmpeg -i $source -y -vn -acodec alac $dest',
|
|
'extension': 'm4a',
|
|
},
|
|
- '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',
|
|
},
|
|
'max_bitrate': 500,
|
|
'auto': False,
|