ALonelyJuicebox / OFMetadataToStash

This script imports OnlyFans metadata into your Stash Database
BSD 2-Clause "Simplified" License
70 stars 10 forks source link

It looks like the script runs but no changes to Stash #47

Closed gentlesartori closed 4 months ago

gentlesartori commented 4 months ago

I wonder if the script is not forward compatible? I am using the latest version of Stash (Windows). Running the script, it connects to my Stash over the network and goes through the motions of loading the metadata from my local SQLLite database(s), then takes a much longer time sending metadata up to Stash. The process eventually completes after about 5 minutes. No errors are returned, but nothing changes on the Stash side. I am wondering if there are API changes in the new Stash that are breaking the script.

Watching the Trace Log in Stash, it looks like it is trying to match files using the scraped username as the path, plus the size of the file. Unfortunately, the username that OFMetadaToStash is formatted differently than what OFScraper outputs. OFMetadaToStash pulls the username as username_1234567, but OFScraper stores the files under \username. Perhaps that is why the SQL queries are not finding any matching files? I'll have to look into the Stash database directly to be sure. I can always rename the physical folder to match and rescan, but I'd rather not as the scan takes a long time.

Update: Renaming the folder from username to username_1234567 solved the issue. Maybe this was user error?

OFMetadataToStash v0.9 Stash v0.26.0

gentlesartori commented 4 months ago

Resolved