soundcloud

How to upload audio in soundcloud via my app and i want to send that id also to my server

…衆ロ難τιáo~ 提交于 2019-12-11 02:17:15
问题 I fetching audio from soundcloud and i can stream that audio in my app also,Now the things is how to upload audio to soundcloud and then i want to send the id to my server side also. My requirement is using the upload button i want to get the file from external storage directory and then i want to send the upload audio. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mDbHelper = new GinfyDbAdapter(this); setContentView(R.layout.upload_audiogallery);

why doesn't Chrome stream a song using SoundCloud API V3

一曲冷凌霜 提交于 2019-12-11 02:08:08
问题 I am trying to stream a song using SoundCloud api, but apprantly it does not play it in Chrome. However it works on other browsers. SC.initialize({ client_id: '65243ec784b284f1d8a8f950312240fa', redirect_uri: 'http://example.com/callback' }); SC.stream('/tracks/293').then(function(player) { player.play(); }); JSFIDDLE Any idea to make it working in Chrome? 回答1: see my solution on the open Github issue (code pasted below for convenience). If you use SoundManager2, then call setup when the dom

SoundCloud: “streamable” inconsistent

本小妞迷上赌 提交于 2019-12-11 01:28:43
问题 SoundCloud tracks accessed via the official API have the property streamable , which is supposed to indicate whether a track is "streamable via API (boolean)" (https://developers.soundcloud.com/docs/api/reference#tracks). Unfortunately, the values of streamable are inconsistent with the actual behaviour of the streaming API. For example: https://soundcloud.com/klangkarussell/sonnentanz-v2-neu-gemischt (id: 24412995) has "streamable": false and indeed, for a normal app it will not stream.

SoundCloud, filtering by query on the tracks of a specific user doesn't work

馋奶兔 提交于 2019-12-10 21:14:53
问题 I'm trying to use the soundcloud api to get the tracks of a specific user that's matching the query i am inputting here's an example without querying, works fine, gets all tracks for that user http://api.soundcloud.com/users/4493849/tracks.json?client_id=YOUR_CLIENT_ID works fine and gets me the 5 tracks for that user now I need to only get the track called "Test Audio". so I do as follows http://api.soundcloud.com/users/4493849/tracks.json?client_id=YOUR_CLIENT_ID&q=Test now the problem is,

Ruby - how to download a file if the url is a redirection?

て烟熏妆下的殇ゞ 提交于 2019-12-10 20:23:11
问题 Ruby how to download a file if the url is a redirection? i'm trying to download this url: soundcloud.com/stereo-f---/cohete-amigo/download the redirection is this: [ec-media.soundcloud.com/HNIGsuMJlDhy?ff61182e3c2ecefa438cd0210ad0e38569b9775ddc9e06b3c362a686319250ea5c1ae2d33d8d525807641f258e33de3cb0e559c1b591b5b00fb32d5ef9&AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQ&Expires=1352919869&Signature=OVWD9VdV7ew%2B%2Fs%2BO0YpkKZLGOCw%3D][2] and what i've tried is this: Net::HTTP.start("ec-media.soundcloud

Unable to refresh token after expiration

时光怂恿深爱的人放手 提交于 2019-12-10 20:19:24
问题 I can authenticate and fetch an access_token and the corresponding refresh_token fine (subsequent API interactions are also fine). However, I seem to only be able to refresh a token ( POST to /oauth/token with grant_type=refresh_token ) before the access_token actually expires. After the expiration, the same refresh code (exactly that provided within the docs), returns with an error of invalid_grant . I am using the soundcloud-ruby SDK, FWIW, but I can reproduce it through curl. As an aside,

502 Error When Searching on SoundCloud Playlists

坚强是说给别人听的谎言 提交于 2019-12-10 18:12:33
问题 import soundcloud client = soundcloud.Client(client_id='mykey') page_size = 10 tracks = client.get('/tracks', q='lorde',limit=page_size) users = client.get('/users', q='lorde',limit=page_size) sets = client.get('/playlists',q='lorde',limit=page_size) In the above extract of Python code, whilst tracks and users works perfectly fine, the last line returns the following error. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "soundcloud/client.py", line 130, in

SoundCloud's connect with Facebook not working in iOS

左心房为你撑大大i 提交于 2019-12-10 17:47:26
问题 I'm trying to integrate my iOS app with SoundCloud. I've registered an app at "http://soundcloud.com/you/apps" and got the app ID and secret key in order to compose the auth URL: "https://soundcloud.com/connect?client_id=da3beb496ca5bd92e2ae39a4bf775cca&redirect_uri=rocksteady://oauth2&response_type=code" I simply made a UIWebView load a request with that very url. After pushing the "Connect with Facebook" button app redirected to the facebook login page. After logging in the Facebook I got

URL to open track in SoundCloud iOS app

主宰稳场 提交于 2019-12-10 17:36:01
问题 I would like to open a SoundCloud track in the SoundCloud iOS app. I was under the impression that the correct url scheme to use is soundcloud:track:[track_id] . This opens the SoundCloud app but doesn't select the correct track. Can anyone shed some light on how to get this functioning correctly 回答1: tracks should be in plural, like this: soundcloud:tracks:[track_id] 回答2: The scheme is correct, but the notation is a little strange. There is a literal colon in it. The following link is of the

Open Soundcloud URL in native Soundcloud app from WebView

柔情痞子 提交于 2019-12-10 17:32:59
问题 Scenario I have a WebView in my Android app which contains a Soundcloud embed (from Embedly). This embed has two buttons: "Play on Soundcloud" and "Listen in browser". The "Play on Soundcloud" button contains a URL in format intent://tracks:257659076#Intent;scheme=soundcloud;package=com.soundcloud.android;end Code My WebView uses a custom WebViewClient (because I need to intercept some URLs for some different stuff). protected class WebViewClient extends android.webkit.WebViewClient { public