Tuesday, March 11, 2008
We Made it to 1.0!
I made a nice improvement that I feel warrants a 1.0 release. That improvement is simply a hash that stores genres for the life of the process so that an additional query to last.fm is not needed. I fixed a bug where "q" wasn't cleanly aborting the process. Also, I did a little spring cleaning with the code... moved everything out of a main file and into separate files for better organization.
I'm happy to say that build.last.fm accepted my application! So you can now find the tagger on build.last.fm.
If anyone out there would like a feature added, just let me know and I'll see about implementing it.
Get 1.0 now!
I'm happy to say that build.last.fm accepted my application! So you can now find the tagger on build.last.fm.
If anyone out there would like a feature added, just let me know and I'll see about implementing it.
Get 1.0 now!
Labels: last.fm, lastfmtagger, programming, ruby
Comments:
Links to this post:
<< Home
I dont understand tihis aplication, I download it but i cant install and i cant do nothing. What i have to do?
Thanks...
Thanks...
This application allows you to apply genres to artist in your iTunes library with the most popular tags from last.fm without much effort.
What you need to do is to download ruby, choosing your platform (windows, mac, linux) and then installing rubygems along with a command to install RubyOSA (gem install rubyosa)
It is a bit confusing for most people, and I apologize for that. The benefits are that of nicely tagged songs in your iTunes library. :)
Please don't hesitate to ask more specific questions or send me an email directly.
What you need to do is to download ruby, choosing your platform (windows, mac, linux) and then installing rubygems along with a command to install RubyOSA (gem install rubyosa)
It is a bit confusing for most people, and I apologize for that. The benefits are that of nicely tagged songs in your iTunes library. :)
Please don't hesitate to ask more specific questions or send me an email directly.
I m sorry but i dont understand nothing what you say. I cant donwload ruby, i dont know where download, i dont know what means gem install rubyosa... really is difficult for me
???
/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:592:in `__send_event__': application returned error: permErr (-54) (RuntimeError)
from /Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:592:in `genre='
from ./tagger.rb:34:in `start'
from /Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:877:in `each_with_index'
from ./tagger.rb:15:in `each'
from ./tagger.rb:15:in `each_with_index'
from ./tagger.rb:15:in `start'
from tag.rb:14
/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:592:in `__send_event__': application returned error: permErr (-54) (RuntimeError)
from /Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:592:in `genre='
from ./tagger.rb:34:in `start'
from /Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:877:in `each_with_index'
from ./tagger.rb:15:in `each'
from ./tagger.rb:15:in `each_with_index'
from ./tagger.rb:15:in `start'
from tag.rb:14
The problem was that somehow I didn't have write access to that document.
You should maybe include a Rescue or Error for that.
:)
You should maybe include a Rescue or Error for that.
:)
Looks like a very promising app you have here! I have been using FastTagger by Spacom for a year or so but it has not been updated since 20.11.2006. I tried out your ruby script but I cant get it to work. Is it compatible with windows?
ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
gem -v
0.9.4
Itunes 7.6.2.9
Microsoft Windows Vista [Version 6.0.6000]
I select a track in Itunes and run "ruby tag.rb" from cmd.
I get error:
"tag.rb:10: uninitialized constant OSA (NameError)"
ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
gem -v
0.9.4
Itunes 7.6.2.9
Microsoft Windows Vista [Version 6.0.6000]
I select a track in Itunes and run "ruby tag.rb" from cmd.
I get error:
"tag.rb:10: uninitialized constant OSA (NameError)"
I'm running Leopard and am having trouble... I have ruby installed, and I thought I had rubygems too, but when I try to do gem install rubyosa I get this:
Building native extensions. This could take a while...
ERROR: Error installing rubyosa:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install rubyosa
can't find header files for ruby.
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4/ext/libxml/gem_make.out
I've tried looking on google, but haven't found anything helpful.
Post a Comment
Building native extensions. This could take a while...
ERROR: Error installing rubyosa:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install rubyosa
can't find header files for ruby.
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4/ext/libxml/gem_make.out
I've tried looking on google, but haven't found anything helpful.
Links to this post:
<< Home
Subscribe to Posts [Atom]
