简体   繁体   English

如何在Windows应用程序中为歌曲设置专辑封面(例如,没有tag-lib#)?

[英]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.

相关问题 如何在Windows Phone中获取父容器,例如PhoneApplicationPage? - How can I get the parent container, e.g. PhoneApplicationPage, in Windows Phone? 如何在不下载的情况下以编程方式判断网站上的二进制文件(例如图像)是否已更改? - How can I programmatically tell if a binary file on a website (e.g. image) has changed without downloading it? 我如何模拟鼠标输入? 例如设置MouseButtons State? - How can i emulate mouse input ? e.g. set MouseButtons State? 使用标签库C#在Mp3中嵌入专辑封面 - Embed Album Art in Mp3 using Tag Lib C# 如何在没有数据库连接的情况下使用 SQL 服务器类(例如 SqlCommand)来防止 SQL 注入? - How can I use SQL Server classes (e.g. SqlCommand) to prevent SQL injection WITHOUT database connection? 如何在用户的 AppData 文件夹中的 app 文件夹中创建一个文件夹,例如 C:\\User\\AppData? - How can I create a folder in the app folder in the user's AppData folder e.g. C:\User\AppData? 如何在运行时检查操作系统版本,例如在 Windows 或 Linux 上,而不使用条件编译语句 - How to check the OS version at runtime, e.g. on Windows or Linux, without using a conditional compilation statement Windows低吼,自定义订阅者-如何在代码中设置通知属性? 例如声音 - Growl for windows, custom subscriber - How to set notification properties in code? e.g. Sound 如何在 UWP 应用程序(C# 或 WinJS)中获取 Windows 10 版本(例如 1809、1903、1909...)? - How to get Windows 10 version (e.g. 1809, 1903, 1909, ...) in a UWP app (C# or WinJS)? 如何在不打开套接字的情况下访问Windows Phone 7特定的网络类型(例如EDGE,3G等)? - How to access Windows Phone 7 specific network type (e.g. EDGE, 3G, etc.) without opening a socket?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM