mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
fix : PersonalFM can not found next track (#1217)
* fix : PersonalFM can not found next track * do not call _loadPersonalFMNextTrack() when reload personal FM * fix: revert * fix: separate playNextTrack * fix: moveToFMTrash * fix * fix: shortcut and _loadPersonalFMNextTrack() * show toast when personal timeout * fix: name
This commit is contained in:
parent
c7c6583523
commit
3ea5446fcc
5 changed files with 117 additions and 31 deletions
|
|
@ -151,7 +151,7 @@
|
|||
</button-icon>
|
||||
<button-icon
|
||||
:title="$t('player.next')"
|
||||
@click.native="player.playNextTrack"
|
||||
@click.native="playNextTrack"
|
||||
>
|
||||
<svg-icon icon-class="next" />
|
||||
</button-icon>
|
||||
|
|
@ -318,6 +318,13 @@ export default {
|
|||
methods: {
|
||||
...mapMutations(['toggleLyrics']),
|
||||
...mapActions(['likeATrack']),
|
||||
playNextTrack() {
|
||||
if (this.player.isPersonalFM) {
|
||||
this.player.playNextFMTrack();
|
||||
} else {
|
||||
this.player.playNextTrack();
|
||||
}
|
||||
},
|
||||
getLyric() {
|
||||
if (!this.currentTrack.id) return;
|
||||
return getLyric(this.currentTrack.id).then(data => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue