Skip to content

Conversation

@Gykes
Copy link
Contributor

@Gykes Gykes commented Nov 10, 2024

This was created by a different user. I modified it slightly.

Currently the parser uses the "originaltitle" from the NFO for JAV (Japanese) if not found then reverts to "title" for English. If the user wants it flipped then it can be modified in the nfoParser.py line 170 by flipping originaltitle and title in the quotes.

This script will also create any studios and performers if needed. That can be disabled in the settings in the config. Again, it's not really my script but I plan on making some additions and cleaning some stuff up.

Currently this will run on any new scenes that are scanned in. For it to function correctly then a NFO with the exact same name needs to be in the same folder as the scene file. If no NFO is found then nothing will happen and you tag as usual. There is also a setting that allows users to tag a scene and rerun the command on anything with that tag but it seems to be broken for V27. If you want a scene reran then you need to remove the scene and rescan so that stash will pick it back up and repopulate the data.

@DogmaDragon DogmaDragon merged commit 294bb6b into stashapp:main Feb 10, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants