Articles in this series

  • Massive iTunes lyrics update

17 responses to “Massive iTunes lyrics update”

  1. Simple Lyrics Widget: dadelyrics | >dade

    [...] have all your songs with lyrics added automatically check out my massive lyrics update script! Have [...]

  2. al

    hey,

    i’ve tried installing and get the same error for both appscript and curb:

    ERROR: Error installing rb-appscript:
    ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install rb-appscript
    can’t find header files for ruby.

    do you know what may be the problem here?
    unfortunately, i am not familiar with it enough :(

  3. scott

    just found this and love it. works great with one slightly major issue, but not one that makes it unusable – if the song title (and perhaps artist) has an ampersand “&” in it, the run will crash. Anyway to add a check to either skip those files, or sub it out to “and” in the lookup so that it doesn’t crash the script?

  4. yud

    hey
    there’s a problem when using macport’s ruby (and probably any custom ruby build) instead of apple’s one…

    problem can be easily fixed by modifying AppSettings.plist and changing

    ScriptInterpreter
    /usr/bin/ruby

    to

    ScriptInterpreter
    /usr/bin/env ruby

    thanks a lot for this handy script :)

  5. Jake

    Hi,

    I’m trying to run the application. I’ve tried installing the curb gems and appscript things in terminal, but it doesnt seem to do much. It asks me for my password in terminal, which i have none for my mac, i press enter, and nothing happens. When i run the application, i get this in the message box

    Running…
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’: no such file to load — appscript (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require’
    from /Users/mullanj/Downloads/MassiveLyrics 2.app/Contents/Resources/script:25

    I’m really unskilled with all this. Can someone help me out?
    Thanks =)

  6. Jake

    Well thats good to hear! =)
    Thanks a bunch!

  7. Como adicionar letras de música automaticamente no seu iTunes

    [...] pesquisa minha, descobri uma gambiarra que o dade fez e chamou de Massive Lyrics. Em vez de acessar a API de um site, ele acessa diretamente a página com a letra da [...]

  8. Eric Van Tichel

    Got everything installed but I’m getting this error:
    Black_Eyed_Peas:Rock_That_Body
    CANNOT FIND any lyrics for Black Eyed Peas – Rock That Body
    ===============================================================
    lyrics already present for 0 song(s)
    lyrics not found for 1 song(s)
    updated 0 song(s)

    for every song without lyrics. When I look at lyricwiki.org I’m getting forwarded to lyrics.wikia.com and I’m able to find the lyrics. But somehow the script seems to fail…
    Thanks in advance.

  9. Vilela

    Does this works with windows?

    If yes could you tell me how?

    thnks!

  10. 0x3333

    Hi!

    I used your script some time ago.

    Now I’m trying to use it, it exits OK, but no lyrics has been updated in iTunes! No files get updated.

    Stdout:

    [01:43:28] user@station:[~/Downloads]:ruby massivelyrics.rb
    “Found: Michael Jackson – Jam”
    “Found: Michael Jackson – Why You Wanna Trip On Me”
    “Found: Michael Jackson – In The Closet”
    “Found: Michael Jackson – She Drives Me Wild”
    “Found: Michael Jackson – Remember The Time”
    “Found: Michael Jackson – Can’t Let Her Get Away”
    “Found: Michael Jackson – Heal The World”
    “Found: Michael Jackson – Black Or White”
    “Found: Michael Jackson – Who Is It”
    “Found: Michael Jackson – Give In To Me”
    “Found: Michael Jackson – Will You Be There”
    “Found: Michael Jackson – Keep The Faith”
    “Found: Michael Jackson – Gone Too Soon”
    “Found: Michael Jackson – Dangerous”
    “lyrics already present 0″
    “updated 14 song(s)”
    “not found 0″

    Thanks!

  11. luca

    I’ve made a few improvements on the script.. here they are:
    1. not require curb, using require ‘net/http’ from the standard library
    pagecontent = Net::HTTP.get_response(URI.parse(url)).body
    2. to handle any special character I convert everything to hex representation
    def str_to_url_hex(str)
    out = “”
    i = 0
    while !str[i].nil? do
    out += ‘%’ + (“%02s” % str[i].to_s(16)).gsub(‘ ‘,’0′)
    i+=1
    end
    out
    end
    song = str_to_url_hex(song)

    3. the liricswiki website moved to http://lyrics.wikia.com/ and the paged didn’t get parsed correctly… so I modified that too.. it’s a bit hacky so I won’t put it here

    thanks for the appscript part, I didn’t know about it!
    bye

  12. Igor

    Hi!

    Maybe I’m blind, but I don’t see a link to download “MassiveLyrics.rb” file. Please give a link.

    Thanks!

  13. admin

    Sorry man, I had to take down the script for maintenance.
    Lyricwiki has changed again, and I am struggling to get appscript working again in leopard 10.6… it is just the last step towards a workable script.
    Anyway I will reactivate the link on the post, if you or someone else wants to figure out things on its own!

Leave a Reply