Closed xhocquet closed 8 years ago
Would be great if we could write a test with a SYLT
frame.
Could you guide me on how to supply that tag specifically for id3v2
? I don't see other examples of file-specific tags being added, and removing that line 50
stops parsing lyrics from valid files.
Do you have an .mp3
file with a SLYT
frame?
Yes. With the added line in index.js I'm able to see the lyrics using example.html. however when I remove that line it is no longer added to the results in either index.html or the tests.
Updated to what should be working, except lyrics aren't being added once I remove the line from index.js
.
Added SYLT
frame parsing. See https://github.com/leetreveil/musicmetadata/blob/1972aa3ccf0cec29f1f44528700a046fa8fc4c46/test/test-id3v2-lyrics.js for usage
I'm not too familiar with how frames and stuff work for music files, but this at least lets me pull out the text which I can modify to my liking afterwards.
Should be a lot easier to flesh out if you've already worked on this stuff!
I'm also developing Node on Windows, so the dist may want to be recompiled on the source machine.