0 people following this project (follow)

Project Description
Spautofy is a little app which sits alongside Spotify. Start it up, and pick a song to play in Spotify. In the background, Spautofy will try to find a similar song to queue, and then a similar song to that, and so on - letting you pick a mood for your music and then leave it unattended.

News

12/03/12 - Spautofy has been deprecated in favour of spotipath. See https://github.com/barneyboo/spotipath for details or visit http://www.spotipath.com for a live demo.

17/10/11 - the recent updates to Spotify to add deeper integration with Facebook seem to be causing some stability issues. I think this is because Spautofy is sometimes a second too late switching song, so Spotify falls back to the queue from whenever you picked your seed song (ie. search results) before Spautofy immediately takes over. I assume the sudden double-publish to Facebook isn't being handled well by Spotify so it will sometimes crash out. For now the best workaround is to make sure you play your seed song from an empty queue!

Important!

Spautofy is a very immature project and hasn't been tested beyond my using it every day! This initial release should not be considered stable. Spautofy requires the .NET Framework 3.5 and an active Spotify account (and installation). It hasn't yet been tested with free accounts, so I have no idea how well it'll work with ads interfering...

Features

  • Automatic queueing of songs similar to the current playing track in Spotify, and the history of songs queued so far (based on similar artist data from Last.fm)
  • Optional balloon notification when next song has been determined
  • Automated manipulation of Spotify window to queue songs
  • Doesn't queue songs if not available in your region

To-do

  • Better assertions that the right song has been queued
  • Recover better from HTTP errors
  • Manipulation of Spotify without dodgy hwnd hackery
  • Gracefully handle manual intervention of Spotify (ie. if the user changes track or wants an alternative recommendation)
  • Considering this was developed with parties in mind, some sort of 10ft UI for showing what's going on and letting people easily override recommendations

Acknowledgements

  • Last.fm for their wonderful API and lots and lots of data!
Spautofy makes use of the following libraries:
  • Spotikat - excellent API to query the Spotify catalogue
  • InputSimulator - used for some of the automated manipulation of Spotify

How you can help

Filing lots of bug reports and being generally chatty is good (whether things are broken or you have some ideas for other stuff!) Alternatively, if you're of a codely persuasion feel free to contribute to the source. I'm particularly hopeful someone has a way more elegant and robust solution for manipulating Spotify...

Last edited Mar 12 at 9:02 PM by barneyboo, version 11