From 9ea04b9f011c5ebd49d451108d9697014342aa17 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sat, 4 May 2013 18:41:56 -0500 Subject: [PATCH] Making a video temporary no longer uncaches it --- channel.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/channel.js b/channel.js index 7249eec6..ac79ae96 100644 --- a/channel.js +++ b/channel.js @@ -789,12 +789,7 @@ Channel.prototype.setTemp = function(idx, temp) { temp: temp }); - if(temp) { - if(Database.uncacheMedia(this.name, med.id)) { - delete this.library[med.id]; - } - } - else { + if(!temp) { this.cacheMedia(med); } }