mirror of https://github.com/calzoneman/sync.git
Log when a video is added
This commit is contained in:
parent
829cc090fa
commit
bf70d2760b
|
@ -937,6 +937,9 @@ PlaylistModule.prototype._addItem = function (media, data, user, cb) {
|
|||
self.meta.count++;
|
||||
self.meta.rawTime += media.seconds;
|
||||
self.meta.time = util.formatTime(self.meta.rawTime);
|
||||
var m = item.media;
|
||||
self.channel.logger.log("[playlist] " + (data.queueby || "(anonymous)") +
|
||||
" added " + m.title + " (" + m.type + ":" + m.id + ")");
|
||||
|
||||
var perms = self.channel.modules.permissions;
|
||||
self.channel.users.forEach(function (u) {
|
||||
|
|
Loading…
Reference in New Issue