From 4d3dc0aec8d49699a8a48ee1a9fc72f13878185b Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Mon, 20 May 2024 13:13:16 +1000 Subject: [PATCH] Default SetCoverImage to true in identify (#4855) --- internal/identify/identify.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/identify/identify.go b/internal/identify/identify.go index 144a58a48..43e1dedf3 100644 --- a/internal/identify/identify.go +++ b/internal/identify/identify.go @@ -252,7 +252,8 @@ func (t *SceneIdentifier) getSceneUpdater(ctx context.Context, s *models.Scene, } } - if utils.IsTrue(options.SetCoverImage) { + // SetCoverImage defaults to true if unset + if options.SetCoverImage == nil || *options.SetCoverImage { ret.CoverImage, err = rel.cover(ctx) if err != nil { return nil, err