这是一个相当简单的方法:到目前为止,iOS应用程序可以深层链接还是以任何方式启动亚马逊音乐来播放特定歌曲/加载艺术家或专辑?有多少可以做到这一点?
如果你真的很慷慨,你能描述如何找到与AM,Facebook,Twitter和Spotify等第三方应用程序深层链接的URL吗?
答案 0 :(得分:1)
所以我打开了亚马逊音乐" .ipa文件(它基本上只是一个可以解压缩的.zip
文件)并且在应用程序的Info.plist
文件中,我看到应用程序回答的URL方案:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.amazon.mp3</string>
<key>CFBundleURLSchemes</key>
<array>
<string>amznmp3</string>
</array>
</dict>
</array>
不幸的是,这不是一个公共计划。也就是说,没有可用的文档可以用Google搜索(or I would have expected to have found it on a page like this)。
这意味着您可能需要进行额外的研究,以确定与该方案一起传递的参数类型。例如,on this page我看到&#34; fb164734381262
&#34;的潜在参数。也许它是一个mp3文件标识符?
答案 1 :(得分:1)
My application is a little different, but may be helpful. I am using the Workflow app to automate several things. I can interact with the Amazon Music app through the URL below. https://music.amazon.com/playlists/B0797C4SN9?do=play When the URL is opened in Workflow, it causes the Amazon Music app to open. A specific playlist is opened, then it starts playing. You can create others by opening the app, sharing the playlist to notes. Deleting all of the information after the ? from the URL. Then add do=play to the end of the URL. I think this would apply to songs and albums as well. I would really like to know how to get the shuffle playlist from URL, so if somebody figures that out, let me know.
答案 2 :(得分:1)
@ Kyle365的答案也适用于iOS快捷方式,它能够通过复制播放列表的网址(共享>复制)来播放私人和公共播放列表,并将网址更改为最后包含?do = play。我创建了一个快捷方式,可以打开该URL,并且“快捷方式”将该URL识别为Amazon Music URL,并直接在Amazon Music应用中将其打开并开始播放。 网址示例: https://music.amazon.com/user-playlists/somePlaylistId?do=play