soundcloud

Soundcloud API throttling.

偶尔善良 提交于 2019-12-01 06:13:05
I am currently experimenting with the SoundCloud API, and have noticed that my GET requests for the /tracks resource never return more than 200 results at one time. A few questions about this: Is this limit intentional? Is there a way to increase this limit? If not, what is the best way to work around this? is there an easy way to get some sort of continuation/pagination parameter, so that if more than 200 tracks match my query, I can issue a new query to get the next set of matches? Pagination from the API documentation. Try passing in limit and offset parameters. The max for limit is 200 and

Soundcloud API throttling.

半世苍凉 提交于 2019-12-01 05:31:17
问题 I am currently experimenting with the SoundCloud API, and have noticed that my GET requests for the /tracks resource never return more than 200 results at one time. A few questions about this: Is this limit intentional? Is there a way to increase this limit? If not, what is the best way to work around this? is there an easy way to get some sort of continuation/pagination parameter, so that if more than 200 tracks match my query, I can issue a new query to get the next set of matches? 回答1:

Soundcloud: The requested URL responded with HTTP code 0

て烟熏妆下的殇ゞ 提交于 2019-12-01 05:16:33
问题 I moved my code base from one server to another - no code change, the only difference being https. I modified my app in Soundcloud developers to be https://url , however I continuously receive this error: [20-Sep-2013 15:08:35 Europe/London] PHP Fatal error: Uncaught exception 'Services_Soundcloud_Invalid_Http_Response_Code_Exception' with message 'The requested URL responded with HTTP code 0.' in /system/soundcloud/Soundcloud.php:945 Stack trace: #0 /soundcloud/Soundcloud.php(298):

Soundcloud API - Pull Artist Name and Song Title Separately?

痞子三分冷 提交于 2019-11-30 23:29:32
Looking through the Soundcloud documentation - it doesn't appear that you can pull the artist name and the song name separately (or am I missing something?): http://developers.soundcloud.com/docs/api/reference#playlists ie: for song https://soundcloud.com/yaz-francis-1/pompeii-bastille Artist: Bastille Song: Pompeii Is it just combined in the tracktitle (title)? User is also not always the song artist name, but the username of the person who posted it to soundcloud. If not, is there anyway to pull Artist Name and Song separately? Any help would be greatly appreciated - thanks! Best, JP Well

Soundcloud API - Pull Artist Name and Song Title Separately?

隐身守侯 提交于 2019-11-30 18:11:11
问题 Looking through the Soundcloud documentation - it doesn't appear that you can pull the artist name and the song name separately (or am I missing something?): http://developers.soundcloud.com/docs/api/reference#playlists ie: for song https://soundcloud.com/yaz-francis-1/pompeii-bastille Artist: Bastille Song: Pompeii Is it just combined in the tracktitle (title)? User is also not always the song artist name, but the username of the person who posted it to soundcloud. If not, is there anyway to

SoundCloud Widget External Control iOS issue

倖福魔咒の 提交于 2019-11-30 16:34:53
I have found a bug using the external controls for the html5 widget on iOS, i have tested with iphone and ipad. The controls inside the widget work ok. However on my clients site http://www.bushytunes.net and the widget api playground http://w.soundcloud.com/player/api_playground.html the external controls run an error. Here is what the console from the widget playground prints: SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PAUSE {"loadedProgress":null,"currentPosition":0,"relativePosition":0} SC.Widget.Events.PLAY {"loadedProgress"

Javascript SDK connect() function not working in chrome

本小妞迷上赌 提交于 2019-11-30 15:52:55
Am attempting to model my code after the example here: http://connect.soundcloud.com/examples/connecting.html# It works in firefox, but not in chrome. In chrome, the soundcloud popup shows up correctly, and I can sign in (returning to sc-connect.html), but then the window won't close. Upon closer inspection, there's a javascript error because window.opener is null. I wonder if it has to do with localhost uri? The example at the link above works in both firefox and chrome. Any ideas? My code below: SC.initialize({client_id:'my_client_id', redirect_uri:'http://localhost:3000/sc-connect.html'});

Soundcloud embedded player on mobile

♀尐吖头ヾ 提交于 2019-11-30 13:57:31
问题 Here is how a SoundCloud embedded player on a HTML page looks like on mobile device: It's rather annoying, because the user has to click "Listen in browser", and then, often, it doesn't start like it should, and so the user has to click "Pause" button and "Play" again. How to have the normal look, even on mobile devices? : Here is example of embedding code: <iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com

Origin null is not allowed by Access-Control-Allow-Origin

寵の児 提交于 2019-11-30 10:03:12
I'm currently working with the SoundCloud API and would like to have a track embed when a button is clicked. I get two errors: XMLHttpRequest cannot load http://soundcloud.com/oembed.json?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F48419073 . Origin null is not allowed by Access-Control-Allow-Origin. AND Uncaught TypeError: Cannot read property 'html' of null Here is my code: <button onclick="getPopular()">+1</button> <div id="track"></div> <script src="http://connect.soundcloud.com/sdk.js" type="text/JavaScript"></script> <script type="text/JavaScript"> SC.initialize({ client_id: "********

Soundcloud API authentication without a web browser

醉酒当歌 提交于 2019-11-30 09:05:23
I am working on a Soundcloud XBMC add-on. The add-on is open source, and written in Python. I would like to allow users to login to their SoundCloud account via the add-on, however it's possible to have XBMC instances running in an environment without access to a typical web browser (e.g. raspbmc , which provides no window manager or graphical browser by default). Is there a way to still allow users to authenticate with this add-on without requiring use of the 'SoundCloud Connect Screen' and without violating the SoundCloud API TOS? This is not provided in theirs API, but after some digging