aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-22 22:34:59 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-22 22:34:59 +0100
commit8f21730250f7c4acc6f64f693ef7748c7f354831 (patch)
tree12e669a1b6f222371934568f5a7146aaa5a72258
parent93d4a3b551f8828090b8fdee9fea1f935669dcc7 (diff)
downloadPeerTube-8f21730250f7c4acc6f64f693ef7748c7f354831.tar.gz
PeerTube-8f21730250f7c4acc6f64f693ef7748c7f354831.tar.zst
PeerTube-8f21730250f7c4acc6f64f693ef7748c7f354831.zip
Server: add extname video information to remote pods
-rw-r--r--server/models/video.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 527652230..de3d9f644 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -243,7 +243,8 @@ function toRemoteJSON (callback) {
243 thumbnailBase64: new Buffer(thumbnailData).toString('base64'), 243 thumbnailBase64: new Buffer(thumbnailData).toString('base64'),
244 tags: self.tags, 244 tags: self.tags,
245 createdDate: self.createdDate, 245 createdDate: self.createdDate,
246 podHost: self.podHost 246 podHost: self.podHost,
247 extname: self.extname
247 } 248 }
248 249
249 return callback(null, remoteVideo) 250 return callback(null, remoteVideo)