mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-20 14:22:47 -04:00
Implement metadata refresh
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user