Get current playing song from Spotify iOS app

Here is a solution in Swift 3: let player = MPMusicPlayerController.systemMusicPlayer() if let mediaItem = player.nowPlayingItem { let title: String = mediaItem.value(forProperty: MPMediaItemPropertyTitle) as! String let albumTitle: String = mediaItem.value(forProperty: MPMediaItemPropertyAlbumTitle) as! String let artist: String = mediaItem.value(forProperty: MPMediaItemPropertyArtist) as! String print(“\(title) on \(albumTitle) by \(artist)”) } Note that starting from iOS 10, you must … Read more

SSL_ERROR_SSL(1): operation failed within the library

Deadlock I assume spotifyRequest will be called on the main thread. So if the main thread reaches the line group.wait() and this line of responseJSON completionHandler was not called yet: group.leave() then the main thread is blocked due to the call of group.wait() above. Due to the blocked main thread group.leave() can’t be called. Classical … Read more

What language or technology was used to develop the Spotify desktop application? [closed]

From here: http://www.quora.com/What-is-the-technology-behind-the-Spotify-desktop-app Dated: 2014-09-09 Andreas Blixt, 5-year Spotify employee: The core of all our clients is C++, but that core has since Rasmus’s post gotten condensed, with functionality split out into modules. As Spotify becomes available on more and more platforms as well as getting a richer feature set, we need to ensure that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)