spotify

Can't authorize with Spotify API

ぃ、小莉子 提交于 2019-12-08 04:11:23
问题 I try to authorize through Spotify API (https://developer.spotify.com/web-api/authorization-guide/) and my code is: <a href="">Spotify link</a> But instead of redirect me to my page it says: I tried to delete app from "My applications" tab on developer.spotify.com and create a new one with new client id and it is no different. I log in to Spotify with my Facebook account. 回答1: Ok, I figured it out. You have to go to your application settings and enter your URL into "Redirect URLs" and it will

I can't retrieve an access token from Spotify for my app

橙三吉。 提交于 2019-12-08 04:08:41
问题 I can't get an access token for my Android app from Spotify because I can connect to the end point. I need the access token of my Android app and I tried the following: 1) Spotify Android auth library. I can't find the spotify-auth-version.aar they talk about. 2) building manually the url. Here is an example: https://accounts.spotify.com/authorize? client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxx& response_type=code& redirect_uri=http%3A%2F%2Fmarcoalunno.com.spotify_test%2Fcallback& scope=playlist-read

How to get currently playing track in Spotify Mac from Cocoa [closed]

ぃ、小莉子 提交于 2019-12-08 03:55:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . I'm developing a lyric application for Mac and I want to add Spotify support to my app. I just need to retrieve currently playing track on spotify client for Mac and get notified if playing state has changed. is there any API to use in my app for doing this? 回答1: To get notified when playing state has changed

Spotify - searching for silences in a track

社会主义新天地 提交于 2019-12-08 03:52:23
问题 I have been searching everywhere but haven't found any documentation about the analysis_url audio feature on Spotify API , in order to deepen my understanding on the subject. As far as I'm concerned, it learns the audio by segments , bars , beats , sample rates , fade ins and outs , keys , timbre , mode , time_signature , tempo etc what I have so far is: def analysis_url(track_ids): names = [] tids = [] for id_ in track_ids: track_id = sp.track(id_)['uri'] tids.append(track_id) track_name =

Gaining authorization to modify Spotify playlists using spotipy for Python3

陌路散爱 提交于 2019-12-08 03:45:17
问题 I'm currently attempting to use spotipy, a python3 module, to access and edit my personal Spotify premium account. I've followed the tutorial on https://github.com/plamere/spotipy/blob/master/docs/index.rst using the util.prompt_for_user_token method by entering the necessary parameters directly (username, client ID, secret ID, scope and redirect uri). Everything seems to be fine up to this part. My code (fillers for username, client id and client secret for security reasons) : code It opens

Is it possible to use the Spotify Web API to write a desktop application without a callback URI?

蓝咒 提交于 2019-12-08 03:30:28
问题 I would like to write a simple desktop application for personal use that uses the Spotify Web API to build playlists. As far as I can tell, however, there's no way to use the API without providing a callback URI, which I don't have, seeing as I don't have a domain or server of any kind (other than my personal computer). Is there a way to use the API without a URI? If not, what is the best way to set up a callback URI? I don't have much of any experience working with web applications or client

Spotify Apps API: get other users' playlists

瘦欲@ 提交于 2019-12-08 03:18:55
问题 Is there a way to get public playlists that are not your own? Or can I crank up the number of tracks that are returned from social.getToplist() ? Context: I'm writing a little App that lets you specify some users and then creates a playlist based on what those users listen to (Think party playlist). The only thing I've found to achieve that is to get their top tracks via social.getToplist() - but that returns only 20 tracks per user, which isn't that much.. 回答1: This is currently not

Spotify automated playlist management with PHP back-end and rate limits

烈酒焚心 提交于 2019-12-07 19:32:48
问题 Two questions: Question 1. We need to manage 4 playlists of a Spotify user from our back-end (PHP) (without user login) . Visitors of our website can submit multiple of their favorite songs to our websites. Based on that, we create and manage 4 playlists which contain the ‘top most submitted songs’. We want to automate this process from our PHP back-end without the need of manually managing the playlist day to day for a period of multiple months. We would like to use the Spotify API for this,

Spotify App API: Add as playlist

隐身守侯 提交于 2019-12-07 18:39:50
问题 I'm creating a play list dynamically with m.Playlist() and then adds tracks with the .add() function. But it doesn't seems to work to add those play lists to the toolbar with the "+ Add as playlist" button and sp.core.library.addPlaylist($(this).val()); . Do you guys have any clue how to save the playlists? 回答1: Just create another playlist but with a name m.Playlist("My Playlist") and add the specific tracks. The playlist should then appear on the left. 来源: https://stackoverflow.com

Fetch the current track info from Spotify app after March 2015 update

坚强是说给别人听的谎言 提交于 2019-12-07 16:05:41
问题 I want to pull out the current track information from Spotify windows client using autohotkey. Although this question Hotkey for next song in Spotify solved some of the problems (the media playback issues) in the commonly used ahk script (can be found in this question: Newest Spotify update: Autohotkeys script broke and below), the track info shortcut still does not work. ^Down:: { DetectHiddenWindows, On SetTitleMatchMode 2 WinGetTitle, now_playing, ahk_class SpotifyMainWindow