Commit Graph

7 Commits

Author SHA1 Message Date
xtrullor73
6e932c3759 feat(utils): add directory file fetching functionality 2024-04-21 22:42:41 -07:00
xtrullor73
25e2dcc143 feat(app): configure environment and launch audio controller 2024-04-21 22:40:49 -07:00
xtrullor73
656595f9c9 refactor: Reorganize project directory and refine logic separation
- Move audioFileValidator and audioTagWriter to src/services to underline their role in the application's core logic.
- Create audioController.js in src/controllers to handle validation and API interactions, centralizing request handling and streamlining app.js.
2024-04-20 17:15:41 -07:00
xtrullor73
80741eb5bd feat: Implement audioFileValidator for audio file type checking and directory file fetcher
Create a new audioFileValidator module to ensure only audio files are processed. Add directoryFileFetcher module to traverse and fetch file paths from directories.
2024-04-19 23:51:58 -07:00
xtrullor73
10722dfd8b chore: configure npm packages and ESLint 2024-04-19 10:25:28 -07:00
xtrullor73
0100435288 feat: initialize project source structure
- src/index.js: Entry point of the CLI application that processes command-line arguments and orchestrates the audio recognition and metadata tagging process.
- src/api/audioRecognition.js: Handles communication with the audio recognition API to identify songs from provided audio files.
- src/api/metadataRetrieval.js: Fetches additional song metadata such as album art, artist, and release date from music metadata services.
- src/utils/fileHandler.js: Manages file I/O operations, including reading audio files and writing metadata to them.
- src/utils/tagWriter.js: Writes the retrieved metadata to the audio files' ID3 tags, leveraging the node-id3 library.
2024-04-19 10:22:55 -07:00
Vlad Ryzhov
23428332d6 Initial commit 2024-04-18 23:40:17 -07:00