mirror of
https://git.gay/lucida/lucida
synced 2025-12-11 20:15:14 +01:00
soundcloud: correct ffmpeg container argument for mp3
This commit is contained in:
parent
2488c27ba6
commit
6cbe870f91
@ -350,7 +350,8 @@ async function getStream(
|
|||||||
stream: Readable.fromWeb(streamResp.body!)
|
stream: Readable.fromWeb(streamResp.body!)
|
||||||
}
|
}
|
||||||
} else {
|
} 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 {
|
return {
|
||||||
mimeType: transcoding.format.mime_type,
|
mimeType: transcoding.format.mime_type,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user