From 3950d0a2c1002d0be5e84e72a3cc1f0e7f5c7f8d Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Sun, 22 Apr 2018 11:28:13 +0200
Subject: [PATCH] Bigger interval when going to next track because of error

---
 front/src/components/audio/Track.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/front/src/components/audio/Track.vue b/front/src/components/audio/Track.vue
index 68dd344598..5b826d2d41 100644
--- a/front/src/components/audio/Track.vue
+++ b/front/src/components/audio/Track.vue
@@ -73,7 +73,10 @@ export default {
   },
   methods: {
     errored: function () {
-      this.$store.dispatch('player/trackErrored')
+      let self = this
+      setTimeout(
+        () => { self.$store.dispatch('player/trackErrored') }
+      , 1000)
     },
     sourceErrored: function () {
       this.sourceErrors += 1
-- 
GitLab