Catching media store fail unlink error to prevent batch failure.

This commit is contained in:
DebaucheryLibrarian
2023-08-28 02:53:35 +02:00
parent 430d7a8cdd
commit eeb947d311
3 changed files with 22 additions and 7 deletions

View File

@@ -172,6 +172,7 @@ function photos() {
const photosWithClipPosters = (this.release.photos || []).concat(this.release.caps || []).concat(this.release.scenesPhotos || []).concat(uniqueClipPosters);
if (this.release.trailer || (this.release.teaser && this.release.teaser.mime !== 'image/gif')) {
// if (this.release.trailer) {
// poster will be on trailer video
return photosWithClipPosters;
}