-
Notifications
You must be signed in to change notification settings - Fork 48
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
Read/Write lyrics #101
Comments
Read file
lyricist can't see lyrics |
Hi @rastaman111, ID3TagEditor expect to receive as input the mp3 file as 'Data'. AVAsset is container type created by Apple to hide the complexity of managing different types of media assets. This means it has a proprietary in some way. My bet is that the problem could be:
I would suggest to try to write the id3 tag directly on the mp3 data (by accessing it with some AVAsset api). Fabrizio. |
I do it And after saving through ID3TagEditor And already AVAsset can't read it |
Hi
I am reading the metadata of a file
AVAsset has lyrics
After saving the metadata
let id3Tag = ID32v4TagBuilder()
.lyricist(frame: ID3FrameWithStringContent(content: asset.lyrics ?? ""))
.build()
try id3TagEditor.write(
tag: id3tag,
to: videoURL.path,
andSaveTo: destinationURL2?.path)
The following happens
Lyrics are removed from AVAsset and written to the metadata under the id3/TEXT key
How can I leave lyrics in AVAsset?
The text was updated successfully, but these errors were encountered: