From 6e00bdc7bce4d883bc0523bf40dd34cc658c3654 Mon Sep 17 00:00:00 2001
From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com>
Date: Sat, 16 Nov 2024 23:05:23 -0600
Subject: [PATCH] report options separated from main options
---
.../DupFileManager_report_config.py | 150 ++++++++++++++++++
1 file changed, 150 insertions(+)
create mode 100644 plugins/DupFileManager/DupFileManager_report_config.py
diff --git a/plugins/DupFileManager/DupFileManager_report_config.py b/plugins/DupFileManager/DupFileManager_report_config.py
new file mode 100644
index 0000000..778e0b0
--- /dev/null
+++ b/plugins/DupFileManager/DupFileManager_report_config.py
@@ -0,0 +1,150 @@
+# Description: This is a Stash plugin which manages duplicate files.
+# By David Maisonave (aka Axter) Jul-2024 (https://www.axter.com/)
+# Get the latest developers version from following link:
+# https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/DupFileManager
+
+# HTML Report Options **************************************************
+report_config = {
+ # If enabled, create an HTML report when tagging duplicate files
+ "createHtmlReport" : True,
+ # If enabled, report displays stream instead of preview for video
+ "streamOverPreview" : False, # This option works in Chrome, but does not work very well on firefox.
+ # If enabled, report displays an image preview similar to sceneDuplicateChecker
+ "htmlIncludeImagePreview" : False,
+ "htmlImagePreviewPopupSize" : 600,
+ # Name of the HTML file to create
+ "htmlReportName" : "DuplicateTagScenes.html",
+ # HTML report prefix, before table listing
+ "htmlReportPrefix" : """
+
+
+Stash Duplicate Report
+
+
+
+
+
+
+| Report Info | Report Options |
+
+
+| Found (QtyPlaceHolder) duplice sets |
+Date Created: (DateCreatedPlaceHolder) |
+
|
+ |
+
+Stash Duplicate Scenes Report (MatchTypePlaceHolder)
\n""",
+ # HTML report postfiox, after table listing
+ "htmlReportPostfix" : "\n",
+ # HTML report table
+ "htmlReportTable" : "",
+ # HTML report table row
+ "htmlReportTableRow" : "",
+ # HTML report table header
+ "htmlReportTableHeader" : "| ",
+ # HTML report table data
+ "htmlReportTableData" : " | ",
+ # HTML report video preview
+ "htmlReportVideoPreview" : "width='160' height='120' controls", # Alternative option "autoplay loop controls" or "autoplay controls"
+ # The number off seconds in time difference for supper highlight on htmlReport
+ "htmlHighlightTimeDiff" : 3,
+ # Supper highlight for details with higher resolution or duration
+ "htmlSupperHighlight" : "yellow",
+ # Lower highlight for details with slightly higher duration
+ "htmlLowerHighlight" : "nyanza",
+ # Text color for details with different resolution, duration, size, bitrate,codec, or framerate
+ "htmlDetailDiffTextColor" : "red",
+ # Paginate HTML report. Maximum number of results to display on one page, before adding (paginating) an additional page.
+ "htmlReportPaginate" : 100,
+}
\ No newline at end of file
|