mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Making a video temporary no longer uncaches it
This commit is contained in:
parent
d0a42a614b
commit
9ea04b9f01
1 changed files with 1 additions and 6 deletions
|
|
@ -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…
Add table
Reference in a new issue