iOS SDKReleases

iOS SDK v1.3.6

Today we've updated the Rdio iOS SDK to version 1.3.6. The update includes the following changes

  • Fix status bar using parent VC's preferred status bar settings. (issue #99)
  • Handle unstreamable tracks correctly when pre-buffering. (issue #112)
  • Calling previous while playing the first track now causes playback to stop. (Previously it was a NOP)
  • Fix CPU spike issue. (issue #113)

The latest release is available at http://www.rdio.com/media/static/developer/ios/rdio-ios.tar.gz.

Check out the iOS SDK documentation for more info, and drop us a line on our Google Group if you have any questions.

Happy hacking!

∞  February 13, 2014 — 11:12AM

Posted by Kevin Nelson at 11:12AM in iOS SDK, Releases |

Events

PennApps Spring 2014

What: PennApps Spring 2014
When: Feburary 14 – 16, 2014
Where: University of PennsylvaniaTowne Building @ University of Pennsylvania

This weekend we'll be in Philadelphia at the University of Pennsylvania for PennApps, the premier college hackathon in the US.

PennApps is open to all students (undergrad, graduate, and even high schoolers) regardless of where you go to school. It's a great opportunity to learn new skills or hone existing ones.

So come on out, make some new friends, and build something cool on top of the Rdio API. We'll look forward to seeing you there!

Event location map

∞  February 10, 2014 — 1:51PM

Posted by Kevin Nelson at 1:51PM in Events |

Android SDKReleases

Android SDK v2.0.0

Rdio Android SDK v2.0.0 has been released. It contains the following improvements:

  • Login flow that doesn’t depend on the official app
  • Developers must now explicitly initialize playback
  • When on WiFi, use high-quality streams
  • Rdio#cleanup() now works (#54)
  • Unicode handling for API requests

Upgrade Notes

Improved login flow

Since the Android SDK no longer requires the official Rdio app to function, you’ll need to authorize users with the included OAuth1WebViewActivity. The activity results will include an access token and secret or an error code and description. This access token and secret should then be passed to Rdio#setTokenAndSecret()

Previously the SDK required the user to also have the Rdio for Android installed to authorize your application.

Faster initialization

We’ve made playback initialization an explicit step instead of automatically making an API request at launch to retrieve a playback token. Previously you needed to wait for RdioListener#onRdioReady() before using the SDK. This callback has been removed, you can now start using the SDK right away.

When you know you’ll want the user to listen to music, you’ll need to call Rdio#prepareForPlayback() and then wait for RdioListener#onRdioReadyForPlayback(). Note that if you prepare for playback before setting the access token and secret, you’ll only be able to playback 30-second samples. Once you’ve set the access token, you can call Rdio#prepareForPlayback() again to receive a new playback token.

The reason for this change is that some developers do not use the playback feature and the API request was a waste of resources. It also reduces the time to initialize the SDK.

High Quality Streams

Before this release, the SDK only used low-quality streams. If your application has the ACCESS_NETWORK_STATE permission, the SDK will detect if the user is connected to the Internet via WiFi and use high quality streams. Note that the SDK does not require this permission, it will detect if your application has it and then take advantage of it. If your application doesn’t have the permission, the SDK will default to low quality streams.

Download the latest release, checkout the getting started guide, and let us know what you think.

∞  January 23, 2014 — 3:11PM

Posted by Devin Sevilla at 3:11PM in Android SDK, Releases |

Events

Recap: Music Hack Day Boston

November is a lovely month in Boston. Occasionally sunny, and with winds chilling enough to reach for a hot cup of tea, it's perfect for our favorite adventure through the great indoors: Music Hack Day.

This iteration marked Boston's fifth annual event, and the hacks were as thoughtful and inspiring as ever (for example, our favorite musical instrument that came out of the weekend was a playable lattice of yarn), making it a great closing to a solid year of hackathons.

IMG_5069
The view of Boston from Microsoft.

Here are the hacks that used Rdio:

  • Enter the Dragon
    Enter the Dragon is similar in concept to one of the winners from last month's Music Hack Day in New York City, but implemented a bit differently. At its core, Enter the Dragon provides entrance music to usher in your arrival, but where Here Comes the Boom used Foursquare check-ins and selected music for you automatically, Enter the Dragon uses your phone's bluetooth pairing to determine presence, and allows you to select your own personal entrance music. The hackers even went a step beyond and open sourced their desktop API wrapper. Winner, best use of Rdio API

  • Give Me Liberty or Give Me Death Metal
    This well-named hack takes a look at your Rdio collection and uses the Echo Nest's metadata to attempt to predict your political preferences, and then attempts to automatically generate a letter for you to send to your congress-person based on those predicted political preferences.

  • The RdiolizerSite
    It's no secret that we use Echo Nest taste profiles over here at Rdio, but they're not something we expose to developers or talk about a lot. But, since Mark works at the Echo Nest, he used some of their internal data for this hack, which gives you a pretty neat visualization of your Rdio taste profile. It supports sorting by name, hotttnesss, and familiarity, and filtering by genre, decade, and friends.

  • Music Judge
    Music Judge is an Rdio collection triage system designed to help improve your library. It examines your library and plays you your songs, and similar songs with more Echo Nest hotttnesss. Those that you thumbs down get removed from your collection, and new music that you like gets added.

IMG_5069
The developers of Enter The Dragon with Rdio API Engineer R. Kevin Nelson.

As always, a full list of the hacks is on Hacker League. See you in 2014!

∞  November 25, 2013 — 4:12PM

Posted by Kevin Nelson at 4:12PM in Events |

Events

Music Hack Day Boston 2013

What: Music Hack Day Boston 2013
When: November 9th – 10th, 2013
Where: Microsoft NERD1 Memorial Drive, Cambridge, MA 02142

Event location map

∞  November 05, 2013 — 3:52PM

Posted by Devin Sevilla at 3:52PM in Events |

Events

Recap: Music Hack Day NYC

Last weekend we finished up our Fall Hackathon Tour in New York City for another round of our favorite hackathon, Music Hack Day. Spotify's NYC office, which hosted the event, was welcoming and friendly to everyone (even to those of us sporting Rdio shirts).

The hacks this time around were pretty impressive. Here's the rundown of the ones built on the Rdio API:

  • Crowdplay - Site
    Crowdplay is a social jukebox web app that could very well be the life of your party. Using Twilio and Rdio, Crowdplay lets people send a text with an artist/song title combo to add music to the party's music queue. Tied for winner, best use of Rdio API.

  • Here Comes the Boom
    "Why is it that when baseball players step up to the plate, they get awesome intro music, but when you get to your office in the morning, you get nothing?" Here Comes the Boom solves that problem by listening for Foursquare check-ins to your office, and plays intro music from Rdio whenever someone new checks in. Tied for winner, best use of Rdio API.

  • TuneTravelr - Site
    Have you ever wanted to listen to music from a particular era and a particular city? Well, TuneTravelr lets you do just that! Give it a city, start year, and end year, and listen to tunes from there and then via Rdio.

  • The Awesome Chart Explorer - Site
    The Awesome Chart Explorer is a new (humbly named) hack from the legendary Paul Lamere. It uses data from the Whitburn Project to populate a timeline of Billboard chart singles, the Echo Nest to let you filter the charts by genre and energy, and Rdio to play back the hits.

  • Songs About... - Site
    This hack scrapes Wikipedia to find articles titled "List of songs about [x]", where x is a tag of your choosing, and presents you a playlist of these songs to listen to in Rdio, or another music service, should you choose to do so (but really, why would you?).

  • halfstep - Source
    Motivate your fitness goals by penalizing your music listening! Halfstep is a Chrome Extension that looks at your Fitbit goals and performance of the previous day, and truncates your music listening if you haven't met your goal, to motivate you to get off the couch. Only met 50% of your goal yesterday? Well, all of the music you listen to on Rdio will skip to the next track half-way through. We were expecting the lazier listeners to stampede the office with complaints about this one, but then we realized they were too busy sitting on the couch.

  • Repetition Face Off
    Pit your favorite artists against each other in an automated RPG-style battle of repetition. This hack analyzes tracks by an artist to find repetitive parts, which it then applies to the RPG fight. As the artists fight, the hack plays snippets of songs from Rdio. The artist with the most repetitive songs wins!

  • Spotify v. Rdio - Site
    Well, it was only a matter of time, really. Put in your Last.fm username, and watch us engage in a content battle with Spotify. Though Rdio seems to win for every Last.fm username we've fed it, our understanding is that the match is not rigged.

As usual, a complete list of the hacks is up on Hacker League.

∞  October 25, 2013 — 4:52PM

Posted by Kevin Nelson at 4:52PM in Events |

iOS SDKReleases

iOS SDK v1.3.5

Version 1.3.5 of the Rdio iOS SDK has been released and includes one improvement:

Download the latest release from the Rdio Developer site.

∞  October 18, 2013 — 2:20PM

Posted by Devin Sevilla at 2:20PM in iOS SDK, Releases |

Events

Recap: HackRU

This past weekend, we had the joy of attending our first collegiate hackathon in a couple of years. Not only that, but this iteration of HackRU was their biggest event to date, bringing over 250 hackers together to build more than 70 hacks! It was also the fifth and final hackathon of the Major League Hacking season.

Without further ado, here are the hacks that used Rdio:

  • SongFinder - Site
    SongFinder is the perfect tool for when you have lyrics stuck in your head but can't remember what song they're from. Sing into your computer's mic, and it'll find the song for you on Rdio. Winner, best use of Rdio API

  • Visual Beats
    Visual Beats is a neat hack that uses CV to determine how fast people in a room are moving, then uses the Echonest to find songs to play on Rdio that match the tempo of the room's movement.

  • Food for Thought - Site
    Food for Thought is a barcode scanning app that gives you an image of the food you've scanned and plays an Rdio track related to that food. You can then email the image and music to a friend using SendGrid.

  • Gravatar: The Last Twerkbender - Site
    Either an unabashed parody, a well-timed homage to the art of twerking, or a hack designed to make us all sigh at the state of pop culture (we're honestly not sure which), this hack applies users' Gravatars to twerking animated gifs, with music from Rdio playing in the background. The site also uses shake.js to detect movement from your phone so that you can make your avatar twerk faster.

  • SwiftTracker - Site
    This is the app that all of the hackers wanted to have before the hackathon began. Named after Rutgers alumnus and mentor Swift, this hack lets hackers ping mentors for help, and plays music from Rdio in the background while they wait.

As always, the full list of hacks is up on Hacker League.

∞  October 18, 2013 — 12:49PM

Posted by Kevin Nelson at 12:49PM in Events |

Events

Recap: Music Hack Day Bologna

The Rdio Fall 2013 Hack Day Tour has been going in full force. Last weekend, we were in Bologna for Italy's first Music Hack Day, and just a couple of days ago, we participated in our first college hackathon, HackRU at Rutgers University.

IMG_5069
Cleaning up after the hacking in Bologna

We'll have a post with the summary from Rutgers shortly, but in the meantime, here were the Rdio hacks from Bologna:

  • songs-nado
    Songs-nado is a Google Now inspired hack that uses your current location, local weather, and a few other parameters to automatically curate music suited towards your circumstances. Winner, best use of the Rdio API

  • Tune Runner
    TuneRunner is an iPhone app that tracks your running pace and serves you up tunes based on your current cadence. It also tracks when you're speeding up or slowing down, and if you get too far off-beat, it'll pick a new track for you. Runner up, best use of Rdio API

  • Rdio on TechnoGym
    There wasn't much coding for this hack, but we did a little experiment with some help from TechnoGym, and we were able to get the Rdio app installed on one of their stationary bikes.

There were a couple of other apps at the hackathon that were planning to integrate Rdio, like MusiXmap, but didn't quite get there for the final presentations. Still, we commend their efforts!

The full list of hacks are up on Hacker League.

∞  October 16, 2013 — 11:35AM

Posted by Kevin Nelson at 11:35AM in Events |

Events

Recap: Music Hack Day Chicago

On September 21, the wonderful city of Chicago hosted another iteration of the venerable Music Hack Day. It was a more intimate crowd than we've been used to lately, but there was certainly no lack of talent or creativity, and three of the hacks presented used the Rdio API. Here they are!

  • Jambox
    Jambox is a mobile web player with a responsive design that plays music from Rdio and videos from YouTube so that you can listen to your jams on the go. Winner, best use of the Rdio API

  • Music PopcornSite
    Another hack from the Echonest's prolific Paul Lamere, Music Popcorn shows a dynamic genre-map that re-arranges itself based on the genre you're currently exploring.

  • Hot 100 Replicator
    Clone as many copies of the Billboard Hot 100 playlist to your Rdio account as your heart desires. This replicator was built by Rdio's own Kevin Nelson to help make Billboard's life easier when they update their Hot 100 Playlist.

The full list of hacks are up on Hacker League.

∞  October 14, 2013 — 7:00AM

Posted by Kevin Nelson at 7:00AM in Events |