From 57a56079fe927f99592a3defa2ba17586a6fe14c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 13 May 2016 20:45:53 +0200 Subject: getVideoThumbnail -> createVideoThumbnail --- server/lib/videos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/videos.js') diff --git a/server/lib/videos.js b/server/lib/videos.js index 7da4b11d2..154c31ef9 100644 --- a/server/lib/videos.js +++ b/server/lib/videos.js @@ -20,7 +20,7 @@ const videos = { createRemoteVideos: createRemoteVideos, getVideoDuration: getVideoDuration, getVideoState: getVideoState, - getVideoThumbnail: getVideoThumbnail, + createVideoThumbnail: createVideoThumbnail, removeVideosDataFromDisk: removeVideosDataFromDisk, removeRemoteVideos: removeRemoteVideos, seed: seed, @@ -54,7 +54,7 @@ function getVideoState (video) { return { exist: exist, owned: owned } } -function getVideoThumbnail (videoPath, callback) { +function createVideoThumbnail (videoPath, callback) { const filename = pathUtils.basename(videoPath) + '.jpg' ffmpeg(videoPath) .on('error', callback) -- cgit v1.2.3