2
September 18, 2013

Fun with Spotify Apps: Skip any song by Pitbull

no-barking

Introducing “No Barking!” my first Spotify App. Instead of having to press next whenever Mr. Worldwide comes on, the App just skips ahead to the next track. I’ll be submitting the application to the Spotify App Finder, but I have a feeling they won’t be as enthused about the whole “skip Pitbull” idea as I am. So, in the meantime, you can download the development bundle and load it on your own computer.

Download on GitHub

You’ll have to turn on “Developer Mode” for your account. Here are the quick directions for getting this app installed in Spotify:

  1. Sign up for a developer account on Spotify
  2. Open Terminal, mkdir ~/Spotify
  3. cd ~/Spotify
  4. git clone git://github.com/brianshaffer/skip-pitbull-on-spotify.git
  5. Download the latest version of Spotify
  6. Open Spotify and type “spotify:app:bad-dog” in the search bar (restart Spotify completely in case it doesn’t find the App at first)

BEWARE: If you get too close it’ll bark at you.

4
June 30, 2012

Using Twilio to extend the functionality of Siri

Siri is great for playing music from your iPhone. But if you don’t have the song on your library, Siri can’t go and play it on Spotify, Pandora, Grooveshark, or any of the other players (for now). But if Siri can send a text message to a Twilio number (which I called “Siri Tunes” in my address book), that number can reply with a message linking to an mp3 that can be opened in QuickTime. Watch the demo of the application:

I love building Twilio applications. Contact me if you’re interested having a Twilio application created.

1
June 20, 2011

Mobile Time Tracking using Twilio and Freshbooks

I use Freshbooks to manage all of my invoicing. I manage projects, log hours, and it allows me to keep a careful track of my business. I’m lucky enough to be connect to the internet when I’m working, but for some companies working out in the field, keeping track of hours has been mostly done on pencil and paper.

I built an application integrating Twilio and Freshbooks to solve this problem. Watch the video below to see my Twilio and Freshbooks time tracking system.

How it works

Since you can only submit a completed time log to FreshBooks, the initial clock in call is stored in a database on a separate server. When the user calls back to clock out, it compares the clock out time with the saved clock in time, and then totals up the hours worked. After we know how many hours were worked, the full time log gets submitted to FreshBooks.

Altogether, I mashed up a few different technologies, including:

  • Twilio Voice API
  • Twilio Transcription API
  • FreshBooks API
  • PHP
  • MySQL

If you’re interested in using this for your company, shoot me a message and I’d be happy to set it up for you, or let you license out the code.