Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding lyrics: System.NotImplementedException: The method or operation is not implemented. #47

Open
Black-Platypus opened this issue Oct 19, 2020 · 0 comments

Comments

@Black-Platypus
Copy link

trying to add lyrics:

Id3Tag tag = mp3.GetTag(Id3TagFamily.Version2X);
tag.Lyrics.Add("foo", "bar");
mp3.WriteTag(tag, WriteConflictAction.Replace);

throws:

System.NotImplementedException: The method or operation is not implemented.
at Id3.v2.Id3V23Handler.EncodeLyrics(Id3Frame id3Frame)
at Id3.v2.Id3V23Handler.GetTagBytes(Id3Tag tag)
at Id3.v2.Id3V23Handler.WriteTag(Stream stream, Id3Tag tag)
at Id3.Mp3.WriteTag(Id3Tag tag, WriteConflictAction conflictAction)

, as does

Id3Tag tag = mp3.GetTag(Id3TagFamily.Version2X);
Id3.Frames.LyricsFrame lf = new Id3.Frames.LyricsFrame("foo", "bar");
lf.Language = Id3Language.ger;
lf.EncodingType = Id3TextEncoding.Unicode;
tag.Lyrics.Add(lf);
mp3.WriteTag(tag, WriteConflictAction.Replace);

I thought maybe setting language and encoding type might help, but no luck.
Am I doing something wrong, or is there something actually not implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant