mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: bugs
This commit is contained in:
parent
22c9691a73
commit
c506dea02b
18 changed files with 79 additions and 32 deletions
|
|
@ -322,6 +322,7 @@ export default class {
|
|||
? this._personalFMNextTrack.id
|
||||
: this._getNextTrack()[0];
|
||||
if (!nextTrackID) return;
|
||||
if (this._personalFMTrack.id == nextTrackID) return;
|
||||
getTrackDetail(nextTrackID).then(data => {
|
||||
let track = data.songs[0];
|
||||
this._getAudioSource(track);
|
||||
|
|
@ -406,6 +407,7 @@ export default class {
|
|||
_loadPersonalFMNextTrack() {
|
||||
return personalFM().then(result => {
|
||||
this._personalFMNextTrack = result.data[0];
|
||||
this._cacheNextTrack(); // cache next track
|
||||
return this._personalFMNextTrack;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue