Repository navigation
Releases: M336G/audio_converter
Releases · M336G/audio_converter
Release list
v2.1.0
- Added
MAX_CONCURRENT_UPLOADSto limit the number ofPOST /requests that can be made at the same time - Added
ALLOWED_ORIGINSto restrict the origins from which requests are made (if left unset, any origin will be able to make requests to the instance) - Fixed
MAX_CONCURRENT_CONVERSIONSbeing applied independently for each worker created instead of being global - Created a routine to clean up stale files (older than 30 minutes) instead of deleting the entire conversions directory every time the project is started; not only does this ensure stale files cannot accumulate forever if the server is not restarted for extended periods of time, but it also allows multiple instances to run on the same machine without deleting each other's directories
- Made the code for conversions much safer overall
- Converted
public/images/cat.pngtopublic/images/cat.webp
v2.0.0
- Added the
aac,m4a, andaiffformats - Changed the
webmformat's name toweba - Changed the upload system to use multipart form data instead of sending the file in the entire body and getting the format from a query parameter
- Made the upload & response system use streams instead of buffering the whole files into memory before processing/returning them
- Fixed FFmpeg silent errors when converting to some formats with a song that had a thumbnail (it completely removes the thumbnail now however)
- Made everything more robust overall
v1.1.0
- Added the
FLACfile format - Added
MAX_CONCURRENT_CONVERSIONSto avoid API abuse - Updated the project's dependencies
- Increased the length of temporary file names for conversions from
16to32characters - Improved the codebase to make it more secure overall