soundcloud

Soundcloud api: Geo Tag search not working

房东的猫 提交于 2020-01-01 11:15:10
问题 Geo search tags appear not to be working. I have an app that has been running for months with no changes. It broke recently and upon troubleshooting I found that geo tag search, both specific and with wild card, returns no results. $(document).ready(function() { SC.initialize({ client_id: 'my id here'}); SC.get("/tracks", {limit: 200, tags: 'geo:lon=-118.*'}, SearchTracks); }); var SearchTracks=function Search (tracks){ for (var key in tracks) {console.log(tracks[key].title+" "+tracks[key]

SWFobject in a Chrome Extension - API Unavaiable

陌路散爱 提交于 2020-01-01 09:25:09
问题 Hi! I'm building a Chrome extension, in which I need to embed a SWFobject in the background page. Everything works, except the JavaScript controls for the SWFobject and the eventListeners. My guess is that it has something to do with the cross-domain policies, because while testing the page on a webserver everything worked fine. Anyway, here's a snippet: In the main page: var playerView = chrome.extension.getBackgroundPage(); $('#playerPause').click(function(){ playerView.playerPause(); });

Genres and types filters not working in Soundcloud API?

本秂侑毒 提交于 2020-01-01 07:23:07
问题 This link does not return tracks from the rock genre as described in this post: Using the genres filter on Soundcloud API Is this something that recently broke? I'm using the Python SDK and have tried various calls to get the filter to work, and currently I can only get the created_at filter to be respected. Here is the python code: track_page=client.get('/tracks', created_at={'from':'2013-01-01 00:00:00','to':'2013-01-07 00:00:00'}, genre='house', types=['recording','remix','original'],

Getting max amplitude for an audio file per second

夙愿已清 提交于 2020-01-01 00:25:07
问题 I know there are some similar questions here, but most of them are concerning generating waveform images , which is not what I want. My goal is to generate a waveform visualization for an audio file, similar to SoundCloud, but not an image. I'd like to have the max amplitude data for each second (or half second) of an audio clip in an array. I could then use this data to create a CSS-based visualization. Ideally I'd like to get an array that has all the amplitude values for each second as a

Soundcloud API - Extracting tracks reposted by a user

巧了我就是萌 提交于 2019-12-31 10:43:31
问题 As reposts where introduced in the new soundcloud website, is it also possible to extract tracks reposted by a given user through the API ? Thanks in advance for your help 回答1: The API endpoints which give you reposts are not yet part of the public API. The only reason for this is that we haven't yet fully decided on a format and so on -- basically, once it's part of the documented API, then we have a complete responsibility never to break that backwards compatibility, and we can't quite

SoundCloud API playback_count different than on website

二次信任 提交于 2019-12-31 07:19:09
问题 Your API returns a different play_count than you display on your website. Example Website: https://soundcloud.com/esbee/aleah-water-and-wine-stefan-biniak-private-edit-remastered Playback Count: 10.2k Example API: [https://api.soundcloud.com/tracks/260065214?client_id=removed "playback_count":1132 That's a factor of 10. Can you please have a look at it or am I missing something? 回答1: You can use their v2 api: https://api-v2.soundcloud.com/tracks/260065214?client_id=ADD_YOURS Which lists the

soundcloud API - JSON track count does not match profile track count

依然范特西╮ 提交于 2019-12-29 07:29:19
问题 I'm building a web app using the soundcloud JavaScript SDK that should only return profiles that contain one or more tracks. My GET request returns an array of user profiles, each including the track_count property and associated value, as expected. However, when I follow the link to each profile, the number of tracks is often different from the value listed in the JSON (see example in images below). Crucially, in relation to my purpose, this means that it sometimes returns profiles with 0

Force a Soundcloud track to open in Soundcloud app on Android

徘徊边缘 提交于 2019-12-29 05:36:51
问题 I have a mobile application that links to Soundcloud track. On Android, clicking on those links brings up a dialog asking the user to "Complete action using" their browser or the Soundcloud app. Is there a way to bypass this screen and just play the track in the Soundcloud player? This is the code I currently using. Please suggest any modifications or new way to do this. Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://m.soundcloud.com/blackburnravers/dj-nj-house-music-volume

SoundCloud API returning 0 tracks despite user having tracks

牧云@^-^@ 提交于 2019-12-28 23:14:33
问题 I'm trying to get the tracks of specific users but for some users, even though they have tracks, the SoundCloud API return an empty list. For example, the following user has 17 tracks as you can see from his track_count http://api.soundcloud.com/users/1250904?client_id=XXXXXX If I try to get his tracks it returns an empty list http://api.soundcloud.com/users/1250904/tracks?client_id=XXXXXX Is it possible for users to make their songs not available via API? Is there a field on the user that

Soundcloud stratus player won't dynamically add more than an individual track at a time

て烟熏妆下的殇ゞ 提交于 2019-12-25 18:31:27
问题 Thanks to other people's questions, I have gotten AJAX links to work for individual songs when clicked in the DOM. My problem is that I need to find a way to load all of the tracks under a given user's account on soundcloud. I edited the stratus.js file to make it listen for the click by using .delegate(), but I can't figure out how to call the track listing from soundcloud and load it through the given iframe. This is the stratus.js file. (function() { var $; $ = jQuery; (function($){var g,d