soundcloud

Build dependencies and static libraries in Xcode 3

馋奶兔 提交于 2019-12-11 11:15:54
问题 I'm trying to get the example project for an SoundCloud API wrapper working using XCode 3. There are some few basic instructions at the start, but I'm having trouble: QuickStart In your terminal: git clone git://github.com/soundcloud/cocoa-api-wrapper.git SoundCloudAPI cd SoundCloudAPI git submodule update --recursive --init In your Xcode project: drag SoundCloudAPI.xcodeproj into your project add it as a build dependency add the static library as a liked target add "[relative path to

How to get “all” tracks related to an artist with Souncloud API

醉酒当歌 提交于 2019-12-11 10:54:00
问题 I have been looking for the answer for a while, and couldn't find it. Currently, I'm getting the tracks of an artist as specified by the api: SC.get('/users/30806929/tracks', { userId: '30806929'}, function(tracks) { $(tracks).each(function(index, track){ $('#results').append($('<li></li>').html(track.title + ' - ' + track.genre)); }); }); That's easy and works fine. The problem is that I'm getting only the tracks uploaded by the user, listed in the following link: Tracks uploaded by the user

When would I get online flag as true for a user?

扶醉桌前 提交于 2019-12-11 10:20:15
问题 I want to know when would I get the "online" flag as true for a user? I am logged in to my soundcloud account through the browser as well as through the mobile app, but I still get online flag as false. I am using the API endpoint http://api.soundcloud.com/users/{id}.json?client_id=YOUR_CLIENT_ID to get the user details. 回答1: I believe this flag is no longer used due to it having inaccurate information. See the post Where did 'Who's Online' go? from SoundCloud Help. 来源: https://stackoverflow

Can't post new track via PHP Soundcloud API

只谈情不闲聊 提交于 2019-12-11 09:42:30
问题 I'm in a bit of a pickle here. I developped a Wordpress plugin that helps my site publish sounds to soundcloud directly from the WP back-office. The site has been live for about a year, and I have had no problems until now. When uploading a track, I get a 'Fatal error: Uncaught exception 'Services_Soundcloud_Invalid_Http_Response_Code_Exception' with message 'The requested URL responded with HTTP code 422.' I checked if nothing on my code had changed, and it hasn't, the request seems properly

Soundcloud + SoundManager bug: reading a stream's eqData

不想你离开。 提交于 2019-12-11 08:47:39
问题 (This is mainly targeted toward Soundcloud employees because they use Stackoverflow for support) I've built an app that reads the eqData from a soundcloud stream using soundmanager2: http://music.freefarm.co.uk/ The eqdata works fine when starting a track, but when seeking or resuming a paused stream, the eqData is no longer updated. Either the array is updated with zeros, or hangs on the previous frame's data. The app was built almost 6 months and worked correctly, so I'd like to assume it

Query Soundcloud API using created_at filter

允我心安 提交于 2019-12-11 07:38:30
问题 Is it possible to use the created_at filter as part of a query in Python? I added it into my query filters, trying several different ways, but it seems to ignore that particular filter. The results that come back contain everything from last week to 3 years ago, and I'm only looking for recent tracks. I have to believe this is doable somehow... stamp = "2013/07/01 09:24:50 +0000" tracks = client.get('/tracks', q='Metallica', genre='', duration={ 'from': 1800000 }, created_at={ 'from': stamp }

Issues Playing and pausing tracks from a playlist (Soundcloud JavaScript API)

牧云@^-^@ 提交于 2019-12-11 07:29:22
问题 I'm creating an app using Soundcloud's JavaScript API that takes a URL to a Soundcloud playlist and displays the track list next to an audio player. I'm able to fetch everything using the API and play individual tracks using SC.stream() , but I'm running into a strange issue: The first time you play a track, the Play and Pause buttons work as expected. If you select a new track, then go back and select the first track again, I would expect it to start over from the beginning. Instead, it

Why are some SoundCloud tracks causing their HTML5 widget to fail?

落花浮王杯 提交于 2019-12-11 06:48:41
问题 I am using SoundCloud's own JavaScript API to embed HTML5 widgets on a site but am finding that often their HTML5 widget will not function correctly: neither the waveform nor the artwork displays correctly. Whether the widget functions as expected seems to be on a track-by-track basis. This is especially noticeable in the WebKit-based browsers (Chrome & Safari) but I also see the issue in Firefox (all browsers used to test are their respective latest versions). Checking each browser's dev

Apscheduler runs once then throws TypeError

随声附和 提交于 2019-12-11 05:47:22
问题 I'm trying to add a list of someone's soundcloud followers to a database every hour. I have the code working to pull their list of followers and add them to a db, but I run into errors when I use it with apscheduler. Here's an example of the error: Traceback (most recent call last): File "desktop/SoundcloudProject/artistdailyfollowers.py", line 59, in <module> scheduler.add_job(inserttodaysdata(), 'interval', hours=1) File "//anaconda/lib/python3.5/site-packages/apscheduler/schedulers/base.py

When is $scope.$apply necessary for dealing with objects/arrays with Angular?

喜你入骨 提交于 2019-12-11 03:45:30
问题 I'm working with the Soundcloud JS SDK to bring my Soundcloud favorites into a simple Angular app. I wasn't able to get the user favorites to import in correctly until I used $scope.$apply . function TopListCtrl($scope, $http, $modal) { $scope.getData = function(sc_user) { SC.get('/users/'+ sc_user +'/favorites', {limit: 200}, function(tracks){ $scope.$apply(function() { if (Object.getOwnPropertyNames(tracks).length > 1) { $scope.likes = tracks; $scope.sortField = 'like.favoritings_count';