diff --git a/src/components/Player.vue b/src/components/Player.vue index 78fdd3a..0defff9 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -145,9 +145,9 @@ export default { this.pushHistoryItem(); - if (this.selectedTrack.parent.progress) { - this.skipToSecond(this.selectedTrack.parent.progress.progress); - this.selectedTrack.parent.progress = undefined; + if (this.currentTrackParent.progress) { + this.skipToSecond(this.currentTrackParent.progress.progress); + this.currentTrackParent.progress = undefined; } else { // Try to fix SAFARI this.audio.play(); @@ -275,7 +275,7 @@ export default { this.progress = this.audio.currentTime; let item = { id: this.selectedTrack._id, - parentId: this.selectedTrack.parent._id, + parentId: this.currentTrackParent._id, type: "track", progress: Math.round(this.progress) } diff --git a/src/components/dialogs/ArtistViewer.vue b/src/components/dialogs/ArtistViewer.vue index e16b8b6..7d38aeb 100644 --- a/src/components/dialogs/ArtistViewer.vue +++ b/src/components/dialogs/ArtistViewer.vue @@ -1,24 +1,10 @@