Implement metadata refresh

This commit is contained in:
Zoe Roux
2026-03-27 10:40:22 +01:00
parent 3a2aa61ac1
commit 59187a024b
27 changed files with 2153 additions and 35 deletions
+3 -2
View File
@@ -87,8 +87,9 @@ func (s *MetadataService) extractThumbnail(ctx context.Context, path string, sha
vttPath := getThumbVttPath(sha)
spritePath := getThumbPath(sha)
alreadyOk, _ := s.storage.DoesItemExist(ctx, spritePath)
if alreadyOk {
spriteOk, _ := s.storage.DoesItemExist(ctx, spritePath)
vttOk, _ := s.storage.DoesItemExist(ctx, vttPath)
if spriteOk && vttOk {
return nil
}