aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/thumbnail.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/thumbnail.ts')
-rw-r--r--server/lib/thumbnail.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/lib/thumbnail.ts b/server/lib/thumbnail.ts
index 90f5dc2c8..d95442795 100644
--- a/server/lib/thumbnail.ts
+++ b/server/lib/thumbnail.ts
@@ -39,7 +39,7 @@ function updateLocalPlaylistMiniatureFromExisting (options: {
39 }) 39 })
40} 40}
41 41
42function updatePlaylistMiniatureFromUrl (options: { 42function updateRemotePlaylistMiniatureFromUrl (options: {
43 downloadUrl: string 43 downloadUrl: string
44 playlist: MVideoPlaylistThumbnail 44 playlist: MVideoPlaylistThumbnail
45 size?: ImageSize 45 size?: ImageSize
@@ -127,7 +127,7 @@ function generateLocalVideoMiniature (options: {
127 127
128// --------------------------------------------------------------------------- 128// ---------------------------------------------------------------------------
129 129
130function updateVideoMiniatureFromUrl (options: { 130function updateLocalVideoMiniatureFromUrl (options: {
131 downloadUrl: string 131 downloadUrl: string
132 video: MVideoThumbnail 132 video: MVideoThumbnail
133 type: ThumbnailType 133 type: ThumbnailType
@@ -159,7 +159,7 @@ function updateVideoMiniatureFromUrl (options: {
159 return updateThumbnailFromFunction({ thumbnailCreator, filename, height, width, type, existingThumbnail, fileUrl, onDisk: true }) 159 return updateThumbnailFromFunction({ thumbnailCreator, filename, height, width, type, existingThumbnail, fileUrl, onDisk: true })
160} 160}
161 161
162function updateRemoteThumbnail (options: { 162function updateRemoteVideoThumbnail (options: {
163 fileUrl: string 163 fileUrl: string
164 video: MVideoThumbnail 164 video: MVideoThumbnail
165 type: ThumbnailType 165 type: ThumbnailType
@@ -189,10 +189,10 @@ function updateRemoteThumbnail (options: {
189 189
190export { 190export {
191 generateLocalVideoMiniature, 191 generateLocalVideoMiniature,
192 updateVideoMiniatureFromUrl, 192 updateLocalVideoMiniatureFromUrl,
193 updateLocalVideoMiniatureFromExisting, 193 updateLocalVideoMiniatureFromExisting,
194 updateRemoteThumbnail, 194 updateRemoteVideoThumbnail,
195 updatePlaylistMiniatureFromUrl, 195 updateRemotePlaylistMiniatureFromUrl,
196 updateLocalPlaylistMiniatureFromExisting 196 updateLocalPlaylistMiniatureFromExisting
197} 197}
198 198