How to add SYLT tags to a mp3 file?

Viewed 12

I want to add synchronized lyrics to songs in mp3 format. I am using the mutagen module for doing so. While i can add unsynchronized lyrics without any problem, I can't seem to get SYLT working. Here is the code

aud = ID3("C:\\Music\\Ghost.mp3")
aud.add(SYLT(encoding=Encoding.UTF8, format=2, type=1, text=sl))
aud.save()

Where "sl" is a list of the format as shown below

sl = [("lyric", millisecond), ("lyric", millisecond), ("lyric", millisecond)]

Can anyone please guide me with this problem? I would be extremely grateful if somebody can lead me in the right direction. Your explanation need not be in python. Please feel free to explain in any language you are comfortable with. Thank you in advance.

PS: Sorry for bad english. It isn't my native.

0 Answers
Related