允许设置其他优先播放的歌曲音质 (#1839)
* 在线播放更高音质 * 修改对应翻译 * 设置-播放设置-优先播放320k音质选项改为“优先播放的音质” * 修复拼写 * 优化 --------- Co-authored-by: lyswhut <lyswhut@qq.com>
This commit is contained in:
@@ -51,7 +51,7 @@ export const getMusicUrl = async({ musicInfo, quality, isRefresh, allowToggleSou
|
||||
|
||||
// // return Promise.reject(new Error('该歌曲没有可播放的音频'))
|
||||
// }
|
||||
const targetQuality = quality ?? getPlayQuality(appSetting['player.highQuality'], musicInfo)
|
||||
const targetQuality = quality ?? getPlayQuality(appSetting['player.playQuality'], musicInfo)
|
||||
const cachedUrl = await getStoreMusicUrl(musicInfo, targetQuality)
|
||||
if (cachedUrl && !isRefresh) return cachedUrl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user