mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
Updated User Menu Cookbook (markdown)
parent
2515322554
commit
4364892bea
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue