soundcloud

Using the soundcloud api's RESOLVE from vb.net, plus very general questions

a 夏天 提交于 2019-12-25 08:14:12
问题 I have a website written in vb.net (actually asp.net using VB) and I want to allow users to view soundcloud videos embedded in pages. The idea is to use the javascript api to add a particular feature that a specialized subset of users might want. I need the ability from javascript to make the audio do such actions as: 1) play 2) pause 3) seek also, I need to get events from the audio to tell me when the audio has 1) paused 2) started to play and 3) seeked and 4) ended. This is fairly basic,

How to display playback_count for a user using the SoundCloud API

房东的猫 提交于 2019-12-25 06:33:24
问题 I am trying to display the total track views ("playback_count") for a specific SoundCloud user using the SoundCloud API. According to the API documentation I get the info using the below function call: http://api.soundcloud.com/tracks/13158665.json?client_id=YOUR_CLIENT_ID This is fine because it displays the number "13158665". What is this number? Is it the trackid? I need to get the "playback_count" for a user using the users username. I tried getting the UserId from the Username using this

Soundcloud created_at[from] and created_at[to] not returning expected results

给你一囗甜甜゛ 提交于 2019-12-24 15:39:55
问题 I am trying to single out a certain track on Soundcloud by setting the created_at[from] and created_at[to] filter as referenced on Soundcloud's API Docs a day before and after the track was created in combination with a genre tag to ensure only the expected track is returned. SC.get('/tracks', { // q: 'Diplo&Friends', genres: 'Diplo&Friends', //title: 'Boombox Cartel Diplo & Friends Mix', created_at: { from: '2016-01-26 00:00:01', to: '2016-01-28 00:00:01' } //ids: '243959257' }).then

Ember App not playing sound in Chrome

送分小仙女□ 提交于 2019-12-24 15:21:39
问题 I have built an ember music app consuming favorite songs by SoundCloud using the api of this project. You can see the demo here From a couple of days i have noticed that only in Chrome any song i play, the sound and and the stream do not work, in the other browsers ( Safari and Firefox) it works well as usual. I thought at the beginning it was violating the content Security Policy directive in environment Ember Cli. See the question here but although i have solved it, the problem is still

SoundCloud created_at[from] query resolving in a 503 error

折月煮酒 提交于 2019-12-24 12:33:50
问题 Using the JavaScript SDK, I am trying to search for all tracks in a given genre from a given date going forward (using the 'created_at[from]' /tracks filter). My JavaScript for this is: SC.get('/tracks', { genres: 'metal', created_at: {from: '2014-02-26 00:00:01'} }, function(tracks) { console.log(tracks); }); The request URL resolves as: http://api.soundcloud.com/tracks?genres=metal&created_at[from]=2014-02-26%2000%3A00%3A01&client_id=MY_ID and I get a 503. (I omitted posting my client_id

Soundcloud Custom Player include buy button

人盡茶涼 提交于 2019-12-24 12:15:14
问题 Working on a player using http://developers.soundcloud.com/docs/custom-player Want to include a buy button like all the other Soundcloud embeds offer... not in the docs. Anybody have a hacky way to do so? It's running off the same API as the HTML5 widget, so I'm sure there's at least something that can be done. Thanks for your advice! 回答1: every track object has a property purchase_url - external purchase link, if exists it should point to 'buy now' url. check documentation here: http:/

Unexplained, multi-day lapse in Soundcloud iFrame “autoplay” option…hosting issue?

非 Y 不嫁゛ 提交于 2019-12-24 11:27:03
问题 this page http://falsefeatures.com/aBookForPrivateReading/PlayHeavyWater contains an iFrame soundcloud player set to autoplay. I made it after, in a similar page, the autoplay option stopped working. it didn't work on this page either, not for two days, in several browsers and more than one connection. today it autoplays, as does the original, more complex page - no code changes have been made. QUESTION: Does anyone know if this alarming lapse COULD have been the fault of my webhosting

Soundcloud Streaming on Safari Mobile

隐身守侯 提交于 2019-12-24 10:38:28
问题 I tried to use this snippet from the Soundcloud API: <script src="http://connect.soundcloud.com/sdk.js"> <script> SC.initialize({ client_id: 'YOUR_CLIENT_ID' }); # stream track id 293 SC.stream("/tracks/293", function(sound){ sound.play(); }); </script> It works in any browsers aside from Safari mobile, both on iPhone and iPad, where the music stream does not play at all. What am I doing wrong? (I replaced track id and client id with my own details) Thanks 回答1: In mobile safari the play has

Soundcloud API - Adding/Removing Songs from Groups - 404 Error

為{幸葍}努か 提交于 2019-12-24 09:12:47
问题 I have been trying to use the Soundcloud API to add and remove songs from groups. I am using the soundcloud-python wrapper to enable me to do this easily. I have got both Auth flows working correctly (either using OAuth2 or using user credentials directly), and I can use the python client to grab information about the logged in user etc. by performing calls as follows: print client.get('/me').username This indicates to me that I have correctly passed authorisation, and as I say, I have got

How to add comments through the SoundCloud API

怎甘沉沦 提交于 2019-12-24 01:06:16
问题 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