Fix temporary videos affecting library

This commit is contained in:
calzoneman 2013-06-11 23:44:16 -04:00
parent 877b125766
commit 60ecf96670
1 changed files with 2 additions and 0 deletions

View File

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