UNPKG

music-metadata

Version:

Music metadata parser for Node.js, supporting virtual any audio and tag format.

19 lines (18 loc) 384 B
import { CommonTagMapper } from '../common/GenericTagMapper.js'; /** * ID3v1 tag mappings */ const id3v1TagMap = { title: 'title', artist: 'artist', album: 'album', year: 'year', comment: 'comment', track: 'track', genre: 'genre' }; export class ID3v1TagMapper extends CommonTagMapper { constructor() { super(['ID3v1'], id3v1TagMap); } }