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

Increasing Admin Sound upload limit #627

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

mesnomer
Copy link
Contributor

@mesnomer mesnomer commented Dec 27, 2024

Note: This is my first PR ever. Hopefully I did this right.

About the pull request

Since YouTube has failed us, it'd be nice to have a bit more headroom in our file uploads for playing music during the round. Harry proposed potentially tripling this value (and I wouldn't be opposed to it, personally), but this is enough for longer tracks at lower bitrates.

Explain why it's good for the game

We're currently hard-capped at 10mb for sound files. That's an awkward breakpoint when it comes to even Variable Bitrate MP3s: You get maybe 6 minutes that way. And considering our operations go for a more cinematic feel, it'd be nice to use scoring that doesn't require reconverting and compressing it from wherever you nabbed it from -- or chopping it up, god forbid.

Testing Photographs and Procedure

Logged into my local server and tried playing a 13mb mp3. It worked. Neat!

Changelog

🆑
config: define UPLOAD_LIMIT value doubled (10485760 to 20971520)

@github-actions github-actions bot added the Missing Changelog Maintainers always document their changes. label Dec 27, 2024
Copy link
Member

@harryob harryob left a comment

Choose a reason for hiding this comment

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

harry approved

@harryob harryob merged commit a8f1914 into cmss13-devs:master Dec 28, 2024
38 checks passed
cm13-github added a commit that referenced this pull request Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing Changelog Maintainers always document their changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants