mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
fix: go back to synchronous image processing
This commit is contained in:
parent
aba2b76def
commit
1a5a6acc95
10 changed files with 58 additions and 168 deletions
|
|
@ -51,6 +51,10 @@ func Initialize(opts ImageSourceOpts) {
|
|||
})
|
||||
}
|
||||
|
||||
func Shutdown() {
|
||||
imgsrc.deezerC.Shutdown()
|
||||
}
|
||||
|
||||
func GetArtistImage(ctx context.Context, opts ArtistImageOpts) (string, error) {
|
||||
l := logger.FromContext(ctx)
|
||||
if imgsrc.deezerC != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue