Spotify 용 맞춤형 라디오 앱을 개발하고 있지만 링크 방법을 이해할 수 없습니다. Spotify 개발자가 나를 도울 수 있기를 바랍니다. 예를 들어 :Spotify는 대체 트랙을 통해 트랙을 연결하는 방법은 무엇입니까?
나는 미국 계정을 가지고, 그래서 나는 스포티 파이 URI에 액세스하려고하면 스포티 파이 : 트랙 :
<track>
<id>b2ee21fccf6845e5a0d72a39bf7752b8</id>
<title>Tubthumping</title>
<artist-id>1d4211ecf9d04ffea26202e010042951</artist-id>
<artist>Chumbawamba</artist>
<album>Playlist: 90s Pop</album>
<album-id>da4ae29b497741bab15a97881ed1b70d</album-id>
<album-artist>Various Artists</album-artist>
<album-artist-id>19334eaffa3f4f2282e251e36611e26f</album-artist-id>
<year>2008</year>
<track-number>19</track-number>
<length>202706</length>
<files>
<file id="87cca4e0822573c3ee8a8a6a04c809b2db9935b6" format="Ogg Vorbis,320000,1,32,4" />
<file id="ac8d8ed1142988bc18df15ac1357990faf3f5afd" format="Ogg Vorbis,160000,1,32,4" />
<file id="c91d6743f49e49f703ce87cfcd5698eb81800a86" format="Ogg Vorbis,96000,1,32,4" />
<file id="94558701f427aff8d68f8149ac3e98e18365cc5f" format="MPEG 1 layer 3,320000,1,32,4" />
</files>
<cover>86bdd0faee722e65034207dd28ed5513f914ef44</cover>
<cover-small>145aaacf5ffb81e38e9e0be24ac9d993a6f31366</cover-small>
<cover-large>1cd206fb15d81dd3f6cde8dd59d89f94e1094104</cover-large>
<popularity>0.63630</popularity>
<restrictions>
<restriction forbidden="AF,AS,BM,CA,GL,GU,KG,MK,MM,MP,PM,PR,PS,UM,US,VA,VI" catalogues="free,daypass,premium"/>
</restrictions>
<external-ids>
<external-id type="isrc" id="DEA349700542" />
</external-ids>
</track>
: 5rDsAMjmB4Qa5WNciJPsfK
를 사용하면 XML에서 볼 수 있듯이이 URI는 금지되어 있습니다
미국에서는 허용되지 않으며 허용되는 대체 방법이 없습니다. 이 두 가지 방법
<track>
<id>59f872aa124941ba8facbd3e13cd4ab9</id>
<title>Tubthumping - Radio Edit</title>
<artist-id>1d4211ecf9d04ffea26202e010042951</artist-id>
<artist>Chumbawamba</artist>
<album>All-Star Sports Jams</album>
<album-id>eb030df86f954de1b92630611f497c19</album-id>
<album-artist>Various Artists</album-artist>
<album-artist-id>19334eaffa3f4f2282e251e36611e26f</album-artist-id>
<year>2008</year>
<track-number>8</track-number>
<length>212013</length>
<files>
<file id="099ec6f8bf800e4800d550a99fac75a4ceea2a0a" format="Ogg Vorbis,320000,1,32,4" />
<file id="25965023befa68849e724df3687634060e4679c6" format="Ogg Vorbis,160000,1,32,4" />
<file id="a61e885fe2d2e15e2fe56c0a5111ecac975792b7" format="Ogg Vorbis,96000,1,32,4" />
<file id="0914380378738d8ae4aeba6379ac45dbcd98bc51" format="MPEG 1 layer 3,320000,1,32,4" />
</files>
<cover>2344306830097471b90afe32584677c436c6dc33</cover>
<cover-small>7697a938417a0c585d15dfc5ddd672871e222e5b</cover-small>
<cover-large>517849070de1b127323c7b920a9b4bd321507135</cover-large>
<popularity>0.45674</popularity>
<restrictions>
<restriction allowed="CA,US" catalogues="free,daypass,premium"/>
</restrictions>
<external-ids>
<external-id type="isrc" id="USUR19700191" />
</external-ids>
</track>
: 스포티 파이 : 트랙 : 2JLRcAkPB8JZIIohZarVTr 트랙이 미국 계정에 금지되지 않기 때문에이 XML의에 따라 내가 재생할 수 있습니다 그러나, 스포티 파이 응용 프로그램에이 파일에 연결되어 서로 연결된 트랙? 그들은 같은 노래지만, 모든 속성이 다르다. 제목조차도 다르다. 첫 번째가 "라디오 편집"으로 표시되지 않는다는 것을 알 수있다. 나는 처음에는 ISRC에 의해 연결될 수 있다고 생각했지만 일치하는 것조차하지 않았습니다.
XML을 가져 오기 위해 어떤 API를 사용하고 있습니까? 우리가 제공하는 공개 API를 볼 수 없습니다. – iKenndac