mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-12 06:37:49 -05:00
soundcloud: correct ffmpeg container argument for mp3
This commit is contained in:
@@ -350,7 +350,8 @@ async function getStream(
|
||||
stream: Readable.fromWeb(streamResp.body!)
|
||||
}
|
||||
} else {
|
||||
const container = transcoding.format.mime_type.split('/')[1].split(';')[0].split('+')[0]
|
||||
let container = transcoding.format.mime_type.split('/')[1].split(';')[0].split('+')[0]
|
||||
if (container == 'mpeg') container = 'mp3'
|
||||
|
||||
return {
|
||||
mimeType: transcoding.format.mime_type,
|
||||
|
||||
Reference in New Issue
Block a user