开发者

Writing metadata to AVURLAsset?

开发者 https://www.devze.com 2023-03-26 20:15 出处:网络
I\'m currently writing an app that uses an AVMediaP开发者_C百科layer to play AVURLAsset representations of downloaded mp3 files. The GUI is heavily based on the files\' metadata as opposed to their fi

I'm currently writing an app that uses an AVMediaP开发者_C百科layer to play AVURLAsset representations of downloaded mp3 files. The GUI is heavily based on the files' metadata as opposed to their file names. I don't have a problem accessing preexisting metadata information (for that I just use the metadataForFormat: method of AVURLAsset), but I'd like to write new metadata to untagged/incorrectly tagged files. Any help would be greatly appreciated. Thanks!


Have you had a look at the AVMetaDataItem class? According to the documentation, this is used to set Metadata for AVAssets.

0

精彩评论

暂无评论...
验证码 换一张
取 消