mirror of
https://github.com/xtrll/MusicMetaFinder.git
synced 2026-04-25 18:25:43 +02:00
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.
This commit is contained in:
15
src/controllers/pathController.js
Normal file
15
src/controllers/pathController.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import filesFetcher from '../utils/filesFetcher.js';
|
||||
|
||||
/**
|
||||
* Handle the input path provided by the user to resolve file paths
|
||||
* using the appropriate path handling utility. This controller function
|
||||
* is responsible for initiating the file fetching process and ensuring
|
||||
* that the paths returned comply with the expected format and conditions.
|
||||
*
|
||||
* @param {string} inputPath - The initial file or directory path provided by the user.
|
||||
* @returns {Promise<string[]>} - A promise that resolves to an array of file paths,
|
||||
* or rejects with an error if the operation fails.
|
||||
*/
|
||||
export async function fetchFiles(inputPath) {
|
||||
return filesFetcher(inputPath);
|
||||
}
|
||||
Reference in New Issue
Block a user