Commit Graph

4 Commits

Author SHA1 Message Date
xtrullor73
a97736abee refactor: remove AuDD references and unused project files
Removed all files, dependencies, and mentions related to the AuDD API. Cleaned up the src directory, removing all non-developed or unused items, as part of a major cleanup. This change is due to the strategic shift towards using audio fingerprinting for song recognition, as opposed to sending the raw audio file itself.
2024-05-09 23:40:46 -07:00
xtrullor73
8bb93cafd6 feat: improve error handling and add streamline audio processing
- Refactor error handling by consolidating all errors in a newly created 'errors' directory.
- Introduce truncateAudioStream functionality to limit audio file processing to 25 seconds, optimizing performance and API usage.

The newly added 'errors' directory contains the apiError handler which provides a centralized error handling mechanism to easily manage error consistency and possible expansion in the future.
2024-05-07 20:00:36 -07:00
xtrullor73
c27113dac2 feat(env): switch to native --env-file flag support
Remove dotenv package and update the application to use Node.jss built-in --env-file flag for loading environment variables. This change is made to simplify the configuration by utilizing native capabilities introduced in Node.js v16.x.x.
2024-04-21 23:55:15 -07:00
xtrullor73
10722dfd8b chore: configure npm packages and ESLint 2024-04-19 10:25:28 -07:00