From a32b5da9997750299807fcc2883f58a90161cf19 Mon Sep 17 00:00:00 2001 From: NativeRavenclaw <278475762+NativeRavenclaw@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:02:31 +0200 Subject: [PATCH] Add Path to image scraper args --- pkg/models/image.go | 1 + pkg/scraper/stash.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/models/image.go b/pkg/models/image.go index b99267e8c..1a5d6355f 100644 --- a/pkg/models/image.go +++ b/pkg/models/image.go @@ -79,6 +79,7 @@ type ImageUpdateInput struct { Urls []string `json:"urls"` Date *string `json:"date"` Details *string `json:"details"` + Path *string `json:"path"` Photographer *string `json:"photographer"` Rating100 *int `json:"rating100"` Organized *bool `json:"organized"` diff --git a/pkg/scraper/stash.go b/pkg/scraper/stash.go index 23c4b9063..29c43749c 100644 --- a/pkg/scraper/stash.go +++ b/pkg/scraper/stash.go @@ -459,5 +459,6 @@ func imageToUpdateInput(gallery *models.Image) models.ImageUpdateInput { Details: &gallery.Details, Urls: urls, Date: dateToStringPtr(gallery.Date), + Path: &gallery.Path, } }