Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.