Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Adding File.Destroy.Post hook #3001

Open
Belleyy opened this issue Oct 12, 2022 · 0 comments · May be fixed by #5186
Open

[Feature] Adding File.Destroy.Post hook #3001

Belleyy opened this issue Oct 12, 2022 · 0 comments · May be fixed by #5186

Comments

@Belleyy
Copy link
Contributor

Belleyy commented Oct 12, 2022

Is your feature request related to a problem? Please describe.
I have files on cloud:

  • Before FileRefactor, a plugin would send a command to Rclone (CLI to manage cloud storage) to delete this file. This plugin is trigger when the file is delete so it was a Scene.Destroy.Post hook.
  • Now, you can have multiple files, so Scene.Destroy.Post is not the only way to remove a file. If I delete a second file from the same scene, there is no hook to catch this operation.

Describe the solution you'd like
Adding:

  • File.Destroy.Post (Trigger when Stash delete a file)
    I'm not sure if Create/Update is useful.
@WithoutPants WithoutPants added this to the Backlog milestone Sep 21, 2023
Gykes added a commit to Gykes/stash that referenced this issue Aug 30, 2024
This seems too simple but I think this is it?

fixes stashapp#3001
@Gykes Gykes linked a pull request Aug 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants