Removed console.log() call and fixed bug with resuming playback after server restart.
This commit is contained in:
parent
c8cd336c91
commit
d60182ceae
|
|
@ -709,7 +709,6 @@ module.exports = class{
|
|||
|
||||
async prepQueue(chanDB){
|
||||
try{
|
||||
console.log(this.schedule);
|
||||
//If we didn't get handed a freebie
|
||||
if(chanDB == null){
|
||||
//Go out and get it done ourselves
|
||||
|
|
@ -774,7 +773,7 @@ module.exports = class{
|
|||
//If something was playing
|
||||
if(chanDB.media.nowPlaying != null){
|
||||
//Rehydrate the currently playing item
|
||||
wasPlaying = chanDB.media.nowPlaying.rehydrate();
|
||||
const wasPlaying = chanDB.media.nowPlaying.rehydrate();
|
||||
|
||||
//Schedule it
|
||||
this.scheduleMedia(wasPlaying, null, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue