Spotify Developer News

libspotify 12 iOS hot-fix

| By nikalthepikal

There is now a patched version of libspotify 12 for iOS that no longer uses the uniqueIdentifier method for UDID. It also includes a few bug fixes. When building, please link your application with Security.framework.

If you use CocoaLibSpotify, please update to version 2.4.3.

Download the libspotify 12.1.62 iOS release here.

Early Summer Hackathons and Meetups Planned

| By magerleagues


Image by possan

We’re planning some events in the upcoming months to help spread the word about the Spotify Platform. Hope to see you out and about!

More events to come throughout the summer and fall. If you have any suggestions for which hackathons we attend, please email our hacker advocate, Andrew Mager.

Hola. Helo. Tere. Sveiki. 你好. Selamat datang.

| By José M. Pérez

Spotify is now available in Iceland, Estonia, Latvia, Lithuania, Mexico, Malaysia, Hong Kong and Singapore

Spotify has just become available in Iceland, Estonia, Latvia, Lithuania, Mexico, Malaysia, Hong Kong and Singapore. This fantastic step now brings us to 28 markets and closer to our dream of making all the world’s music available instantly to everyone, wherever and whenever they want it. As a developer using Spotify APIs, you can now reach more users!

Apart from releasing in these territories, the Spotify client is available now also in Traditional Chinese and International Spanish.

If you are developing a Spotify App, you can easily retrieve the language of choice for the current user. There is also built-in support for localization, that allows serving localized assets and strings.

We are looking forward to seeing developers using our APIs to bring music to everyone.

Developer and Integration Guidelines updated

| By José M. Pérez

We have just updated the documentation for developing and integrating Spotify Apps.

Take a look at the Developer Guidelines, which will show you how to develop a Spotify App from scratch easily, using our latest frameworks. You can download a skeleton app we have prepared so you have the basic structure for your app already in place.

Spotify Developer Guidelines

In addition, we have reviewed and simplified the Integration Guidelines, which explain the points your app needs to meet when submitted to Spotify.

Artist’s Hack @ SxSW Interactive 2013

| By magerleagues

We’re really excited to be organizing a hackathon with The Backplane, Coca-Cola, The Echo Nest, Sendgrid, Aviary, Etsy, Twilio, and others during SxSW Interactive this year.

Artist's Hack

Artist’s Hack, formerly Manager’s Hack, is all about art, music, film, technology, and entertainment. Inspired by Paul Graham’s post, “Hackers & Painters”, it’s a 12-hour session with lots of surprises. The live stream of the hacks will be broadcast to Times Square via NASDAQ.

RSVP here, as slots are filling up fast. A few Spotify engineers will be in attendance, traveling in from Sweden and New York. If you have any questions, email our hacker advocate, Andrew Mager.

And if you’re in town for SxSW Music, come by the Spotify House on 1010 East Cesar Chavez from 12-6 all week.

Spotify Apps JS API 0.2.8 and Web API explicit flag

| By José M. Pérez

Updates to Spotify Apps JS API and Web API have just been released.

Explicit flag

Certain tracks in the Spotify catalogue contain explicit language or themes. We have added the attribute explicit in the element returned in the API response for calls to Web API. If a track is considered to be explicit the element will be set to true, otherwise it will be absent. Please note that this element may also be absent if we do not have the information for that specific track.

Spotify Apps JS API 0.2.8

An updated version of the Spotify Apps JS API has been released. This is the changelog:

  • 0.2.8:
    • Added explicit attribute to Track object

Recently, some more updates were done to the Spotify Apps JS API:

  • 0.2.7:
    • Don’t use cached value for the starred attribute of a Track
  • 0.2.5:
    • Updated the Player widget with the latest state on insertion

Your app will automatically use this new version as long as you declare your dependencies in the manifest.json file and you require the modules from the framework using sp.require:

var sp = getSpotifyApi(),
models = sp.require('$api/models');

libspotify 12 for hardfloat armv6 (Raspberry Pi) beta

| By magerleagues

We’re pleased to annouce the beta release of libspotify 12.1.103 for hardfloat armv6, allowing native support for platforms like the Raspberry Pi.

Please be aware that as a beta release, this build may be unstable. We’re working on bringing a stable release soon.

Downloads can be found here.

API changes from 12.1.51 in this release:

  • sp_session_toplist_for_user_create() to get a user’s toplist.
  • sp_track_has_explicit_lyrics() to get whether a track is flagged as having explicit lyrics.
  • sp_search_playlist() to get a playlist object directly from a search that contains playlists.
  • New field in sp_session_config: ca_certs_filename.
  • New callback in sp_session_callbacks: unaccepted_licenses_updated().
  • New methods for getting and accepting Spotify ToS on login:
    • sp_session_num_unaccepted_licenses()
    • sp_session_unaccepted_license_id()
    • sp_session_url_for_license()
    • sp_session_accept_licenses()

Integrate with the Discover Tab

| By magerleagues

We’re opening up the platform to let you integrate your content in the Spotify Discover Tab.

discover-tab-context

To create your own Discover Tab recommendations, the only thing you need to do is to provide us with API endpoints that deliver your content, and Spotify takes care of the rest.

While we roll this out throughout early 2013, we’d love to hear from you if you want to be a part of this experience. Please email us at platform-partners@spotify.com with ideas, concepts, and questions. We’re excited to work with you!

For more info on Discover Tab integrations, check out our overview page »

Portland music hack: Girl Talk samples

| By magerleagues

As part of Portland Digital eXperience (PDX) Music Day Hack at MusicFestNW, Portland, The Brigade’s head of engineering, Chris Jones, came up with the idea to create a Spotify app that visualizes all the original music sampled in a GIRL TALK song with links back to the artists in real time as the song plays.

Girl Talk app

They took the song: What It’s All About and used sample data from Andy Baio and Wired. Check out the video demo below, and download the open source repo on Github here.

Luigi is now open source: build complex pipelines of tasks

| By magerleagues

We are excited to open-source one of our internal tools, named Luigi. It’s a Python module that helps you build complex pipelines of batch jobs, handle dependency resolution, and create visualizations to help manage multiple workflows. Luigi comes with Hadoop support built in.

We use Luigi internally at Spotify to run thousands of tasks every day, organized in complex dependency graphs. Luigi provides an infrastructure that powers several Spotify features including recommendations, top lists, A/B test analysis, external reports, internal dashboards, and many more.

Conceptually, Luigi is similar to GNU Make where you have certain tasks and these tasks in turn may have dependencies on other tasks.

Read more about it on Github: https://github.com/spotify/luigi. And please contribute!