Fix temporary videos affecting library

This commit is contained in:
calzoneman 2013-06-11 23:44:16 -04:00
parent 877b125766
commit 60ecf96670

View file

@ -332,6 +332,8 @@ Channel.prototype.seen = function(ip, name) {
}
Channel.prototype.cacheMedia = function(media) {
// Prevent the copy in the playlist from messing with this one
media = media.dup();
if(media.temp) {
return;
}