mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-02-04 10:49:10 -06:00
- Updated FileMonitor plugin URL to Discourse link - Updated LocalVisage plugin URL to Discourse link - Updated PlexSync plugin URL to Discourse link - Updated PythonDepManager plugin URL to Discourse link - Updated PythonToolsInstaller plugin URL to Discourse link - Updated RenameFile plugin URL to Discourse link - Updated SFW Switch plugin URL to Discourse link - Updated SecondaryPerformerImage plugin URL to Discourse link - Updated StashRandomButton plugin URL to Discourse link - Updated TPDBMarkers plugin URL to Discourse link - Updated ThumbPreviews plugin URL to Discourse link - Updated VideoBanner plugin URL to Discourse link - Updated VideoScrollWheel plugin URL to Discourse link - Updated additionalFilesDeleter plugin URL to Discourse link - Updated audio-transcodes plugin URL to Discourse link - Updated bulkImageScrape plugin URL to Discourse link - Updated chooseYourAdventurePlayer plugin URL to Discourse link - Updated cjCardTweaks plugin URL to Discourse link - Updated comicInfoExtractor plugin URL to Discourse link - Updated defaultDataForPath plugin URL to Discourse link - Updated dupeMarker plugin URL to Discourse link - Updated e621_tagger plugin URL to Discourse link - Updated externalLinksEnhanced plugin URL to Discourse link - Updated filenameParser plugin URL to Discourse link - Updated funscriptMarkers plugin URL to Discourse link - Updated hotCards plugin URL to Discourse link - Updated imageGalleryNavigation plugin URL to Discourse link - Updated image_date_from_metadata plugin URL to Discourse link - Updated markerDeleteButton plugin URL to Discourse link - Updated markerTagToScene plugin URL to Discourse link - Updated miscTags plugin URL to Discourse link - Updated nfoSceneParser plugin URL to Discourse link - Updated pathParser plugin URL to Discourse link - Updated performerStashboxUrlToID plugin URL to Discourse link - Updated sceneCoverCropper plugin URL to Discourse link - Updated scenePageRememberStates plugin URL to Discourse link - Updated setPerformersFromTags plugin URL to Discourse link - Updated setSceneCoverFromFile plugin URL to Discourse link - Updated starIdentifier plugin URL to Discourse link - Updated stashAI plugin URL to Discourse link - Updated stashAppAndroidTvCompanion plugin URL to Discourse link - Updated stashNotes plugin URL to Discourse link - Updated stashNotifications plugin URL to Discourse link - Updated stashdb-performer-gallery plugin URL to Discourse link - Updated stats plugin URL to Discourse link - Updated tagCopyPaste plugin URL to Discourse link - Updated tagGalleriesFromImages plugin URL to Discourse link - Updated tagImagesWithPerfTags plugin URL to Discourse link - Updated tagScenesWithPerfTags plugin URL to Discourse link - Updated themeSwitch plugin URL to Discourse link - Updated timestampTrade plugin URL to Discourse link - Updated titleFromFilename plugin URL to Discourse link - Updated untagRedundantTags plugin URL to Discourse link - Updated videoChapterMarkers plugin URL to Discourse link - Updated BlackHole theme URL to Discourse link - Updated ColorPalette theme URL to Discourse link - Updated Minimal theme URL to Discourse link - Updated ModernDark theme URL to Discourse link - Updated NeonDark theme URL to Discourse link - Updated Night theme URL to Discourse link - Updated Plex theme URL to Discourse link - Updated PornHub theme URL to Discourse link - Updated Pulsar theme URL to Discourse link - Updated PulsarLight theme URL to Discourse link - Updated RoundedYellow theme URL to Discourse link - Updated FansDB Submission Helper userscript URL to Discourse link - Updated StashDB Submission Helper userscript URL to Discourse link
98 lines
4.0 KiB
YAML
98 lines
4.0 KiB
YAML
name: DupFileManager
|
|
description: Manages duplicate files.
|
|
version: 1.0.0
|
|
url: https://discourse.stashapp.cc/t/dupfilemanager/1331
|
|
ui:
|
|
javascript:
|
|
- DupFileManager.js
|
|
css:
|
|
- DupFileManager.css
|
|
- DupFileManager.css.map
|
|
- DupFileManager.js.map
|
|
settings:
|
|
matchDupDistance:
|
|
displayName: Match Duplicate Distance
|
|
description: (Default=0) Where 0 = Exact Match, 1 = High Match, 2 = Medium Match, and 3 = Low Match.
|
|
type: NUMBER
|
|
mergeDupFilename:
|
|
displayName: Merge Duplicate Tags
|
|
description: Before deletion, merge metadata from duplicate. E.g. Tag names, performers, studios, title, galleries, rating, details, etc...
|
|
type: BOOLEAN
|
|
whitelistDelDupInSameFolder:
|
|
displayName: Whitelist Delete In Same Folder
|
|
description: Allow whitelist deletion of duplicates within the same whitelist folder.
|
|
type: BOOLEAN
|
|
zvWhitelist:
|
|
displayName: White List
|
|
description: A comma seperated list of paths NOT to be deleted. E.g. C:\Favorite\,E:\MustKeep\
|
|
type: STRING
|
|
zwGraylist:
|
|
displayName: Gray List
|
|
description: Preferential paths to determine which duplicate should be kept. E.g. C:\2nd_Fav,C:\3rd_Fav,C:\4th_Fav,H:\ShouldKeep
|
|
type: STRING
|
|
zxBlacklist:
|
|
displayName: Black List
|
|
description: Least preferential paths; Determine primary deletion candidates. E.g. C:\Downloads,C:\DelMe-3rd,C:\DelMe-2nd,C:\DeleteMeFirst
|
|
type: STRING
|
|
zxPinklist:
|
|
displayName: Pink List
|
|
description: An [Advance Duplicate File Deletion Menu] option for deletion using paths. E.g. C:\SomeRandomDir,E:\DelPath2
|
|
type: STRING
|
|
zyMaxDupToProcess:
|
|
displayName: Max Dup Process
|
|
description: (Default=0) Maximum number of duplicates to process. If 0, infinity.
|
|
type: NUMBER
|
|
zySwapBetterBitRate:
|
|
displayName: Swap Better Bit Rate
|
|
description: Swap better bit rate for duplicate files. Use with DupFileManager_config.py file option favorHighBitRate
|
|
type: BOOLEAN
|
|
zySwapBetterFrameRate:
|
|
displayName: Swap Better Frame Rate
|
|
description: Swap better frame rate for duplicates. Use with DupFileManager_config.py file option favorHigherFrameRate
|
|
type: BOOLEAN
|
|
zySwapCodec:
|
|
displayName: Swap Better Codec
|
|
description: If enabled, swap better codec duplicate files to preferred path.
|
|
type: BOOLEAN
|
|
zySwapHighRes:
|
|
displayName: Swap Higher Resolution
|
|
description: If enabled, swap higher resolution duplicate files to preferred path.
|
|
type: BOOLEAN
|
|
zySwapLongLength:
|
|
displayName: Swap Longer Duration
|
|
description: If enabled, swap longer duration media files to preferred path. Longer is determine by significantLongerTime field.
|
|
type: BOOLEAN
|
|
zzDebug:
|
|
displayName: Debug
|
|
description: Enable debug so-as to add additional debug logging in Stash\plugins\DupFileManager\DupFileManager.log
|
|
type: BOOLEAN
|
|
zzTracing:
|
|
displayName: Tracing
|
|
description: Enable tracing and debug so-as to add additional tracing and debug logging in Stash\plugins\DupFileManager\DupFileManager.log
|
|
type: BOOLEAN
|
|
zzdryRun:
|
|
displayName: Dry Run
|
|
description: Enable to run script in [Dry Run] mode. In dry run mode, files are NOT deleted, and only logging is performed. Use the logging to determine if deletion will occur as expected.
|
|
type: BOOLEAN
|
|
exec:
|
|
- python
|
|
- "{pluginDir}/DupFileManager.py"
|
|
interface: raw
|
|
tasks:
|
|
- name: Tag Duplicates
|
|
description: Set tag DuplicateMarkForDeletion to the duplicates with lower resolution, duration, file name length, or black list path.
|
|
defaultArgs:
|
|
mode: tag_duplicates_task
|
|
- name: Clear Tags
|
|
description: Clear tag DuplicateMarkForDeletion. Remove the tag from all files.
|
|
defaultArgs:
|
|
mode: clear_duplicate_tags_task
|
|
- name: Delete Tagged Scenes
|
|
description: Only delete scenes having DuplicateMarkForDeletion tag.
|
|
defaultArgs:
|
|
mode: delete_tagged_duplicates_task
|
|
- name: Delete Duplicates
|
|
description: Delete duplicate scenes. Performs deletion without first tagging.
|
|
defaultArgs:
|
|
mode: delete_duplicates_task
|