]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Server: add extname video information to remote pods
authorChocobozzz <florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:34:59 +0000 (22:34 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:34:59 +0000 (22:34 +0100)
server/models/video.js

index 527652230c66311eaced4c8fc197f112cd84ef7d..de3d9f64415dd7cced6ec148f834ea29e8c2e700 100644 (file)
@@ -243,7 +243,8 @@ function toRemoteJSON (callback) {
       thumbnailBase64: new Buffer(thumbnailData).toString('base64'),
       tags: self.tags,
       createdDate: self.createdDate,
-      podHost: self.podHost
+      podHost: self.podHost,
+      extname: self.extname
     }
 
     return callback(null, remoteVideo)