taglib-wasm
Version:
TagLib for TypeScript platforms: Deno, Node.js, Bun, Electron, browsers, and Cloudflare Workers
55 lines (54 loc) • 848 B
JavaScript
const FormatMappings = {
Title: {
id3v2: "TIT2",
mp4: "\xA9nam",
vorbis: "TITLE",
ape: "Title",
riff: "INAM"
},
Artist: {
id3v2: "TPE1",
mp4: "\xA9ART",
vorbis: "ARTIST",
ape: "Artist",
riff: "IART"
},
Album: {
id3v2: "TALB",
mp4: "\xA9alb",
vorbis: "ALBUM",
ape: "Album",
riff: "IPRD"
},
Date: {
id3v2: "TDRC",
mp4: "\xA9day",
vorbis: "DATE",
ape: "Year",
riff: "ICRD"
},
Genre: {
id3v2: "TCON",
mp4: "\xA9gen",
vorbis: "GENRE",
ape: "Genre",
riff: "IGNR"
},
Comment: {
id3v2: "COMM",
mp4: "\xA9cmt",
vorbis: "COMMENT",
ape: "Comment",
riff: "ICMT"
},
TrackNumber: {
id3v2: "TRCK",
mp4: "trkn",
vorbis: "TRACKNUMBER",
ape: "Track",
riff: "ITRK"
}
};
export {
FormatMappings
};