mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-16 16:47:31 -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!)
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user