stash icon indicating copy to clipboard operation
stash copied to clipboard

[Feature] add partial/selective scan and partial/selective clean to integration API

Open i-am-at0m opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. When whisparr for example adds or upgrades a scene, the only option is for it to trigger a full library scan, instead of a scan of the subfolder where it dropped the file. Additionally, when it upgrades, the old file doesn't go away in stash until a manual clean is executed.

Describe the solution you'd like Add those options to the API so that they can be integrated into whisparr

Describe alternatives you've considered I feel this needs to be built into Stash at this point

Additional context Sonarr does this with Plex and it seems to work pretty well

i-am-at0m avatar Jul 22 '23 16:07 i-am-at0m

you can give both the scan and clean a path

mutation MyMutation {
  metadataScan(input: {paths: ""})
  metadataClean(input: {dryRun: false, paths: ""})
}

so is that not already in stash?

MrX292 avatar Jul 22 '23 16:07 MrX292

This can be closed

Maista6969 avatar Feb 10 '24 01:02 Maista6969