Spotify 的“抱歉,我找不到这个应用程序”
正如 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
看来您没有申请成为 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.
我刚刚制作了一个视频来解释如何解决这个问题。
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.
还有一些事情要记住!我试图创建名称中带有下划线的应用程序,但由于某种原因它阻塞了应用程序。一旦我删除了下划线并将其保留为字母,它就工作得很好。 耸耸肩
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
因此,根据您自己发布的文档,您需要以 Spotify 当前的形式将您的文件夹命名为 appstore。
So according to the docs you posted yourself, you need, in spotifys current form, to name your folder appstore.
我的错误是,在“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.