diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-25 10:06:41 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-25 10:06:41 +0200 |
commit | 5501edb0a779ebfe04876dd1a3b533d73b5be6f1 (patch) | |
tree | e87205eba121c8769846ad142e7cdc024660e712 | |
parent | b334235d3488fa3ee9023a6fb66fbca7db259dc6 (diff) |
transcode opus to mp3 for local audio server
-rwxr-xr-x | bulk-audio/get | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bulk-audio/get b/bulk-audio/get index 6243797..3a3305b 100755 --- a/bulk-audio/get +++ b/bulk-audio/get @@ -15,7 +15,7 @@ local_audio() { [ $? -ne 0 ] && return URL="$(echo "$res" | jq --raw-output '.audioSources[0].url // empty')" [ -z "$URL" ] && return - curl -sLo - "$URL" + curl -sLo - "$URL" | ffmpeg -hide_banner -loglevel error -i pipe: -f mp3 pipe: exit 0 } |