Skip to content

Releases: M336G/audio_converter

v2.1.0

Choose a tag to compare

@M336G M336G released this 06 Sep 17:18
  • Added MAX_CONCURRENT_UPLOADS to limit the number of POST / requests that can be made at the same time
  • Added ALLOWED_ORIGINS to 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_CONVERSIONS being 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.png to public/images/cat.webp

v2.0.0

Choose a tag to compare

@M336G M336G released this 06 Sep 14:10
  • Added the aac, m4a, and aiff formats
  • Changed the webm format's name to weba
  • 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

Choose a tag to compare

@M336G M336G released this 05 Sep 21:32
  • Added the FLAC file format
  • Added MAX_CONCURRENT_CONVERSIONS to avoid API abuse
  • Updated the project's dependencies
  • Increased the length of temporary file names for conversions from 16 to 32 characters
  • Improved the codebase to make it more secure overall

v1.0.1

Choose a tag to compare

@M336G M336G released this 16 Jul 18:45
Fix CORS headers not working for POST /

v1.0.0

Choose a tag to compare

@M336G M336G released this 16 Jul 16:44

Initial release