mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
web/queue: add cover only to mp3 files
This commit is contained in:
parent
84aa80e2d3
commit
bfb23c86f9
@ -84,7 +84,7 @@ const makeAudioArgs = (info: CobaltLocalProcessingResponse) => {
|
|||||||
|
|
||||||
const ffargs = [];
|
const ffargs = [];
|
||||||
|
|
||||||
if (info.audio.cover) {
|
if (info.audio.cover && info.audio.format === "mp3") {
|
||||||
ffargs.push(
|
ffargs.push(
|
||||||
"-map", "0",
|
"-map", "0",
|
||||||
"-map", "1",
|
"-map", "1",
|
||||||
|
Loading…
Reference in New Issue
Block a user