On Oct 29, 11:21 am, "dtow... / gmail.com" <dtow... / gmail.com> wrote:
> Hi Mac,
>
> I wasnt aware of a wma to mp3 converter in ruby...i don't have time
> today, but tomorrow I will give this a try and let you know how it
> goes.
>
> On Oct 26, 6:46 pm, Michael Linfield <globyy3... / hotmail.com> wrote:
>
> > Alright lets start this program over and build up from the basics using
> > a gem.
>
> > require 'rubygems'
> > require 'r2mp3'
>
> > print "File Path: "
> > path = gets.chomp
>
> >   Converter.new(:convert=>:wma,:file=>"#{path}"){|f| f.to_mp3 }
>
> > ##########
>
> > Keep in mind you will have to install the r2mp3 gem via command line  -
> > gem install r2mp3
>
> > This SHOULD work, i dont have any resources in front of me right now so
> > i cant double check, but let me know if you need any additions to the
> > code above.
>
> > - Mac
> > --
> > Posted viahttp://www.ruby-forum.com/.

Just so you know, r2mp3 uses temp files for conversion so if that's an
actual problem rather than a preference, you might need something else.