New to Stash, need some help with tagging

Hello everyone!

I just started using stash recently and I am now migrating my quite sizeable library to it and wanted to have a very basic auto-tag done.

Basically I just want stash to generate a new tag of the author/performer if one does not exist or add the already existing one to the new video based on it’s filename, I saw that i can add the tags that i want stash to check manually but it would be a herculean task to do that for all of my existing library. Went around to other topics of people asking for help and documentation to see if there was a way to do that automatically but couldn’t find any or understand how to do so.

In short i have my files named with this structure:

[What i want the tag to be] - Title.mp4

Is there a way for stash to grab the contents of what is inside the brackets and make a tag for it? Any help would be appreciated! :folded_hands:

Auto Tag feature explicitly doesn’t create missing objects. It only adds existing ones when found.

For your use case it might be easisest to just write a simple script that reads the specific pattern from the filename and create those tags. You could then continue programatically attaching them to corresponding scenes or use Auto Tag.

I’m not sure if there is already a plugin or script for this exact use case.

Oh i see!

I don’t know much when it comes to scripting but I will give it a try to learn how to do that.

Worst case scenario manual labor it is. :smiling_face_with_tear:

Thanks a lot for the help!