diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-23 11:09:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-23 11:13:06 +0100 |
commit | dbd9fb44ddd880622265097bd7baf4dd71ea0861 (patch) | |
tree | b531f861026a52bcacfdee076431c1c34d9ba78d /client/src/app/shared/shared-video-miniature | |
parent | 482b26231b4e39234f107b8400ef606c5f003c55 (diff) | |
download | PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.tar.gz PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.tar.zst PeerTube-dbd9fb44ddd880622265097bd7baf4dd71ea0861.zip |
Don't stuck state when move transcoding job failed
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-miniature.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
179 | return $localize`Transcoding failed` | 179 | return $localize`Transcoding failed` |
180 | } | 180 | } |
181 | 181 | ||
182 | if (video.state.id === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED) { | ||
183 | return $localize`Move to external storage failed` | ||
184 | } | ||
185 | |||
182 | if (video.state.id === VideoState.TO_TRANSCODE && video.waitTranscoding === true) { | 186 | if (video.state.id === VideoState.TO_TRANSCODE && video.waitTranscoding === true) { |
183 | return $localize`Waiting transcoding` | 187 | return $localize`Waiting transcoding` |
184 | } | 188 | } |