Updated User Menu Cookbook (markdown)

coderaiser 2023-01-15 19:36:55 +02:00
parent 2515322554
commit 4364892bea

@ -102,14 +102,14 @@ const isMp3 = (a) => /\.mp3$/.test(a);
export default {
'F - Convert flac to mp3': async ({DOM, CloudCmd}) => {
const command = 'for f in *.flac; do ffmpeg -vsync 2 -i "$f" -b:a 320k "${f%flac}mp3"; done';
convert(command, {
await convert(command, {
DOM,
CloudCmd,
});
},
'M - Convert mp4 to mp3': async ({DOM, CloudCmd}) => {
const command = 'for f in *.mp4; do ffmpeg -i "$f" "${f%mp4}mp3"; done';
convert(command, {
await convert(command, {
DOM,
CloudCmd,
});