mirror of https://github.com/calzoneman/sync.git
Making a video temporary no longer uncaches it
This commit is contained in:
parent
d0a42a614b
commit
9ea04b9f01
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue