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

Randomize temporary ogg file #129

Open
Daniel-Mietchen opened this issue May 20, 2014 · 1 comment
Open

Randomize temporary ogg file #129

Daniel-Mietchen opened this issue May 20, 2014 · 1 comment

Comments

@Daniel-Mietchen
Copy link
Member

Currently, the temporary ogg file is always named "current.ogg", which causes problems in case several instances are running. Better to replace with random file names and to clean up when done with upload.

@RaphaelWimmer
Copy link
Member

Concretely, use Python's tempfile.mkstemp().

Note: This does not avoid two simultaneously running bots overwriting each others final output files - it just avoids this problem during transcoding.

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

No branches or pull requests

3 participants