From Music Hack Day
 Who Are You?
Dylan Jones - 21 year-old Electronic and Communications student at the University of Leeds
 What Is It?
You are walking around between shops, pubs, clubs and your house - they usually have some music playing in the background. Wouldn't it be nice if they played your favourite music?
You register your Bluetooth enabled mobile device to the website cleversounds.info, link your Last.fm and facebook accounts. Next time you visit a place with a cleversounds jukebox (at the moment, just my laptop), you will be played artists that you like!
You get a complete record of what, where and when a track was played for you through the website. You are also offered recommendations on artists we think you may like! You can even see a map of where your tracks were played!
- Facebook Graph API
- Echo Nest
- Google Maps
- University Radio York
 Hardware & Software
 Other Libraries
This project is split into 2 parts. The website and Jukebox.
The website handles user registration and stores their login credentials and MAC address in the database. The user then provides lastfm and facebook credentials and using their APIs, their favourite artists are cached to the database, these are called 'likes'. Images of artists are retrieved from bbc.co.uk/music and lastfm. The site then offers recommendations (provided by the echonest API), along with artist images and biographical information (provided by lastfm).
The Jukebox looks after detecting Bluetooth devices and submitting a list of them to the cleversounds website. The BluetoothViewer.exe is run by a PHP script, which then scrapes the MAC address returning them in JSON.
The website checks:
- which MAC addresses, if any, are registered
- whom has had the least recent play
- what they like
and returns an appropriate track. If there are no registered users, a random track is returned to enjoy.
The track then is provided by University Radio York (more on this below). The song metadata and url are passed to the Jukebox where it then requests images and biographical information (provided by lastfm). The successful 'play' is then registered back to the website along with the MAC address associated with it and the location of the Jukebox. The play data is stored for the users home feed and map.
 The Music Library
I used to be Chief Engineer at URY so have acces to their record library, providing me with acces to 10,000s of tracks on the fly - very handy)