Skip to content

Commit 55e6483

Browse files
authored
Untag redundant tags (#623)
1 parent 294bb17 commit 55e6483

File tree

4 files changed

+481
-0
lines changed

4 files changed

+481
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Untag redundant tags
2+
3+
Removes parent tags from objects if a more specific child tag is also present.
4+
5+
## Install
6+
7+
After you installed the plugin, make sure you have the latest version of stashapi installed by running `pip install -r <path to your stash>/plugins/community/untagRedundantTags/requirements.txt`.
8+
9+
## Config
10+
11+
A few config settings control what kind of parent tags are allowed for removal if redundant. The defaults are the behavior being disabled for all objects and no tags are allowed to be removed.
12+
13+
Go into your Stash then under `Settings > Plugins` you'll find the config for Untag redundant tags
14+
15+
- `Enable for scenes`
16+
17+
> Enable the automatic tag removal behavior for scenes
18+
19+
- `Enable for images`
20+
21+
> Enable the automatic tag removal behavior for images
22+
23+
- `Enable for galleries`
24+
25+
> Enable the automatic tag removal behavior for galleries
26+
27+
- `Enable for performers`
28+
29+
> Enable the automatic tag removal behavior for performers
30+
31+
- `Exclude objects marked as organized`
32+
33+
> Disable automatic tag removal for items (scens / images / galleries) that are marked as organized
34+
35+
- `Allow removing all root tags (tags without parent)`
36+
37+
> If enabled, tags without a parent tag (root tags) are allowed to be removed. Useful if tag hierarchies are used to group thematically related tags, to prevent the group itself from being used.
38+
39+
- `Allow removing tags ignored for Auto-Tagging`
40+
41+
> If enabled, tags marked as "Ignore for Auto-Tag" are allowed to be removed. Useful for deeper tag hierarchies, gives selective control on a likely related attribute.
42+
43+
- `Allow removing all intermediate tags (tags with parent and child tag)`
44+
45+
> If enabled, all tags with a parent tag and a child tag are allowed to be removed. Useful for deeper tag hierarchies, but quite aggressive, will possibly remove parallel legitimate uses of less specialized and more spezialized tags.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# stashapi has to be installed from source until stashapp-tools is updated to include the latest version
2+
stashapi @ git+https://github.com/stg-annon/stashapi.git

0 commit comments

Comments
 (0)