soundcloud

How to add comments through the SoundCloud API

孤者浪人 提交于 2019-12-24 01:03:22
问题 I would like to post comments via the SoundCloud API but looking at the documentation it seems impossible, the only method available for /tracks/{id}/comments seems to be GET . When I try to send it a POST I get a HTTP Error: 422 , same happens if I use the console I get a 422 too, with "error_message": "Body can't be blank" even so I added body=test as a parameter. Any idea how you are supposed to add a comments via the API? I can see that it seems to be possible with for example the ruby

SoundCloud + Soundmanager2 + EQData

大城市里の小女人 提交于 2019-12-24 01:01:48
问题 This is essentially the same as this question but with more detail: Soundcloud + SoundManager bug: reading a stream's eqData So I have a visualizer using canvas / svg / what have you which looks GREAT when it is receiving EQData from SoundCloud / SoundManager2 but there are some very strange events that are happening which cause it to not be as cool. 1.) When you use SMSound.pause() or any variation (SoundManager.togglePause, etc) and then resume all EQData / WaveformData stops coming to

Redirect URI mismatch iOS soundcloud

放肆的年华 提交于 2019-12-23 21:25:32
问题 I'm developping an iOS app which use soundcloud API. I followed this tutorial : https://github.com/soundcloud/CocoaSoundCloudAPI Everything was fine until the login step.. I try to upload a song (just to try something different), but I had the same result... No fields to logged in. Sometimes the soundcloud popup disappear after 1 second, other times, nothing appends, the UI stay in this state (with the spinner active). In the console, I've got this error message : Ooops, something went wrong:

SoundCloud API: setVolume on audiomanager.js

旧时模样 提交于 2019-12-23 19:00:20
问题 We've been having problems with the setVolume function while using the SoundCloud Javascript API. The trace: Uncaught IndexSizeError: Index or size was negative, or greater than the allowed value. audiomanager.js:2 HTML5AudioPlayer.setVolume We are calling that function on the sound object, as usual, and the values we're passing to are between 0 and 100, which are the ones that are specified as correct. The problem started a few hours ago and we haven't made any changes in our code, so it

Soundcloud's oEmbed endpoint returns 403 on some URLs

℡╲_俬逩灬. 提交于 2019-12-23 18:36:19
问题 Soundcloud's oEmbed endpoint works well with most links (e.g. affee), but returns a 403 status with the following (valid) URL: knifepartyinc What is wrong with the second URL? 回答1: the owner of the track on SoundCloud can choose to disable all widgets. It's one of the big checkboxes on the track edit page. In such case oEmbed wouldn't be able to return an embed code. Your application should have a defensive approach to handle this. Just check if the response is true before rendering it in the

How to pause streaming in soundcloud javascript api

扶醉桌前 提交于 2019-12-23 18:14:38
问题 I would like to allow a sound file to play and pause. The documentation shows how to play a streaming file: $("#stream").live("click", function(){ SC.stream("/tracks/{'track-id'}", function(sound){ sound.play(); }; It uses Sound Manager to stream and uses some of it's objects and methods... like .pause()! So here's the code i think should work: var is_playing="false"; $("#stream").live("click", function(){ SC.stream("/tracks/{'track-id'}", function(sound){ if (is_playing==="true") { sound

Cannot retrieve certain public tracks via SoundCloud API calls (403)

倖福魔咒の 提交于 2019-12-23 09:28:05
问题 Some tracks in my playlist are not being returned when accessed via the SoundCloud API. For example, here are two tracks in my playlist: http://api.soundcloud.com/tracks/169170570?client_id=CLIENT_ID http://api.soundcloud.com/tracks/251027701?client_id=CLIENT_ID The URL for track 1 returns a JSON object and also appears properly in my /playlists request. However, track 2 gives me a 403 in the URL above and is not present in my /playlists request. Why is this happening? As far as I can tell,

how to authenticate Soundcloud API with redirect_uri (callback.html)

…衆ロ難τιáo~ 提交于 2019-12-23 09:08:08
问题 The final goal is to let users be able to upload / download files through the soundcloud API. I have registered my app, but now I have got problems with the authentication. In the app registration i must define a redirect URI for authentication, their default is callback.html. What to put there myself? I dont know what to put there, in redirect uri of the app or in the code (assuming it must be the same) I've tried making a callback.html myself, but it doesnt work. I'm starting to think it

Soundcloud API support pagination?

雨燕双飞 提交于 2019-12-23 06:39:06
问题 How would I use the "linked_partitioning=1" to call on the "next_href" in the response? I see the next_href in the response, but I don't know what to do next? :\ Please help Thank you in advance :) 回答1: You just have to make a call to this url. Read more here: https://developers.soundcloud.com/blog/offset-pagination-deprecated https://developers.soundcloud.com/docs/api/guide#errors EDIT: According to your comments, i have added some code in JS, which print all tracks from Boilerroom. Using

Soundcloud API support pagination?

你说的曾经没有我的故事 提交于 2019-12-23 06:38:28
问题 How would I use the "linked_partitioning=1" to call on the "next_href" in the response? I see the next_href in the response, but I don't know what to do next? :\ Please help Thank you in advance :) 回答1: You just have to make a call to this url. Read more here: https://developers.soundcloud.com/blog/offset-pagination-deprecated https://developers.soundcloud.com/docs/api/guide#errors EDIT: According to your comments, i have added some code in JS, which print all tracks from Boilerroom. Using