- fetch task input definitions from API and render configurable inputs - boolean inputs render as No/Yes toggle (e.g. delete_source) - auto-filled inputs (file_path) are hidden from the form - wrap script output in dark pre/code block with copy button - fix ffmpeg -nostdin for batch directory processing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
763 B
Markdown
40 lines
763 B
Markdown
---
|
|
name: Convert To MP3
|
|
description: Convert audio files to MP3 320kbps, preserving metadata.
|
|
version: 1
|
|
mode: script
|
|
language: bash
|
|
triggers:
|
|
- type: file
|
|
extensions:
|
|
- flac
|
|
- wav
|
|
- ogg
|
|
- wma
|
|
- aac
|
|
- m4a
|
|
- opus
|
|
- aiff
|
|
- aif
|
|
- ape
|
|
- wv
|
|
- alac
|
|
- dsf
|
|
- dff
|
|
- type: directory
|
|
inputs:
|
|
file_path:
|
|
type: string
|
|
description: Path to an audio file or directory to convert.
|
|
delete_source:
|
|
type: boolean
|
|
description: Delete source files after successful conversion.
|
|
default: false
|
|
args: [file_path]
|
|
---
|
|
|
|
# Convert To MP3
|
|
|
|
Convert audio files to MP3 320kbps using ffmpeg, preserving metadata.
|
|
Supports single file conversion and batch directory conversion.
|