fix: 错误的选择了音源质量 (#1589)

This commit is contained in:
memorydream 2022-05-01 14:13:11 +08:00 committed by GitHub
parent e0f2d3fd57
commit 107bf53a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View file

@ -355,7 +355,7 @@ export default class {
}
_getAudioSourceFromNetease(track) {
if (isAccountLoggedIn()) {
return getMP3(track.id, track.sq?.br, track.hr?.br).then(result => {
return getMP3(track.id).then(result => {
if (!result.data[0]) return null;
if (!result.data[0].url) return null;
if (result.data[0].freeTrialInfo !== null) return null; // 跳过只能试听的歌曲