projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d4a3b
)
Server: add extname video information to remote pods
author
Chocobozzz
<florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:34:59 +0000
(22:34 +0100)
committer
Chocobozzz
<florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:34:59 +0000
(22:34 +0100)
server/models/video.js
patch
|
blob
|
history
diff --git
a/server/models/video.js
b/server/models/video.js
index 527652230c66311eaced4c8fc197f112cd84ef7d..de3d9f64415dd7cced6ec148f834ea29e8c2e700 100644
(file)
--- a/
server/models/video.js
+++ b/
server/models/video.js
@@
-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)