diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index 0c05a53e..d4173f12 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -1012,6 +1012,10 @@ PlaylistModule.prototype.startPlayback = function (time) { * Its purpose is to allow modification of playback data before * users are sent a changeMedia */ + if (!self.current || !self.current.media) { + return; + } + self.sendChangeMedia(self.channel.users); self.channel.notifyModules("onMediaChange", [self.current.media]);