mirror of https://github.com/stashapp/stash.git
Apply all post processors to performer (#1387)
* Apply all post processors to performer Scraping a performer by fragment doesn't correctly work with tags. When tags are returned to the scraper then all are recognized as new. This is due to the post process method not being applied while it should be, as is done when scraping a performer by URL.
This commit is contained in:
parent
ab24d0f625
commit
586d146fdb
|
@ -197,9 +197,11 @@ func (c Cache) ScrapePerformer(scraperID string, scrapedPerformer models.Scraped
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// post-process - set the image if applicable
|
||||
if err := setPerformerImage(ret, c.globalConfig); err != nil {
|
||||
logger.Warnf("Could not set image using URL %s: %s", *ret.Image, err.Error())
|
||||
if ret != nil {
|
||||
err = c.postScrapePerformer(ret)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
return ret, nil
|
||||
|
|
|
@ -5,3 +5,6 @@
|
|||
* Add `subtractDays` post-process scraper action. ([#1399](https://github.com/stashapp/stash/pull/1399))
|
||||
* Skip scanning directories if path matches image and video exclude patterns. ([#1382](https://github.com/stashapp/stash/pull/1382))
|
||||
* Add button to remove studio stash ID. ([#1378](https://github.com/stashapp/stash/pull/1378))
|
||||
|
||||
### 🐛 Bug fixes
|
||||
* Fix post-processing not running when scraping by performer fragment. ([#1387](https://github.com/stashapp/stash/pull/1387))
|
||||
|
|
Loading…
Reference in New Issue