[英]How can I set album art for a song in a Windows App (e.g. without tag-lib#)?
I had thought that my Windows App was finished and ready for release. 我以为我的Windows应用程序已经完成并准备好发布了。 However, during the certification process, ACK told me Tag-Lib# uses API that the Windows Store does not support.
但是,在认证过程中,ACK告诉我Tag-Lib#使用Windows Store不支持的API。 Now I need to find some other way that the Windows Store DOES support to be able to programmatically set the album art for songs.
现在我需要找到Windows Store支持的其他方式,以便能够以编程方式设置歌曲的专辑封面。 Any ideas?
有任何想法吗? (I would also be happy if anyone knew of a way to modify Tag-Lib# to comply with the Windows Store restrictions.)
(如果有人知道修改Tag-Lib#的方法以符合Windows Store限制,我也会很高兴。)
Use the Windows App Certification Kit to see which API's are called. 使用Windows应用认证工具包查看调用的API。 Then try to modify the Tag-Lib# source to not use those API's, or pick the relevant code and build your own library.
然后尝试修改Tag-Lib#源以不使用这些API,或者选择相关代码并构建自己的库。
Though I think, given it's used for reading and writing files, it relies on System.IO
which will require quite some rewriting to Windows.Storage
. 虽然我认为,鉴于它用于读写文件,它依赖于
System.IO
,这需要对Windows.Storage
进行相当多的重写。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.