mirror of https://github.com/calzoneman/sync.git
Fix temporary videos affecting library
This commit is contained in:
parent
877b125766
commit
60ecf96670
|
@ -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…
Reference in New Issue