Friday 15 March 2013

Certain Soundcloud stream_urls are not being resolved -


I have tested the following request on the browser and mobile, and I am unable to stream: https: / / Api.soundcloud.com / tracks / 173752179 / stream? Client_id = XXX

Is not it normal for top songs? Are some songs naturally buggy? The song is currently at the top of Soundcloud's popular music section (Skrillex and Diplo), if this is the case I want to add the Soundcloud API to my app, but if I have such common problems, then I stagger. Any suggestions are appreciated!

Some artists have chosen to play their tracks solely via the official soundcloud site. Unfortunately for the API users, the only way you can tell if a track is unexpected is to try to resolve the stream URL to see if you get 404 or 302 (the redirect on the audio file).

  $ curl -i https://api.soundcloud.com/tracks/173752179/stream\?client_id\=YOUR_CLIENT_ID HTTP / 1.1 404 not found  
< / Div>

No comments:

Post a Comment