mirror of
https://github.com/timeshiftsauce/CeruMusic.git
synced 2025-11-25 03:15:07 +08:00
fix: flac格式使用ffmpeg 修复高音质下载失效
This commit is contained in:
@@ -200,13 +200,13 @@ async function downloadSingleSong(songInfo: MusicItem): Promise<void> {
|
||||
source: songInfo.source,
|
||||
quality,
|
||||
songInfo: toRaw(songInfo) as any,
|
||||
tagWriteOptions: settingsStore.settings.tagWriteOptions
|
||||
tagWriteOptions: toRaw(settingsStore.settings.tagWriteOptions)
|
||||
})
|
||||
|
||||
;(await tip).close()
|
||||
|
||||
// 如果成功获取特殊音质链接,处理结果并返回
|
||||
if (specialResult && 'error' in specialResult && !specialResult.error) {
|
||||
if (specialResult) {
|
||||
if (!Object.hasOwn(specialResult, 'path')) {
|
||||
MessagePlugin.info(specialResult.message)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user