mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
parent
5cf0092b4f
commit
872fd73b05
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ export default class {
|
||||||
autoplay = true,
|
autoplay = true,
|
||||||
ifUnplayableThen = "playNextTrack"
|
ifUnplayableThen = "playNextTrack"
|
||||||
) {
|
) {
|
||||||
if (autoplay) this._scrobble(this.currentTrack, this._howler.seek(), true);
|
if (autoplay) this._scrobble(this.currentTrack, this._howler?.seek(), true);
|
||||||
return getTrackDetail(id).then((data) => {
|
return getTrackDetail(id).then((data) => {
|
||||||
let track = data.songs[0];
|
let track = data.songs[0];
|
||||||
this._currentTrack = track;
|
this._currentTrack = track;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue