From dbd9fb44ddd880622265097bd7baf4dd71ea0861 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 23 Dec 2021 11:09:31 +0100 Subject: Don't stuck state when move transcoding job failed --- .../app/shared/shared-video-miniature/video-miniature.component.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts index f387c38c2..847e401ed 100644 --- a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts @@ -179,6 +179,10 @@ export class VideoMiniatureComponent implements OnInit { return $localize`Transcoding failed` } + if (video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED) { + return $localize`Move to external storage failed` + } + if (video.state.id === VideoState.TO_TRANSCODE && video.waitTranscoding === true) { return $localize`Waiting transcoding` } -- cgit v1.2.3