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

Cleanup transcoding temp files #2640

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kernicPanel
Copy link
Member

@kernicPanel kernicPanel commented Oct 14, 2024

Purpose

When we trigger a peertube transcript task on a video, we fetch the highest resolution possible.
If the video source model instance exists, we use it.
But, the related files lives in a temporary directory, so there deleted after a given time, which leads to an error.

Proposal

  • Delete source files after the transcoding process.
  • Adds a management command which try to delete them.

@kernicPanel kernicPanel self-assigned this Oct 17, 2024
@kernicPanel kernicPanel removed the request for review from lunika October 17, 2024 15:43
Copy link
Member

@jbpenrath jbpenrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An entry in the CHANGELOG is missing otherwise LGTM ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants