Commit 61d7c8bf authored by JuniorJPDJ's avatar JuniorJPDJ Committed by Georg Krause
Browse files

Lower delay for loading sound

parent 13c3b22b
......@@ -743,14 +743,13 @@ export default {
}
this.nextTrackPreloaded = false
clearTimeout(this.playTimeout)
let self = this
if (this.currentSound) {
this.currentSound.pause()
}
this.$store.commit("player/isLoadingAudio", true)
this.playTimeout = setTimeout(async () => {
await self.loadSound(newValue, oldValue)
}, 500);
await this.loadSound(newValue, oldValue)
}, 100);
this.updateMetadata()
},
immediate: false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment