player end of playlist, switch to live

This commit is contained in:
bkfox
2022-03-18 14:34:00 +01:00
parent e3b744be70
commit 4733d9ac7c
4 changed files with 16 additions and 17 deletions

View File

@ -180,7 +180,7 @@ export default {
let src = null;
// from playlist
if(playlist !== null) {
if(playlist !== null && index != -1) {
let item = this.$refs[playlist].get(index);
if(!item)
throw `No sound at index ${index} for playlist ${playlist}`;