taglib-wasm 1.0.7 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.js +318 -46
- package/dist/index.d.ts +1 -1
- package/dist/simple.browser.js +298 -25
- package/dist/src/constants/additional-properties.d.ts +242 -0
- package/dist/src/constants/additional-properties.d.ts.map +1 -0
- package/dist/src/constants/additional-properties.js +204 -0
- package/dist/src/constants/general-extended-properties.d.ts +7 -3
- package/dist/src/constants/general-extended-properties.d.ts.map +1 -1
- package/dist/src/constants/general-extended-properties.js +5 -3
- package/dist/src/constants/properties.d.ts +239 -3
- package/dist/src/constants/properties.d.ts.map +1 -1
- package/dist/src/constants/properties.js +3 -1
- package/dist/src/constants/tags.d.ts +20 -21
- package/dist/src/constants/tags.d.ts.map +1 -1
- package/dist/src/constants/tags.js +20 -21
- package/dist/src/deno-compile.js +1 -1
- package/dist/src/runtime/module-loader.d.ts.map +1 -1
- package/dist/src/runtime/module-loader.js +2 -3
- package/dist/src/runtime/unified-loader/module-loading.js +5 -19
- package/dist/src/runtime/unified-loader/module-selection.d.ts.map +1 -1
- package/dist/src/runtime/unified-loader/module-selection.js +0 -1
- package/dist/src/runtime/unified-loader/types.d.ts +1 -3
- package/dist/src/runtime/unified-loader/types.d.ts.map +1 -1
- package/dist/src/runtime/wasi-adapter/adapter.d.ts +1 -1
- package/dist/src/runtime/wasi-adapter/adapter.js +1 -1
- package/dist/src/runtime/wasi-adapter/file-handle.d.ts +3 -2
- package/dist/src/runtime/wasi-adapter/file-handle.d.ts.map +1 -1
- package/dist/src/runtime/wasi-adapter/file-handle.js +27 -11
- package/dist/src/runtime/wasi-adapter/wasm-io.d.ts +3 -1
- package/dist/src/runtime/wasi-adapter/wasm-io.d.ts.map +1 -1
- package/dist/src/runtime/wasi-adapter/wasm-io.js +66 -1
- package/dist/src/runtime/wasi-host-loader.d.ts +1 -1
- package/dist/src/runtime/wasi-host-loader.js +1 -1
- package/dist/src/runtime/wasmer-sdk-loader/types.d.ts +1 -24
- package/dist/src/runtime/wasmer-sdk-loader/types.d.ts.map +1 -1
- package/dist/src/runtime/wasmer-sdk-loader/types.js +1 -19
- package/dist/src/simple/tag-operations.d.ts.map +1 -1
- package/dist/src/simple/tag-operations.js +8 -4
- package/dist/src/simple/with-audio-file.d.ts +3 -2
- package/dist/src/simple/with-audio-file.d.ts.map +1 -1
- package/dist/src/simple/with-audio-file.js +11 -4
- package/dist/src/taglib/audio-file-impl.d.ts +1 -0
- package/dist/src/taglib/audio-file-impl.d.ts.map +1 -1
- package/dist/src/taglib/audio-file-impl.js +37 -6
- package/dist/src/taglib/taglib-class.d.ts.map +1 -1
- package/dist/src/taglib/taglib-class.js +34 -7
- package/dist/src/types/config.d.ts +1 -1
- package/dist/src/types/metadata-mappings.d.ts.map +1 -1
- package/dist/src/types/metadata-mappings.js +20 -1
- package/dist/src/types/tags.d.ts +24 -0
- package/dist/src/types/tags.d.ts.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/wasm.d.ts +3 -0
- package/dist/src/wasm.d.ts.map +1 -1
- package/dist/taglib-web.wasm +0 -0
- package/dist/taglib-wrapper.js +1 -1
- package/dist/taglib_wasi.wasm +0 -0
- package/package.json +2 -2
- package/dist/src/runtime/wasmer-sdk-loader/high-level-api.d.ts +0 -10
- package/dist/src/runtime/wasmer-sdk-loader/high-level-api.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/high-level-api.js +0 -83
- package/dist/src/runtime/wasmer-sdk-loader/index.d.ts +0 -6
- package/dist/src/runtime/wasmer-sdk-loader/index.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/index.js +0 -17
- package/dist/src/runtime/wasmer-sdk-loader/initialization.d.ts +0 -16
- package/dist/src/runtime/wasmer-sdk-loader/initialization.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/initialization.js +0 -55
- package/dist/src/runtime/wasmer-sdk-loader/loader.d.ts +0 -9
- package/dist/src/runtime/wasmer-sdk-loader/loader.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/loader.js +0 -47
- package/dist/src/runtime/wasmer-sdk-loader/module-creation.d.ts +0 -9
- package/dist/src/runtime/wasmer-sdk-loader/module-creation.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/module-creation.js +0 -71
- package/dist/src/runtime/wasmer-sdk-loader/wasi-stubs.d.ts +0 -16
- package/dist/src/runtime/wasmer-sdk-loader/wasi-stubs.d.ts.map +0 -1
- package/dist/src/runtime/wasmer-sdk-loader/wasi-stubs.js +0 -64
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
const ADDITIONAL_PROPERTIES = {
|
|
2
|
+
albumArtistSort: {
|
|
3
|
+
key: "ALBUMARTISTSORT",
|
|
4
|
+
description: "Sort name for album artist (for alphabetization)",
|
|
5
|
+
type: "string",
|
|
6
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
7
|
+
mappings: {
|
|
8
|
+
id3v2: { frame: "TSO2" },
|
|
9
|
+
vorbis: "ALBUMARTISTSORT",
|
|
10
|
+
mp4: "soaa"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
composerSort: {
|
|
14
|
+
key: "COMPOSERSORT",
|
|
15
|
+
description: "Sort name for composer (for alphabetization)",
|
|
16
|
+
type: "string",
|
|
17
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
18
|
+
mappings: {
|
|
19
|
+
id3v2: { frame: "TSOC" },
|
|
20
|
+
vorbis: "COMPOSERSORT",
|
|
21
|
+
mp4: "soco"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
subtitle: {
|
|
25
|
+
key: "SUBTITLE",
|
|
26
|
+
description: "Subtitle or description refinement",
|
|
27
|
+
type: "string",
|
|
28
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
29
|
+
mappings: {
|
|
30
|
+
id3v2: { frame: "TIT3" },
|
|
31
|
+
vorbis: "SUBTITLE",
|
|
32
|
+
mp4: "----:com.apple.iTunes:SUBTITLE"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
label: {
|
|
36
|
+
key: "LABEL",
|
|
37
|
+
description: "Record label name",
|
|
38
|
+
type: "string",
|
|
39
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis", "WAV"],
|
|
40
|
+
mappings: {
|
|
41
|
+
id3v2: { frame: "TPUB" },
|
|
42
|
+
vorbis: "LABEL",
|
|
43
|
+
mp4: "----:com.apple.iTunes:LABEL",
|
|
44
|
+
wav: "IPUB"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
producer: {
|
|
48
|
+
key: "PRODUCER",
|
|
49
|
+
description: "Producer of the recording",
|
|
50
|
+
type: "string",
|
|
51
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
52
|
+
mappings: {
|
|
53
|
+
id3v2: { frame: "TXXX", description: "PRODUCER" },
|
|
54
|
+
vorbis: "PRODUCER",
|
|
55
|
+
mp4: "----:com.apple.iTunes:PRODUCER"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
radioStationOwner: {
|
|
59
|
+
key: "RADIOSTATIONOWNER",
|
|
60
|
+
description: "Owner of the radio station",
|
|
61
|
+
type: "string",
|
|
62
|
+
supportedFormats: ["ID3v2"],
|
|
63
|
+
mappings: {
|
|
64
|
+
id3v2: { frame: "TRSO" }
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
asin: {
|
|
68
|
+
key: "ASIN",
|
|
69
|
+
description: "Amazon Standard Identification Number",
|
|
70
|
+
type: "string",
|
|
71
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
72
|
+
mappings: {
|
|
73
|
+
id3v2: { frame: "TXXX", description: "ASIN" },
|
|
74
|
+
vorbis: "ASIN",
|
|
75
|
+
mp4: "----:com.apple.iTunes:ASIN"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
musicbrainzReleaseArtistId: {
|
|
79
|
+
key: "MUSICBRAINZ_ALBUMARTISTID",
|
|
80
|
+
description: "MusicBrainz Release Artist ID (UUID)",
|
|
81
|
+
type: "string",
|
|
82
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
83
|
+
mappings: {
|
|
84
|
+
id3v2: {
|
|
85
|
+
frame: "TXXX",
|
|
86
|
+
description: "MusicBrainz Album Artist Id"
|
|
87
|
+
},
|
|
88
|
+
vorbis: "MUSICBRAINZ_ALBUMARTISTID",
|
|
89
|
+
mp4: "----:com.apple.iTunes:MusicBrainz Album Artist Id"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
musicbrainzWorkId: {
|
|
93
|
+
key: "MUSICBRAINZ_WORKID",
|
|
94
|
+
description: "MusicBrainz Work ID (UUID)",
|
|
95
|
+
type: "string",
|
|
96
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
97
|
+
mappings: {
|
|
98
|
+
id3v2: { frame: "TXXX", description: "MusicBrainz Work Id" },
|
|
99
|
+
vorbis: "MUSICBRAINZ_WORKID",
|
|
100
|
+
mp4: "----:com.apple.iTunes:MusicBrainz Work Id"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
musicbrainzReleaseTrackId: {
|
|
104
|
+
key: "MUSICBRAINZ_RELEASETRACKID",
|
|
105
|
+
description: "MusicBrainz Release Track ID (UUID)",
|
|
106
|
+
type: "string",
|
|
107
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
108
|
+
mappings: {
|
|
109
|
+
id3v2: {
|
|
110
|
+
frame: "TXXX",
|
|
111
|
+
description: "MusicBrainz Release Track Id"
|
|
112
|
+
},
|
|
113
|
+
vorbis: "MUSICBRAINZ_RELEASETRACKID",
|
|
114
|
+
mp4: "----:com.apple.iTunes:MusicBrainz Release Track Id"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
podcastId: {
|
|
118
|
+
key: "PODCASTID",
|
|
119
|
+
description: "Podcast episode identifier",
|
|
120
|
+
type: "string",
|
|
121
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
122
|
+
mappings: {
|
|
123
|
+
id3v2: { frame: "TGID" },
|
|
124
|
+
vorbis: "PODCASTID",
|
|
125
|
+
mp4: "egid"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
podcastUrl: {
|
|
129
|
+
key: "PODCASTURL",
|
|
130
|
+
description: "Podcast feed URL",
|
|
131
|
+
type: "string",
|
|
132
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
133
|
+
mappings: {
|
|
134
|
+
id3v2: { frame: "WFED" },
|
|
135
|
+
vorbis: "PODCASTURL",
|
|
136
|
+
mp4: "purl"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
originalArtist: {
|
|
140
|
+
key: "ORIGINALARTIST",
|
|
141
|
+
description: "Original artist of a cover or remix",
|
|
142
|
+
type: "string",
|
|
143
|
+
supportedFormats: ["ID3v2", "Vorbis"],
|
|
144
|
+
mappings: {
|
|
145
|
+
id3v2: { frame: "TOPE" },
|
|
146
|
+
vorbis: "ORIGINALARTIST"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
originalAlbum: {
|
|
150
|
+
key: "ORIGINALALBUM",
|
|
151
|
+
description: "Original album of a cover or remix",
|
|
152
|
+
type: "string",
|
|
153
|
+
supportedFormats: ["ID3v2", "Vorbis"],
|
|
154
|
+
mappings: {
|
|
155
|
+
id3v2: { frame: "TOAL" },
|
|
156
|
+
vorbis: "ORIGINALALBUM"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
originalDate: {
|
|
160
|
+
key: "ORIGINALDATE",
|
|
161
|
+
description: "Original release date",
|
|
162
|
+
type: "string",
|
|
163
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
164
|
+
mappings: {
|
|
165
|
+
id3v2: { frame: "TDOR" },
|
|
166
|
+
vorbis: "ORIGINALDATE",
|
|
167
|
+
mp4: "----:com.apple.iTunes:ORIGINALDATE"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
script: {
|
|
171
|
+
key: "SCRIPT",
|
|
172
|
+
description: "Writing script used for text (e.g., Latn, Jpan)",
|
|
173
|
+
type: "string",
|
|
174
|
+
supportedFormats: ["MP4", "Vorbis"],
|
|
175
|
+
mappings: {
|
|
176
|
+
vorbis: "SCRIPT",
|
|
177
|
+
mp4: "----:com.apple.iTunes:SCRIPT"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
involvedPeople: {
|
|
181
|
+
key: "INVOLVEDPEOPLE",
|
|
182
|
+
description: "List of involved people and their roles",
|
|
183
|
+
type: "string",
|
|
184
|
+
supportedFormats: ["ID3v2"],
|
|
185
|
+
mappings: {
|
|
186
|
+
id3v2: { frame: "TIPL" }
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
encoding: {
|
|
190
|
+
key: "ENCODING",
|
|
191
|
+
description: "Encoding software or settings",
|
|
192
|
+
type: "string",
|
|
193
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis", "WAV"],
|
|
194
|
+
mappings: {
|
|
195
|
+
id3v2: { frame: "TSSE" },
|
|
196
|
+
vorbis: "ENCODING",
|
|
197
|
+
mp4: "\xA9too",
|
|
198
|
+
wav: "ISFT"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
export {
|
|
203
|
+
ADDITIONAL_PROPERTIES
|
|
204
|
+
};
|
|
@@ -170,12 +170,16 @@ export declare const GENERAL_EXTENDED_PROPERTIES: {
|
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
172
|
readonly remixedBy: {
|
|
173
|
-
readonly key: "
|
|
173
|
+
readonly key: "REMIXER";
|
|
174
174
|
readonly description: "Person who remixed the track";
|
|
175
175
|
readonly type: "string";
|
|
176
|
-
readonly supportedFormats: readonly ["Vorbis"];
|
|
176
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
177
177
|
readonly mappings: {
|
|
178
|
-
readonly
|
|
178
|
+
readonly id3v2: {
|
|
179
|
+
readonly frame: "TPE4";
|
|
180
|
+
};
|
|
181
|
+
readonly vorbis: "REMIXER";
|
|
182
|
+
readonly mp4: "----:com.apple.iTunes:REMIXER";
|
|
179
183
|
};
|
|
180
184
|
};
|
|
181
185
|
readonly language: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general-extended-properties.d.ts","sourceRoot":"","sources":["../../../src/constants/general-extended-properties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"general-extended-properties.d.ts","sourceRoot":"","sources":["../../../src/constants/general-extended-properties.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4P9B,CAAC"}
|
|
@@ -148,12 +148,14 @@ const GENERAL_EXTENDED_PROPERTIES = {
|
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
remixedBy: {
|
|
151
|
-
key: "
|
|
151
|
+
key: "REMIXER",
|
|
152
152
|
description: "Person who remixed the track",
|
|
153
153
|
type: "string",
|
|
154
|
-
supportedFormats: ["Vorbis"],
|
|
154
|
+
supportedFormats: ["ID3v2", "MP4", "Vorbis"],
|
|
155
155
|
mappings: {
|
|
156
|
-
|
|
156
|
+
id3v2: { frame: "TPE4" },
|
|
157
|
+
vorbis: "REMIXER",
|
|
158
|
+
mp4: "----:com.apple.iTunes:REMIXER"
|
|
157
159
|
}
|
|
158
160
|
},
|
|
159
161
|
language: {
|
|
@@ -9,6 +9,238 @@
|
|
|
9
9
|
* Use `toTagLibKey()` / `fromTagLibKey()` to translate between the two vocabularies.
|
|
10
10
|
*/
|
|
11
11
|
export declare const PROPERTIES: {
|
|
12
|
+
readonly albumArtistSort: {
|
|
13
|
+
readonly key: "ALBUMARTISTSORT";
|
|
14
|
+
readonly description: "Sort name for album artist (for alphabetization)";
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
17
|
+
readonly mappings: {
|
|
18
|
+
readonly id3v2: {
|
|
19
|
+
readonly frame: "TSO2";
|
|
20
|
+
};
|
|
21
|
+
readonly vorbis: "ALBUMARTISTSORT";
|
|
22
|
+
readonly mp4: "soaa";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly composerSort: {
|
|
26
|
+
readonly key: "COMPOSERSORT";
|
|
27
|
+
readonly description: "Sort name for composer (for alphabetization)";
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
30
|
+
readonly mappings: {
|
|
31
|
+
readonly id3v2: {
|
|
32
|
+
readonly frame: "TSOC";
|
|
33
|
+
};
|
|
34
|
+
readonly vorbis: "COMPOSERSORT";
|
|
35
|
+
readonly mp4: "soco";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly subtitle: {
|
|
39
|
+
readonly key: "SUBTITLE";
|
|
40
|
+
readonly description: "Subtitle or description refinement";
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
43
|
+
readonly mappings: {
|
|
44
|
+
readonly id3v2: {
|
|
45
|
+
readonly frame: "TIT3";
|
|
46
|
+
};
|
|
47
|
+
readonly vorbis: "SUBTITLE";
|
|
48
|
+
readonly mp4: "----:com.apple.iTunes:SUBTITLE";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly label: {
|
|
52
|
+
readonly key: "LABEL";
|
|
53
|
+
readonly description: "Record label name";
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis", "WAV"];
|
|
56
|
+
readonly mappings: {
|
|
57
|
+
readonly id3v2: {
|
|
58
|
+
readonly frame: "TPUB";
|
|
59
|
+
};
|
|
60
|
+
readonly vorbis: "LABEL";
|
|
61
|
+
readonly mp4: "----:com.apple.iTunes:LABEL";
|
|
62
|
+
readonly wav: "IPUB";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly producer: {
|
|
66
|
+
readonly key: "PRODUCER";
|
|
67
|
+
readonly description: "Producer of the recording";
|
|
68
|
+
readonly type: "string";
|
|
69
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
70
|
+
readonly mappings: {
|
|
71
|
+
readonly id3v2: {
|
|
72
|
+
readonly frame: "TXXX";
|
|
73
|
+
readonly description: "PRODUCER";
|
|
74
|
+
};
|
|
75
|
+
readonly vorbis: "PRODUCER";
|
|
76
|
+
readonly mp4: "----:com.apple.iTunes:PRODUCER";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly radioStationOwner: {
|
|
80
|
+
readonly key: "RADIOSTATIONOWNER";
|
|
81
|
+
readonly description: "Owner of the radio station";
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
readonly supportedFormats: readonly ["ID3v2"];
|
|
84
|
+
readonly mappings: {
|
|
85
|
+
readonly id3v2: {
|
|
86
|
+
readonly frame: "TRSO";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
readonly asin: {
|
|
91
|
+
readonly key: "ASIN";
|
|
92
|
+
readonly description: "Amazon Standard Identification Number";
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
95
|
+
readonly mappings: {
|
|
96
|
+
readonly id3v2: {
|
|
97
|
+
readonly frame: "TXXX";
|
|
98
|
+
readonly description: "ASIN";
|
|
99
|
+
};
|
|
100
|
+
readonly vorbis: "ASIN";
|
|
101
|
+
readonly mp4: "----:com.apple.iTunes:ASIN";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
readonly musicbrainzReleaseArtistId: {
|
|
105
|
+
readonly key: "MUSICBRAINZ_ALBUMARTISTID";
|
|
106
|
+
readonly description: "MusicBrainz Release Artist ID (UUID)";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
109
|
+
readonly mappings: {
|
|
110
|
+
readonly id3v2: {
|
|
111
|
+
readonly frame: "TXXX";
|
|
112
|
+
readonly description: "MusicBrainz Album Artist Id";
|
|
113
|
+
};
|
|
114
|
+
readonly vorbis: "MUSICBRAINZ_ALBUMARTISTID";
|
|
115
|
+
readonly mp4: "----:com.apple.iTunes:MusicBrainz Album Artist Id";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
readonly musicbrainzWorkId: {
|
|
119
|
+
readonly key: "MUSICBRAINZ_WORKID";
|
|
120
|
+
readonly description: "MusicBrainz Work ID (UUID)";
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
123
|
+
readonly mappings: {
|
|
124
|
+
readonly id3v2: {
|
|
125
|
+
readonly frame: "TXXX";
|
|
126
|
+
readonly description: "MusicBrainz Work Id";
|
|
127
|
+
};
|
|
128
|
+
readonly vorbis: "MUSICBRAINZ_WORKID";
|
|
129
|
+
readonly mp4: "----:com.apple.iTunes:MusicBrainz Work Id";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly musicbrainzReleaseTrackId: {
|
|
133
|
+
readonly key: "MUSICBRAINZ_RELEASETRACKID";
|
|
134
|
+
readonly description: "MusicBrainz Release Track ID (UUID)";
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
137
|
+
readonly mappings: {
|
|
138
|
+
readonly id3v2: {
|
|
139
|
+
readonly frame: "TXXX";
|
|
140
|
+
readonly description: "MusicBrainz Release Track Id";
|
|
141
|
+
};
|
|
142
|
+
readonly vorbis: "MUSICBRAINZ_RELEASETRACKID";
|
|
143
|
+
readonly mp4: "----:com.apple.iTunes:MusicBrainz Release Track Id";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
readonly podcastId: {
|
|
147
|
+
readonly key: "PODCASTID";
|
|
148
|
+
readonly description: "Podcast episode identifier";
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
151
|
+
readonly mappings: {
|
|
152
|
+
readonly id3v2: {
|
|
153
|
+
readonly frame: "TGID";
|
|
154
|
+
};
|
|
155
|
+
readonly vorbis: "PODCASTID";
|
|
156
|
+
readonly mp4: "egid";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly podcastUrl: {
|
|
160
|
+
readonly key: "PODCASTURL";
|
|
161
|
+
readonly description: "Podcast feed URL";
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
164
|
+
readonly mappings: {
|
|
165
|
+
readonly id3v2: {
|
|
166
|
+
readonly frame: "WFED";
|
|
167
|
+
};
|
|
168
|
+
readonly vorbis: "PODCASTURL";
|
|
169
|
+
readonly mp4: "purl";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
readonly originalArtist: {
|
|
173
|
+
readonly key: "ORIGINALARTIST";
|
|
174
|
+
readonly description: "Original artist of a cover or remix";
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly supportedFormats: readonly ["ID3v2", "Vorbis"];
|
|
177
|
+
readonly mappings: {
|
|
178
|
+
readonly id3v2: {
|
|
179
|
+
readonly frame: "TOPE";
|
|
180
|
+
};
|
|
181
|
+
readonly vorbis: "ORIGINALARTIST";
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
readonly originalAlbum: {
|
|
185
|
+
readonly key: "ORIGINALALBUM";
|
|
186
|
+
readonly description: "Original album of a cover or remix";
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly supportedFormats: readonly ["ID3v2", "Vorbis"];
|
|
189
|
+
readonly mappings: {
|
|
190
|
+
readonly id3v2: {
|
|
191
|
+
readonly frame: "TOAL";
|
|
192
|
+
};
|
|
193
|
+
readonly vorbis: "ORIGINALALBUM";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
readonly originalDate: {
|
|
197
|
+
readonly key: "ORIGINALDATE";
|
|
198
|
+
readonly description: "Original release date";
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
201
|
+
readonly mappings: {
|
|
202
|
+
readonly id3v2: {
|
|
203
|
+
readonly frame: "TDOR";
|
|
204
|
+
};
|
|
205
|
+
readonly vorbis: "ORIGINALDATE";
|
|
206
|
+
readonly mp4: "----:com.apple.iTunes:ORIGINALDATE";
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
readonly script: {
|
|
210
|
+
readonly key: "SCRIPT";
|
|
211
|
+
readonly description: "Writing script used for text (e.g., Latn, Jpan)";
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly supportedFormats: readonly ["MP4", "Vorbis"];
|
|
214
|
+
readonly mappings: {
|
|
215
|
+
readonly vorbis: "SCRIPT";
|
|
216
|
+
readonly mp4: "----:com.apple.iTunes:SCRIPT";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly involvedPeople: {
|
|
220
|
+
readonly key: "INVOLVEDPEOPLE";
|
|
221
|
+
readonly description: "List of involved people and their roles";
|
|
222
|
+
readonly type: "string";
|
|
223
|
+
readonly supportedFormats: readonly ["ID3v2"];
|
|
224
|
+
readonly mappings: {
|
|
225
|
+
readonly id3v2: {
|
|
226
|
+
readonly frame: "TIPL";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
readonly encoding: {
|
|
231
|
+
readonly key: "ENCODING";
|
|
232
|
+
readonly description: "Encoding software or settings";
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis", "WAV"];
|
|
235
|
+
readonly mappings: {
|
|
236
|
+
readonly id3v2: {
|
|
237
|
+
readonly frame: "TSSE";
|
|
238
|
+
};
|
|
239
|
+
readonly vorbis: "ENCODING";
|
|
240
|
+
readonly mp4: "©too";
|
|
241
|
+
readonly wav: "ISFT";
|
|
242
|
+
};
|
|
243
|
+
};
|
|
12
244
|
readonly musicbrainzArtistId: {
|
|
13
245
|
readonly key: "MUSICBRAINZ_ARTISTID";
|
|
14
246
|
readonly description: "MusicBrainz Artist ID (UUID)";
|
|
@@ -330,12 +562,16 @@ export declare const PROPERTIES: {
|
|
|
330
562
|
};
|
|
331
563
|
};
|
|
332
564
|
readonly remixedBy: {
|
|
333
|
-
readonly key: "
|
|
565
|
+
readonly key: "REMIXER";
|
|
334
566
|
readonly description: "Person who remixed the track";
|
|
335
567
|
readonly type: "string";
|
|
336
|
-
readonly supportedFormats: readonly ["Vorbis"];
|
|
568
|
+
readonly supportedFormats: readonly ["ID3v2", "MP4", "Vorbis"];
|
|
337
569
|
readonly mappings: {
|
|
338
|
-
readonly
|
|
570
|
+
readonly id3v2: {
|
|
571
|
+
readonly frame: "TPE4";
|
|
572
|
+
};
|
|
573
|
+
readonly vorbis: "REMIXER";
|
|
574
|
+
readonly mp4: "----:com.apple.iTunes:REMIXER";
|
|
339
575
|
};
|
|
340
576
|
};
|
|
341
577
|
readonly language: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../src/constants/properties.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../src/constants/properties.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAQH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKb,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,UAAU,CAAC;AAElD;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAC7C,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,QAAQ,GAAG,MAAM,GAClD,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,QAAQ,GAAG,MAAM,GACtD,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,SAAS,GAAG,OAAO,GACxD,MAAM,CAAC;AAmBb,mGAAmG;AACnG,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,mGAAmG;AACnG,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,qEAAqE;AACrE,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,GACrB,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAMnB;AAGD,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { ADDITIONAL_PROPERTIES } from "./additional-properties.js";
|
|
1
2
|
import { BASIC_PROPERTIES } from "./basic-properties.js";
|
|
2
3
|
import { GENERAL_EXTENDED_PROPERTIES } from "./general-extended-properties.js";
|
|
3
4
|
import { SPECIALIZED_PROPERTIES } from "./specialized-properties.js";
|
|
4
5
|
const PROPERTIES = {
|
|
5
6
|
...BASIC_PROPERTIES,
|
|
6
7
|
...GENERAL_EXTENDED_PROPERTIES,
|
|
7
|
-
...SPECIALIZED_PROPERTIES
|
|
8
|
+
...SPECIALIZED_PROPERTIES,
|
|
9
|
+
...ADDITIONAL_PROPERTIES
|
|
8
10
|
};
|
|
9
11
|
const _toTagLib = {};
|
|
10
12
|
const _fromTagLib = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Convenience constants for common property names.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* All values are camelCase PropertyKeys backed by PROPERTIES entries.
|
|
4
|
+
* Use toTagLibKey()/fromTagLibKey() to translate to/from TagLib wire names.
|
|
5
5
|
*/
|
|
6
6
|
export declare const Tags: {
|
|
7
7
|
readonly Title: "title";
|
|
@@ -27,31 +27,31 @@ export declare const Tags: {
|
|
|
27
27
|
readonly Publisher: "publisher";
|
|
28
28
|
readonly Mood: "mood";
|
|
29
29
|
readonly Media: "media";
|
|
30
|
-
readonly RadioStationOwner: "
|
|
31
|
-
readonly Producer: "
|
|
32
|
-
readonly Subtitle: "
|
|
33
|
-
readonly Label: "
|
|
30
|
+
readonly RadioStationOwner: "radioStationOwner";
|
|
31
|
+
readonly Producer: "producer";
|
|
32
|
+
readonly Subtitle: "subtitle";
|
|
33
|
+
readonly Label: "label";
|
|
34
34
|
readonly TitleSort: "titleSort";
|
|
35
35
|
readonly ArtistSort: "artistSort";
|
|
36
|
-
readonly AlbumArtistSort: "
|
|
36
|
+
readonly AlbumArtistSort: "albumArtistSort";
|
|
37
37
|
readonly AlbumSort: "albumSort";
|
|
38
|
-
readonly ComposerSort: "
|
|
38
|
+
readonly ComposerSort: "composerSort";
|
|
39
39
|
readonly Isrc: "isrc";
|
|
40
|
-
readonly Asin: "
|
|
40
|
+
readonly Asin: "asin";
|
|
41
41
|
readonly CatalogNumber: "catalogNumber";
|
|
42
42
|
readonly Barcode: "barcode";
|
|
43
43
|
readonly MusicBrainzArtistId: "musicbrainzArtistId";
|
|
44
|
-
readonly MusicBrainzReleaseArtistId: "
|
|
45
|
-
readonly MusicBrainzWorkId: "
|
|
44
|
+
readonly MusicBrainzReleaseArtistId: "musicbrainzReleaseArtistId";
|
|
45
|
+
readonly MusicBrainzWorkId: "musicbrainzWorkId";
|
|
46
46
|
readonly MusicBrainzReleaseId: "musicbrainzReleaseId";
|
|
47
47
|
readonly MusicBrainzRecordingId: "musicbrainzTrackId";
|
|
48
48
|
readonly MusicBrainzTrackId: "musicbrainzTrackId";
|
|
49
49
|
readonly MusicBrainzReleaseGroupId: "musicbrainzReleaseGroupId";
|
|
50
|
-
readonly MusicBrainzReleaseTrackId: "
|
|
50
|
+
readonly MusicBrainzReleaseTrackId: "musicbrainzReleaseTrackId";
|
|
51
51
|
readonly AcoustidFingerprint: "acoustidFingerprint";
|
|
52
52
|
readonly AcoustidId: "acoustidId";
|
|
53
|
-
readonly PodcastId: "
|
|
54
|
-
readonly PodcastUrl: "
|
|
53
|
+
readonly PodcastId: "podcastId";
|
|
54
|
+
readonly PodcastUrl: "podcastUrl";
|
|
55
55
|
readonly Grouping: "grouping";
|
|
56
56
|
readonly Work: "work";
|
|
57
57
|
readonly Lyrics: "lyrics";
|
|
@@ -59,13 +59,12 @@ export declare const Tags: {
|
|
|
59
59
|
readonly AlbumPeak: "replayGainAlbumPeak";
|
|
60
60
|
readonly TrackGain: "replayGainTrackGain";
|
|
61
61
|
readonly TrackPeak: "replayGainTrackPeak";
|
|
62
|
-
readonly OriginalArtist: "
|
|
63
|
-
readonly OriginalAlbum: "
|
|
64
|
-
readonly OriginalDate: "
|
|
65
|
-
readonly Script: "
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
68
|
-
readonly SourceMedia: "SOURCEMEDIA";
|
|
62
|
+
readonly OriginalArtist: "originalArtist";
|
|
63
|
+
readonly OriginalAlbum: "originalAlbum";
|
|
64
|
+
readonly OriginalDate: "originalDate";
|
|
65
|
+
readonly Script: "script";
|
|
66
|
+
readonly InvolvedPeople: "involvedPeople";
|
|
67
|
+
readonly Encoding: "encoding";
|
|
69
68
|
};
|
|
70
69
|
/**
|
|
71
70
|
* Type representing all valid tag property names.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/constants/tags.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/constants/tags.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFP,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,OAAO,IAAI,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAErD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,OAAO,CAE5D;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,SAAS,OAAO,EAAE,CAEnD"}
|