Temporarily force FLAC files to go through ffmpeg
Something is wrong with the structure of the downloaded files and taglib is NOT happy with them
This commit is contained in:
parent
42101353ab
commit
37f70f5390
2 changed files with 2 additions and 2 deletions
|
|
@ -1400,7 +1400,7 @@ export class LosslessAPI {
|
|||
try {
|
||||
switch (losslessContainerSettings.getContainer()) {
|
||||
case 'flac':
|
||||
if ((await getExtensionFromBlob(blob)) != 'flac') {
|
||||
if ((await getExtensionFromBlob(blob)) != 'flac' || true) {
|
||||
blob = await ffmpeg(
|
||||
blob,
|
||||
{ args: ['-vn', '-map_metadata', '-1', '-map', '0:a', '-c:a', 'flac'] },
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ async function downloadTrackBlob(track, quality, api, lyricsManager = null, sign
|
|||
try {
|
||||
switch (losslessContainerSettings.getContainer()) {
|
||||
case 'flac':
|
||||
if ((await getExtensionFromBlob(blob)) != 'flac') {
|
||||
if ((await getExtensionFromBlob(blob)) != 'flac' || true) {
|
||||
blob = await ffmpeg(
|
||||
blob,
|
||||
{ args: ['-vn', '-map_metadata', '-1', '-map', '0:a', '-c:a', 'flac'] },
|
||||
|
|
|
|||
Loading…
Reference in a new issue