forked from rc/aircox
player end of playlist, switch to live
This commit is contained in:
@ -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}`;
|
||||
|
Reference in New Issue
Block a user