Removed sub version from readme and YML file.

This commit is contained in:
David Maisonave
2024-11-28 17:25:48 -05:00
parent d2392a9aee
commit d19dd5cdc0
4 changed files with 7 additions and 5 deletions

View File

@@ -1721,12 +1721,12 @@ def updateScenesInReports(scene, ReportName = htmlReportName):
stash.Log(f"Report file does not exist: {ReportName}") stash.Log(f"Report file does not exist: {ReportName}")
def addPropertyToSceneClass(fileName, scene, property): def addPropertyToSceneClass(fileName, scene, property):
stash.Log(f"Inserting property {property} for scene {scene} in file {fileName}") stash.Debug(f"Inserting property {property} for scene {scene} in file {fileName}")
doStyleEndTagCheck = True doStyleEndTagCheck = True
lines = None lines = None
with open(fileName, 'r') as file: with open(fileName, 'r') as file:
lines = file.readlines() lines = file.readlines()
stash.Log(f"line count = {len(lines)}") stash.Debug(f"line count = {len(lines)}")
with open(fileName, 'w') as file: with open(fileName, 'w') as file:
for line in lines: for line in lines:
# stash.Debug(f"line = {line}") # stash.Debug(f"line = {line}")
@@ -1744,7 +1744,7 @@ def addPropertyToSceneClass(fileName, scene, property):
if line.startswith("</style>"): if line.startswith("</style>"):
if property != "" and property != "remove highlight": if property != "" and property != "remove highlight":
styleSetting = f".ID_{scene}{property}\n" styleSetting = f".ID_{scene}{property}\n"
stash.Log(f"styleSetting = {styleSetting}") stash.Debug(f"styleSetting = {styleSetting}")
file.write(styleSetting) file.write(styleSetting)
doStyleEndTagCheck = False doStyleEndTagCheck = False
file.write(line) file.write(line)
@@ -1794,6 +1794,7 @@ def copyScene(moveScene=False):
return return
if moveScene: if moveScene:
stash.mergeMetadata(scene1, scene2) stash.mergeMetadata(scene1, scene2)
stash.Debug(f"Coping file {scene1['files'][0]['path']} to {scene2['files'][0]['path']}")
result = shutil.copy(scene1['files'][0]['path'], scene2['files'][0]['path']) result = shutil.copy(scene1['files'][0]['path'], scene2['files'][0]['path'])
if moveScene: if moveScene:
if dry_run: if dry_run:

View File

@@ -1,6 +1,6 @@
name: DupFileManager name: DupFileManager
description: Manages duplicate files. description: Manages duplicate files.
version: 1.0.0.3 version: 1.0.0
url: https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/DupFileManager url: https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/DupFileManager
ui: ui:
javascript: javascript:

View File

@@ -1,4 +1,4 @@
# DupFileManager: Ver 1.0.0.3 (By David Maisonave) # DupFileManager: Ver 1.0.0 (By David Maisonave)
DupFileManager is a [Stash](https://github.com/stashapp/stash) plugin which manages duplicate files in the Stash system. DupFileManager is a [Stash](https://github.com/stashapp/stash) plugin which manages duplicate files in the Stash system.
It has both **task** and **tools-UI** components. It has both **task** and **tools-UI** components.

View File

@@ -1,4 +1,5 @@
##### This page was added starting on version 0.2.0 to keep track of newly added features between versions. ##### This page was added starting on version 0.2.0 to keep track of newly added features between versions.
- Note: Sub versions (x.x.x.**x**) are only listed on this page.
### 0.2.0 ### 0.2.0
- For report, added logic to transfer option settings **[Disable Complete Confirmation]** and **[Disable Delete Confirmation]** when paginating. - For report, added logic to transfer option settings **[Disable Complete Confirmation]** and **[Disable Delete Confirmation]** when paginating.
- Fixed minor bug in advance_options.html for GQL params. - Fixed minor bug in advance_options.html for GQL params.