soundcloud

Unable to upload a track using the soundcloud API larger than 7MB

旧街凉风 提交于 2019-12-06 11:15:32
问题 I am unable to upload any tracks larger than about 7MB (413 Request Entity Too Large is returned). This functionality was previously working and the soundcloud api states that tracks can be upto 500MB. Here is an example using curl with a successful upload(4.9MB) and an unsuccessful one(7.4MB) I have provided dropbox links to the tracks(my own production, so no copyright issues!!!) if anyone wants to try to replicate. You will need to add your oauth_token. successful upload = 4900kb_307sec

Get list of related tracks HTTP API SoundCloud

时光毁灭记忆、已成空白 提交于 2019-12-06 10:49:27
I wasn't able to find anything fitting in HTTP API documentation. As I know, there's some tracks popping out in SC widget after current track is finished, therefore there is some related tracks functionality in SC itself, yet can we access it via API? I.e get a list of tracks, related to given track's id. Disclaimer: This is an undocumented endpoint and is subject to change at anytime by SoundCloud. There is an undocumented endpoint that allows you to access a track's related sounds: HTTP GET: https://api.soundcloud.com/tracks/[TRACK_ID]/related?client_id=[YOUR_CLIENT_ID] You didn't specify a

http requests to /tracks/{id} a 403 status code from AWS other cloud providers, however 200 locally

♀尐吖头ヾ 提交于 2019-12-06 10:39:36
Sending http requests to the /tracks/{id} endpoint from any of our AWS boxes, both inside of different VPCs or from EC2 Classic return 403 status codes, however the same http requests sent from local machines return 200 requested data. This happens both using python's requests library and curl. edit: Tested using Google Compute Engine and Digital Ocean and both display same bad behaviour. using ?ids url parameter I am able curl /tracks?ids=[bad_id] i.e. doesn't work: curl https://api.soundcloud.com/tracks/182343690?client_id=XXX works: curl https://api.soundcloud.com/tracks/?client_id=XXX&ids

Streaming private tracks from Soundcloud's API using a Custom Player

被刻印的时光 ゝ 提交于 2019-12-06 09:53:29
问题 So I know there's plenty of SoundCloud documentation on creating custom players -- as well as streaming private sounds with their own player. But I can't find a definitive answer to: Can I stream private tracks through my own custom player using the API -- but WITHOUT requiring any SoundCloud login authentication? -- Or in bullet form, I want to know if i can: stream Soundcloud hosted tracks these tracks must be private and NOT publicly available on SoundCloud the player must be completely of

Bind() to a dynamically embedded souncloud widget

老子叫甜甜 提交于 2019-12-06 07:18:57
I am using the following code to embed a soundcloud widget: SC.oEmbed(soundcloud_url, {color: "3C9FCE"}, document.getElementById('container_id')); How do I bind a SC.Widget.Events.Ready to it? I don't see any way to set the id or class of the embed iframe so that I can select it. Nor do I know when it has been loaded so that I can bind it, such as the following dysfunctional code: var frame = document.getElementById('container_id').getElementsByTag("iframe")[0]; frame.bind(SC.Widget.Events.Ready, listnerFucnt()); Thanks! If the reason you are using SoundCloud JavaScript SDK is to be able to SC

How to dynamically embed the “tiny” version of the Soundcloud player using the JS SDK?

醉酒当歌 提交于 2019-12-06 07:10:59
I'm building a website for a music composer. He'd like to publish samples of his work via Soundcloud and embed some of those samples on his website. He has a Premium account. I'd like to make this as easy as possible for him (he ain't no geek). Basically, I'd like to let him just copy & paste the song's URL from the browser's address bar and make my application do the rest for him. That's relatively easy to do actually - and I successfully made it work with the standard version of the player. But I can't find a working way of programmatically embeding the tiny version of the player. There's no

Soundcloud content retrieval without a client ID. Is it at all possible?

天涯浪子 提交于 2019-12-06 06:34:16
Soundcloud have locked off their API and nobody is able to request a new Client ID. Before they closed it off they were simply ignoring API key requests for months. They obviously have their reasons but it's been this way for ages now and it's really annoying. Does anybody know any cheeky workarounds to retrieve track data from a supplied username? I've tried parsing the dom and scraping it but it doesn't work as they return "no javascript" errors when scraping which renders the homepage and not the user page. Example : $url = "https://soundcloud.com/username/tracks"; $dom = new Dom; $dom-

SoundCloud: callback.html popup doesn't close

坚强是说给别人听的谎言 提交于 2019-12-06 05:53:10
I've registered my SoundCloud app. I'm trying to implement the SoundCloud JS example code with the "callback.html" API https://developers.soundcloud.com/docs/api/sdks#authentication http://connect.soundcloud.com/examples/recording.html When I upload a recording, I get the authorization-login popup. After I login, the popup says "This popup should auto close..." But the popup doesn't close. And the recording isn't uploaded. I'm positive SC.initialize has my correct "clientID" and is referencing "callback.html" correctly from my directory. Am I missing something? maybe "client secret"? SC

Soundcloud Redirects Https -> Http

最后都变了- 提交于 2019-12-06 05:42:43
I have a page using the SoundCloud js sdk to stream audio. The initialization looks like this: SC.initialize({ client_id: myId, redirect_uri: "https://" + window.location.host + "/soundcloud-callback" }); The page uses SC.whenStreamingReady , SC.get and SC.stream in a way equivalent to the following: // Wait for SoundManager SC.whenStreamingReady(function() { soundManager.onready(function() { // Get track metadata and stream the track itself SC.get("https://api.soundcloud.com/tracks/" + audioId, function(data) { SC.stream(data.stream_url, {...}); }); }); }); The problem is that SC.stream

soundcloud node npm

我怕爱的太早我们不能终老 提交于 2019-12-06 05:00:57
Is there an official or "blessed" Node.js NPM module for interacting with SoundCloud. There are a few wrapper API's around. I'm wondering whether there is a favoured one by the community. Thanks. There is one. https://github.com/podviaznikov/soundcloud-node npm install soundcloud there is NOT a blessed module for node.js. There is a decent pacakge here: https://github.com/khilnani/soundclouder.js/blob/master/lib/soundclouder.js It's currently maintained but still pretty basic I just updated my own Soundcloud NodeJS Api-Wrapper Package: https://www.npmjs.com/package/soundcloud-nodejs-api