Fix temporary videos affecting library
This commit is contained in:
parent
877b125766
commit
60ecf96670
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue