Spotify 的“抱歉,我找不到这个应用程序”

发布于 2024-12-19 08:13:12 字数 228 浏览 4 评论 0原文

正如 API 文档中一样,我创建了一个 ~/Spotify/myapp/index.html (在 Mac 上),但是当从搜索栏加载 spotify:app:myapp 时在 Spotify(支持应用程序的预览版)中,我收到一条“抱歉,我找不到此应用程序”消息。

我错过了什么(根据文档,这应该是“Hello World”的全部,对吧?有没有办法可以调试它以更好地理解问题?

As in the API documentation, I have created a ~/Spotify/myapp/index.html (on a Mac) but when loading spotify:app:myapp from the search bar in Spotify (preview version that supports apps) I get a "Sorry, I could not find this app" message.

What am I missing (this should be all for a "Hello World" according to the docs, right? Is there a way I can debug this to better understand the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

此岸叶落 2024-12-26 08:13:12

看来您没有申请成为 Spotify 的开发人员。您是否有一个名为“开发”的菜单项,并且能够在给定的应用程序内右键单击?

如果没有,您需要由 Spotify 激活开发者功能。您可以在他们的网站上执行此操作。您的帐户可能不会立即激活。

It sounds like you did not apply for being a developer at Spotify. Do you have a menu item called Develop and have the ability to right-click inside given apps?

If not, you need to have developer capabilities activated by Spotify. You can do so on their Site. Your account will probably not be activated instantly.

心不设防 2024-12-26 08:13:12

我刚刚制作了一个视频来解释如何解决这个问题。

http://www.youtube.com/watch?v=paqq3h1UJhU

基本上你需要前往 Spotify.app ->内容->资源-> cef_视图;然后把你的东西放进去。

I just made a video explaining how to solve this.

http://www.youtube.com/watch?v=paqq3h1UJhU

Basically you need to go to the Spotify.app -> Contents -> Resources -> cef_views ; and drop your stuff in there.

深爱成瘾 2024-12-26 08:13:12

还有一些事情要记住!我试图创建名称中带有下划线的应用程序,但由于某种原因它阻塞了应用程序。一旦我删除了下划线并将其保留为字母,它就工作得很好。 耸耸肩

Something else to keep in mind! I was trying to create my app with an underscore in the name, and for some reason it choked up the application. As soon as I removed the underscore and kept it to just letters, it worked fine. shrug

左岸枫 2024-12-26 08:13:12

因此,根据您自己发布的文档,您需要以 Spotify 当前的形式将您的文件夹命名为 appstore。

您的应用程序将在未来的版本中显示在侧边栏中 - 现在,请将您的应用程序的文件夹命名为“appstore”以使其显示在侧边栏中。请在清单中相应地命名您的应用程序,该名称将出现在侧栏中。

So according to the docs you posted yourself, you need, in spotifys current form, to name your folder appstore.

Your application will appear in the sidebar in future builds - for now, please name the folder of your application “appstore” to have it appear in the sidebar. Please name your application accordingly in the manifest, and that very name will appear in the sidebar.

风尘浪孓 2024-12-26 08:13:12

我的错误是,在“Spotify”文件夹中,您必须创建“Tutorial”文件夹,在我的情况下,所有文件都在 Spotify 上,而不是在 Tutorial 中。

What I got wrong is that insite "Spotify" folder you have to create "Tutorial" folder, in my case all the files were on Spotify and not in Tutorial.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文