Skip to content

Tankōbon / main/services/nfo / parseNfo

Function: parseNfo() ​

parseNfo(text): MetadataUpdate | null

Defined in: main/services/nfo.ts:92

The metadata a .nfo holds: <title>, <series>, <volume> (or <number>), the date from <releasedate>, <premiered> or <year>, <language> (a 2 or 3 letter code) and one <author role="writer">Name</author> per credit (<writer>/<artist>… are read too; a missing or unknown role is author). Only the fields present and valid are in the result, which is null when the file holds nothing usable.

Parameters ​

text ​

string

Returns ​

MetadataUpdate | null