> ## Documentation Index
> Fetch the complete documentation index at: https://chart-spec.enchor.us/llms.txt
> Use this file to discover all available pages before exploring further.

# parseSongMetadata()

```ts theme={null}
function parseSongMetadata(files, options?): Promise<{
  issues: readonly Issue[];
  metadata: SongMetadata;
}>;
```

Reads a song folder's metadata and the issues with its song.ini and chart file names, without reading the notes:
only song.ini and the `.chart` `[Song]` section are read.

## Parameters

| Parameter | Type |
| - | - |
| `files` | readonly [`SongFile`](https://chart-spec.enchor.us/scan-chart/api/index/interfaces/SongFile)\[] |
| `options?` | [`SongMetadataOptions`](https://chart-spec.enchor.us/scan-chart/api/index/interfaces/SongMetadataOptions) |

## Returns

`Promise`\<\{
`issues`: readonly [`Issue`](https://chart-spec.enchor.us/scan-chart/api/index/interfaces/Issue)\[];
`metadata`: [`SongMetadata`](https://chart-spec.enchor.us/scan-chart/api/index/type-aliases/SongMetadata);
}>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.