Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Finds and Displays YouTube songs for Albums
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
generate
lib
log
public
script
test
tmp
vendor/plugins
.gitignore
README
Rakefile

README

# About Albumr

## What to do.

1.  Type in an Artist name in the search box.
2.  Then select an album from the displayed albums.
3.  Now enjoy listening to your album.
4.  If Albumr doesn't find the song, just click "Provide Alternative" next to that song. It will give you a convenient link to see the search results. Just paste the youtube video link that best matches the song, and TADA.

## How does this work?

After you type in an album it uses [Last.fm][1] to find the albums. 

When you click on an album, it then looks on [Last.fm][1] to find the songs and the duration. 

Finally it queries [YouTube][2] for the "Artist - Album - Song Name". It then removes live performances and looks for the song with the closest duration. 

## Technical Details

App written in [Rails][3]. :)

Client code written in [jQuery][4].

Songs use [Delayed Job][5] to query YouTube asynchronously. This allows for much faster browser response times.

Once songs are found, they are pushed to the client using [Juggernaut][6] and the [jQuery port][7].

Albums are found using the [Last.fm API][8]. Songs are scraped from Last.fm using [mechanize][9]. YouTube songs are queried using [youtube-g][10].

## About GrowlyPants (The Author)

[He][11] is a pretty cool guy.

He has also provided the [source][12] for you to enjoy.

 [1]: http://www.last.fm/
 [2]: http://www.youtube.com/
 [3]: http://rubyonrails.org/
 [4]: http://jquery.com/
 [5]: http://github.com/collectiveidea/delayed_job
 [6]: http://juggernaut.rubyforge.org/
 [7]: http://github.com/dvdplm/juggernaut-jquery
 [8]: http://www.last.fm/api
 [9]: http://github.com/tenderlove/mechanize
 [10]: http://github.com/tmm1/youtube-g
 [11]: http://github.com/growlypants
 [12]: http://github.com/growlypants/albumr
Something went wrong with that request. Please try again.