Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Hackathon 2012
Branch: master
Pull request Compare This branch is even with xemle:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
client
proxy-server
spotify-app
.gitignore
AUTHORS
README.md

README.md

Hotify

Hotify allows your guests to decide which songs are played next.

You set up a computer running Spotify and everbody can vist a mobile website to suggest and vote for songs that should be played next.

Proxy Server

The proxy server is requried for broadcasting message. It is a simple server using ruby

Installation on Ubuntu

Install Ruby and required gems

$ sudo apt-get install ruby-dev
$ sudo gem install em-websocket hallon

Install Libspotify

Download libspotify.so from https://developer.spotify.com/technologies/libspotify to proxy-server/lib

If you download libspotify.so to some arbitrary location let LD know about it!

$ export LD_LIBRARY_PATH=<directory of libspotify.so>

Run Proxy Server

By default the proxy server will listen on port 8080 on all interfaces

$ cd proxy-server
$ ruby server.rb

Hotify in Spotify

Add hotify directory to spotify (directory above spotify-app) and search in spotify for spotify:app:hotify

Something went wrong with that request. Please try again.