Disable radio populate after too much consecutive errors

This commit is contained in:
Eliot Berriot 2018-02-27 21:29:07 +01:00
parent dac8d6e05e
commit 7dfafea26c
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
5 changed files with 45 additions and 4 deletions

View file

@ -86,6 +86,7 @@ export default {
},
loaded: function () {
this.$refs.audio.volume = this.volume
this.$store.commit('player/resetErrorCount')
if (this.isCurrent) {
this.$store.commit('player/duration', this.$refs.audio.duration)
if (this.startTime) {