quodlibet / mutagen

Python module for handling audio metadata
https://mutagen.readthedocs.io
GNU General Public License v2.0
1.55k stars 158 forks source link

Add the lyrics on EasyID3 #95

Closed lazka closed 8 years ago

lazka commented 10 years ago

Originally reported by: Christoph Reiter (Bitbucket: lazka, GitHub: lazka)


From franck...@gmail.com on July 19, 2011 23:45:56

from mutagen.easyid3 import EasyID3
audio = EasyID3("example.mp3")
audio["lyrics"]["en"] = u"Some test\rBla bla"
audio.save()

Original issue: http://code.google.com/p/mutagen/issues/detail?id=95


lazka commented 10 years ago

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From joschu...@yahoo.de on October 07, 2013 10:01:06

What about allowing lyrics to be used like this:

    audio['unsyncedlyrics:eng'] = [u'blabla\n\nblabla']

or just (if you don't want to set the language):

    audio['unsyncedlyrics'] = [u'lalala\n\lalala']

In my opinion the EasyX should always provide the same interface. There should be no difference between FLAC, MP3 and others.
lazka commented 10 years ago

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


From joe.wreschnig@gmail.com on July 19, 2011 22:59:45

I'm not sure about this one - the point of EasyID3 is that everything is a key -> valuelist mapping, so you barely need to know anything about how ID3 works (except for a handful of required value formats, which only matters when writing).

If we're going to introduce heterogeneous values, is there any reason not to just use regular ID3?
lazka commented 8 years ago

What Joe said...

Maybe it can be exposed in #186