mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-05-31 07:59:15 -05:00
35 lines
985 B
YAML
35 lines
985 B
YAML
name: Tag Images from Galleries
|
|
description: Tags images with tags of galleries.
|
|
version: 1.1
|
|
url: https://discourse.stashapp.cc/t/tag-images-from-galleries/7931
|
|
|
|
exec:
|
|
- python
|
|
- "{pluginDir}/tagImagesFromGalleries.py"
|
|
|
|
interface: raw
|
|
|
|
hooks:
|
|
- name: Update Gallery
|
|
description: Will images with tags of contained galleries
|
|
triggeredBy:
|
|
- Gallery.Update.Post
|
|
- Gallery.Create.Post
|
|
|
|
settings:
|
|
excludeOrganized:
|
|
displayName: Exclude galleries marked as organized
|
|
description: Do not automatically tag galleries if it is marked as organized.
|
|
type: BOOLEAN
|
|
|
|
excludeWithTag:
|
|
displayName: Exclude galleries with tag from Hook
|
|
description: Do not automatically tag galleries if the gallery has this tag.
|
|
type: STRING
|
|
|
|
tasks:
|
|
- name: "Tag all images from galleries"
|
|
description: Loops through all galleries, and applies the tags of the gallery. Can take a long time on large databases.
|
|
defaultArgs:
|
|
mode: processAll
|