const ui = require('../../ui/common');
const video_ui = require('../../ui/video');
const api = require('../../utils/api');
module.exports = function(data, websocket) {
logger.log(data);
video_ui.$library.empty();
data.forEach(function(video) {
video_ui.create_video_entry(video, websocket);
});
}