Merge branch 'release/4.3.0' into develop

pull/5318/head
Chocobozzz 2022-09-28 10:03:32 +02:00
commit 49aa917509
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<h1>
<my-global-icon iconName="following" aria-hidden="true"></my-global-icon>
<ng-container i18n>Your instance subscriptions</ng-container>
<ng-container i18n>Subscriptions of your instance</ng-container>
</h1>
<p-table

View File

@ -82,7 +82,10 @@ async function moveToExternalStorageState (options: {
if (pendingTranscode !== 0) return false
const previousVideoState = video.state
await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction)
if (video.state !== VideoState.TO_MOVE_TO_EXTERNAL_STORAGE) {
await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction)
}
logger.info('Creating external storage move job for video %s.', video.uuid, { tags: [ video.uuid ] })