mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Do not wait for thumbnails extractions when requesting infos
This commit is contained in:
parent
853bfd5f9b
commit
e886fbcc5f
@ -208,7 +208,7 @@ func (h *Handler) GetInfo(c echo.Context) error {
|
|||||||
}
|
}
|
||||||
// Run extractors to have them in cache
|
// Run extractors to have them in cache
|
||||||
h.extractor.RunExtractor(ret.Path, ret.Sha, &ret.Subtitles)
|
h.extractor.RunExtractor(ret.Path, ret.Sha, &ret.Subtitles)
|
||||||
h.thumbnails.ExtractThumbnail(
|
go h.thumbnails.ExtractThumbnail(
|
||||||
ret.Path,
|
ret.Path,
|
||||||
fmt.Sprintf("%s/%s/thumbnails.png", resource, slug),
|
fmt.Sprintf("%s/%s/thumbnails.png", resource, slug),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user