We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ca016 commit 1b96c16Copy full SHA for 1b96c16
src/scripts/metadata/flac.ts
@@ -59,9 +59,10 @@ function parseVorbisComment(dataView: DataView): Record<string, string> {
59
const comment = getString(dataView, offset, commentLength)
60
offset += commentLength
61
62
- const [key, value] = comment.split('=')
+ const ind = comment.indexOf('=')
63
+ const key = comment.substring(0, ind)
64
- comments[key] = value
65
+ comments[key] = comment.substring(ind + 1)
66
}
67
68
return comments
0 commit comments