aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/remote/videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/remote/videos.js')
-rw-r--r--server/controllers/api/remote/videos.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/remote/videos.js b/server/controllers/api/remote/videos.js
index c8ef0c445..a3e1189c7 100644
--- a/server/controllers/api/remote/videos.js
+++ b/server/controllers/api/remote/videos.js
@@ -295,6 +295,7 @@ function addRemoteVideo (videoToCreateData, fromPod, finalCallback) {
295 extname: videoToCreateData.extname, 295 extname: videoToCreateData.extname,
296 infoHash: videoToCreateData.infoHash, 296 infoHash: videoToCreateData.infoHash,
297 category: videoToCreateData.category, 297 category: videoToCreateData.category,
298 licence: videoToCreateData.licence,
298 description: videoToCreateData.description, 299 description: videoToCreateData.description,
299 authorId: author.id, 300 authorId: author.id,
300 duration: videoToCreateData.duration, 301 duration: videoToCreateData.duration,
@@ -392,6 +393,7 @@ function updateRemoteVideo (videoAttributesToUpdate, fromPod, finalCallback) {
392 393
393 videoInstance.set('name', videoAttributesToUpdate.name) 394 videoInstance.set('name', videoAttributesToUpdate.name)
394 videoInstance.set('category', videoAttributesToUpdate.category) 395 videoInstance.set('category', videoAttributesToUpdate.category)
396 videoInstance.set('licence', videoAttributesToUpdate.licence)
395 videoInstance.set('description', videoAttributesToUpdate.description) 397 videoInstance.set('description', videoAttributesToUpdate.description)
396 videoInstance.set('infoHash', videoAttributesToUpdate.infoHash) 398 videoInstance.set('infoHash', videoAttributesToUpdate.infoHash)
397 videoInstance.set('duration', videoAttributesToUpdate.duration) 399 videoInstance.set('duration', videoAttributesToUpdate.duration)