Fix #464: Do not restart current song when rordering queue, deleting tracks from queue or
adding tracks to queue
This commit is contained in:
parent
07830506a8
commit
c8a2531580
|
@ -0,0 +1,2 @@
|
||||||
|
Do not restart current song when rordering queue, deleting tracks from queue or
|
||||||
|
adding tracks to queue (#464)
|
|
@ -317,8 +317,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentTrack (newValue) {
|
currentTrack (newValue, oldValue) {
|
||||||
if (!this.isShuffling) {
|
if (!this.isShuffling && newValue != oldValue) {
|
||||||
this.audioKey = String(new Date())
|
this.audioKey = String(new Date())
|
||||||
}
|
}
|
||||||
if (!newValue || !newValue.album.cover) {
|
if (!newValue || !newValue.album.cover) {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="extra content">
|
<div class="extra content">
|
||||||
<human-date class="left floated" :date="album.creation_date"></human-date>
|
<human-date class="left floated" :date="album.creation_date"></human-date>
|
||||||
<play-button class="right floated basic icon" :dropdown-only="true" :dropdown-icon-classes="['ellipsis', 'horizontal', 'large', 'grey']" :album="album.id"></play-button>
|
<play-button class="right floated basic icon" :dropdown-only="true" :is-playable="album.is_playable" :dropdown-icon-classes="['ellipsis', 'horizontal', 'large', 'grey']" :album="album.id"></play-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue