stash
stash copied to clipboard
[Bug Report] Scrape with URL in Identify does not set cover
Describe the bug When using "Scrape with URL" in Identify the cover is not being set.
To Reproduce Steps to reproduce the behavior:
- Go to scenes
- Select 1 scene
- Click Identify
- In sources select only "Scrape with URL"
- Check "Set cover images"
Expected behavior The cover should be updated after identifying
Screenshots
Stash Version: (from Settings -> About): v0.13.1-55-g61d9f57c running in Docker
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome
- Version: 99.0.4844.84
Are you sure it is not an issue with the specific scraper? A random scene i used identify with worked fine. Can you go to the scene you tried to identify -> edit -> scrape with -> Scrape With URL and see if you get an image ? If you dont get an image there then the issue is not from identify.
Are you sure it is not an issue with the specific scraper? A random scene i used identify with worked fine. Can you go to the scene you tried to identify -> edit -> scrape with -> Scrape With URL and see if you get an image ? If you dont get an image there then the issue is not from identify.
Yeah I get the image when scrapping from the edit page.
More information is going to be needed. I'm unable to reproduce this.
Entered a scrapable URL to a random scene, ran Identify with Scrape With URL from the Tasks page. Cover image was set as expected.
Still reproducible for me. I think this this is not working for me but working for you because I moved my WSL instance with Stash from one PC to another and in the process thumbnail images got lost somehow. I got thumbnails back by rescanning all the files once again, but they got set to default preview images instead of the custom ones that were there before.
What happened is that Stash still thinks that the thumbnails are custom ones, so it doesn't replace them.
I checked and regenerated default thumbnail for a scene and after that Identify worked as expected. So, the problem is that thumbnail hash got broken or some flag is left unset, so Stash doesn't replace them.
I think there should be an option to force overwrite of the cover while identifying or an option to generate default thumbnails for selected videos (not on detail page so I had to click through them one by one to generate default thumbnails).
Ran into the same Problem today. I moved stash from my pc to my server. I imported my database and the scene covers were correct, but i didn't copied the screenshots from generated/screenshots. After I scanned for new scenes all custom covers were replaced by the generated ones.
Identifying the covers from URL didn't work for me either.
Is there a way to generate the screenshot files by the covers from the scenes?
an option to generate default thumbnails for selected videos (not on detail page so I had to click through them one by one to generate default thumbnails).
I wrote a scraper to do this very thing. It'll be added to the CommunityScraper repo soon. Select multiple scenes you wish to regenerate thumbnail on, invoke Identify from ... menu, select regeneratethumbnail scraper, and it rebuilds those. Potentially, you could make it generate non-default ones (ie some fixed time in the scene) by mucking with graphql code, if you wished to grab a particular time stamp in multiple videos. (Like a opening title card, for example)
Sounds like the original bug might be because of this issue https://github.com/stashapp/stash/issues/3657
Probably fixed in #3661 along with the aforementioned #3657