diff --git a/src/services/hqr-files.ts b/src/services/hqr-files.ts index 63de414..4fa611a 100644 --- a/src/services/hqr-files.ts +++ b/src/services/hqr-files.ts @@ -42,7 +42,7 @@ export async function showOpenHQRFileDialog(): Promise { const filename = file.name; if (buffer) { const hqr = HQR.fromArrayBuffer(buffer); - const metadata = await getMetadataForHQR(filename, hqr); + const metadata = await getMetadataForHQR(filename); return { hqr, filename, metadata, fileHandle }; } return null; diff --git a/src/services/metadata.ts b/src/services/metadata.ts index 8e97668..9db9150 100644 --- a/src/services/metadata.ts +++ b/src/services/metadata.ts @@ -14,8 +14,7 @@ export interface Metadata { const BASE_URL = 'https://raw.githubusercontent.com/LBALab/metadata/main/'; export async function getMetadataForHQR( - filename: string, - hqr: HQR + filename: string ): Promise { if (filename.endsWith('.VOX')) { filename = `VOX/XX${filename.substring(2)}`;