From 53d4db2a8a11407165da6525cad3198439686d36 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 19 Jun 2023 09:56:12 +0200 Subject: Fix playlist thumbnail generation --- server/lib/thumbnail.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'server/lib/thumbnail.ts') 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: { }) } -function updatePlaylistMiniatureFromUrl (options: { +function updateRemotePlaylistMiniatureFromUrl (options: { downloadUrl: string playlist: MVideoPlaylistThumbnail size?: ImageSize @@ -127,7 +127,7 @@ function generateLocalVideoMiniature (options: { // --------------------------------------------------------------------------- -function updateVideoMiniatureFromUrl (options: { +function updateLocalVideoMiniatureFromUrl (options: { downloadUrl: string video: MVideoThumbnail type: ThumbnailType @@ -159,7 +159,7 @@ function updateVideoMiniatureFromUrl (options: { return updateThumbnailFromFunction({ thumbnailCreator, filename, height, width, type, existingThumbnail, fileUrl, onDisk: true }) } -function updateRemoteThumbnail (options: { +function updateRemoteVideoThumbnail (options: { fileUrl: string video: MVideoThumbnail type: ThumbnailType @@ -189,10 +189,10 @@ function updateRemoteThumbnail (options: { export { generateLocalVideoMiniature, - updateVideoMiniatureFromUrl, + updateLocalVideoMiniatureFromUrl, updateLocalVideoMiniatureFromExisting, - updateRemoteThumbnail, - updatePlaylistMiniatureFromUrl, + updateRemoteVideoThumbnail, + updateRemotePlaylistMiniatureFromUrl, updateLocalPlaylistMiniatureFromExisting } -- cgit v1.2.3