mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: 错误的选择了音源质量 (#1589)
This commit is contained in:
parent
e0f2d3fd57
commit
107bf53a39
2 changed files with 7 additions and 10 deletions
|
|
@ -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; // 跳过只能试听的歌曲
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue