Fix bug loading flac workflow when it contains = character.

This commit is contained in:
comfyanonymous 2024-08-02 13:14:28 -04:00
parent bfb52de866
commit 17bbd83176
1 changed files with 3 additions and 2 deletions

View File

@ -190,9 +190,10 @@ function parseVorbisComment(dataView) {
const comment = getString(dataView, offset, commentLength);
offset += commentLength;
const [key, value] = comment.split('=');
const ind = comment.indexOf('=')
const key = comment.substring(0, ind);
comments[key] = value;
comments[key] = comment.substring(ind+1);
}
return comments;