Skip to content

Commit 384e10d

Browse files
author
KennyG
committed
Reducing the duration filter threshold to 360 sec,
for scene eligibility and updating related documentation. Update Group Details plugin to version 0.2.1
1 parent 5bda5f7 commit 384e10d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/GroupDetails/GroupDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
formatSceneTooltipLine(idx, scene && scene.title, duration)
214214
);
215215

216-
if (bypassDurationFilterForResolution || duration > 600) {
216+
if (bypassDurationFilterForResolution || duration > 360) {
217217
var height = getSceneVerticalPixels(scene);
218218
if (height > 0) {
219219
verticalSum += height;

plugins/GroupDetails/GroupDetails.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Group Details
22
description: Adds group-card metrics for filtered duration and average vertical resolution.
3-
version: 0.2.0
3+
version: 0.2.1
44
url: https://github.com/stashapp/CommunityScripts/tree/main/plugins/GroupDetails
55
ui:
66
javascript:

plugins/GroupDetails/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Duration tooltip scene lines are sorted by:
5050
Average resolution uses vertical pixels (`height`) from each included scene's tallest file:
5151

5252
- For groups with **exactly one total file**, the duration gate is bypassed.
53-
- Otherwise, only scenes with `duration > 600` are eligible.
53+
- Otherwise, only scenes with `duration > 360` are eligible.
5454
- Resolution average is `round(sum(height) / count)`.
5555
- Tooltip format is:
5656
- `Resolution Average: <N>p`

0 commit comments

Comments
 (0)