chore: move useragent to cfg

This commit is contained in:
Gabe Farrell 2025-06-12 22:03:54 -04:00
parent 7b18ebb294
commit 63517c0a03
5 changed files with 15 additions and 5 deletions

View file

@ -96,7 +96,7 @@ func Run(
}
images.Initialize(images.ImageSourceOpts{
UserAgent: "Koito v0.0.1 (contact@koito.app)",
UserAgent: cfg.UserAgent(),
EnableCAA: !cfg.CoverArtArchiveDisabled(),
EnableDeezer: !cfg.DeezerDisabled(),
})