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

Migrate generated files when a scene is rescanned #1106

Merged

Conversation

ghost
Copy link

@ghost ghost commented Feb 4, 2021

Refactors the migrate task so the generated files migrations can be reused when a scene is rescanned. While migrating previews and transcodes might not be desirable when going from e.g 480p->4k I figure it's better to migrate everything so that we don't leave orphan files in the generated folder. It's also easy to regenerate previews if desired.

Resolves #1101

@ghost ghost changed the title Migrate rescan generated Migrate generated files when a scene is rescanned Feb 4, 2021
@WithoutPants WithoutPants added this to the Version 0.5.0 milestone Feb 9, 2021
@WithoutPants WithoutPants added bug Something isn't working improvement Something needed tweaking. labels Feb 9, 2021
@WithoutPants WithoutPants merged commit 8d8a853 into stashapp:develop Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Updating Scene Resets Cover Image
2 participants