Making a video temporary no longer uncaches it

This commit is contained in:
calzoneman 2013-05-04 18:41:56 -05:00
parent d0a42a614b
commit 9ea04b9f01
1 changed files with 1 additions and 6 deletions

View File

@ -789,12 +789,7 @@ Channel.prototype.setTemp = function(idx, temp) {
temp: temp temp: temp
}); });
if(temp) { if(!temp) {
if(Database.uncacheMedia(this.name, med.id)) {
delete this.library[med.id];
}
}
else {
this.cacheMedia(med); this.cacheMedia(med);
} }
} }