Giter Site home page Giter Site logo

stash-qmt's Introduction

stash-qmt

Use case

stash-qmt (quick manual tagger) is a simple GUI tool designed to help with cases of manually tagging multiple similar scenes (manually, as in, with having to actually watch them) in Stash.

How it works

You can provide stash-qmt with templates - lists of commonly used tags. Pick a template, type in the scene's id and stash-qmt will list down all of the template's tags that are not yet in the scene. Mark the tags you want to add, click "Set tags" and you can move to the next scene!

Dependencies

  • PyQt6
  • requests
  • PyYAML

Installation

  • Download and unpack the source code from the latest release
  • Install dependencies with pip install pyside6 requests pyyaml

Configuration and use

Config.yaml

All configuration is stored in config.yaml in the same directory as the actual app. If there isn't a config.yaml file in the directory, the app will create a sample one once it's running.

A sample config.yaml file is provided in the repository and looks like this:

# Find the docs at github.com/PokerFacowaty/stash-qmt
API Key: <your API key>
Stash URL: <Stash URL ending in /graphql>
Templates:
  SampleTemplate1:
    - SampleTagName1
    - SampleTagName2
  SampleTemplate2:
    12: TagWithId12
    33: TagWithId33

Explanation for all config entries:

  • API Key - your Stash API Key found in Settings -> Security
  • Stash URL - the url for your Stash instance with /graphql at the end
  • Templates: - A dictonary keeping all your templates

Adding templates:

  • To add a template, simply pick a name for it and a list of tags it should consist of, like in the example (pay attention to the indentation):
Templates:
  SampleTemplate1:
    - SampleTagName1
    - SampleTagName2
  • After you run the app at least once with a new template, it will change its look since the app stores the ids for all tags in the template locally:
  SampleTemplate2:
    12: TagWithId12
    33: TagWithId33

Screenshots

Screenshot 1 Screenshot 2

stash-qmt's People

Contributors

pokerfacowaty avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.