Studio Tools

:placard: Summary Merge duplicate studios with a per-field diff dialog, plus one-click search + update of studio metadata from StashDB / ThePornDB / JAVStash. Pure UI plugin (JS + CSS only, no Python).
:link: Repository https://github.com/k6cc/stash-jav-tools/tree/main/studioTools
:information_source: Source URL https://k6cc.github.io/stash-plugins/plugins/main/index.yml
:open_book: Install How to install a plugin?

Hi stashers,

Duplicate studios happen — two scrapers, different romanizations, different capitalization. And when a local studio’s metadata is thin, there is no one-click way to pull it from StashDB. This plugin adds two buttons to every Studio detail page: Merge and Update. No Python, no daemon — pure JS + CSS injected into the page.

What it does

Studio Merge

Merge any two studios with a per-field diff dialog, exactly like Stash’s native merge dialog: pick a source studio (deleted) and a destination (kept), compare field by field, pick “keep destination” or “take merged” per field, then apply.

  • Aliases, URLs and tags auto-merge as a union; the discarded name is kept as an alias automatically.
  • Merge order is safe: reassign scenes/images/galleries/groups/child studios first, then update the destination, then delete the source.

Search & Update

Search StashDB / ThePornDB / JAVStash (plus any custom Stash-box instance configured under Metadata Providers) by studio name, then click a result to apply it.

  • Update is append-only: the local name and an existing image are never overwritten; missing aliases, URLs, Stash ID and image are filled in.
  • Parent is linked only when the result carries a parent and a same-named studio already exists locally — never auto-created.
  • API key is read from your Metadata Providers configuration; images are fetched by the Stash backend (Docker-friendly).

Notes

  • Merge deletes the source studio — references are transferred first, but back up before bulk work.
  • Update never overwrites the name, an existing image or manually curated fields.
  • Search requires at least one Stash-box API key (Settings → Metadata Providers).

Screenshots

Install

Option 1: Download Release

  1. Go to Releases and download the latest studioTools-vX.Y.Z.zip
  2. Unzip into your Stash plugins directory (files go directly in the studioTools folder):
    • Windows: %USERPROFILE%\.stash\plugins\studioTools\
    • Linux/macOS: ~/.stash/plugins/studioTools/
  3. Stash → Settings → Plugins → Reload plugins

Option 2: Add plugin source

In Stash → Settings → Plugins → Available Plugins → Add Source, add:

Recommended (GitHub Pages):

https://k6cc.github.io/stash-plugins/plugins/main/index.yml

Fallback (raw URL, no Pages required):

https://raw.githubusercontent.com/k6cc/stash-plugins/main/plugins/main/index.yml

Then install Studio Tools from the list. Same unified source that carries JavStashLinker, Performer Merge, Tag Merge, Studio Tools Auto, sceneGallerySync, and Scene Translate — one source, install any.

Companion plugins

Plugin Synergy with Studio Tools
Binge (fork) Correct studio names + aliases show everywhere: Feed studio chips, performer studio links, scene card badges.
sceneTranslate Translate studio names/aliases/details after pulling them down from StashDB.
Studio Tools Auto The headless twin: hook-based auto merge/fill for new studios, plus a scan task for the backlog.

License: MIT. Feedback and bug reports welcome — tell me the exact studio names, your Stash-box endpoints and your Stash version.

AI Development Statement

From project setup, fault debugging and architecture refactoring to the writing and polishing of all Markdown‑formatted documents, artificial intelligence runs through the entire development workflow of this project, and the whole project is developed with the help of AI.

It does not seem to work, I’m, not getting the buttons on the Studio page.

This plugin incorrectly uses interface text as anchor points… I’ve already released a new version; you can upgrade directly, and it should display correctly now. Thank you for your feedback.

Thank you, can the buttons be translated from Chinese to English?

This plugin doesn’t support switching between languages. In fact, its functionality is very simple, and it isn’t used very often, so I only implemented it in the language I’m familiar with.

1 Like

The PluginAPI exposes Intl so you can borrow a lot from Stash’s own translations, but you need to wrap your React components in their own IntlProvider to inject your own translations

  • Maista

Thanks for the suggestion; the three plugins—sceneGallerySync, sceneTranslate, and studioTools—now all support full translation. Enjoy using them!

1 Like

Love it, a brief test (refresh page) show that it is working great. I will report if there any odd English part.


Suggestion, add URL link to your plugin, here is example :link:

1 Like

Thanks, I will add a link to this site in the next update.

1 Like

v1.5.1 supports updating studios by name, with support for instances like: stashdb/theporndb/javstash and custom instances.

1 Like

v1.5.3: Update is now append-only: local name and existing image are never overwritten; aliases/URLs are merged union-style (missing only), Stash ID is filled if absent, and parent is linked only when the result provides one and a same-named studio exists locally.

1 Like