From: peteV Date: 2012-12-09T07:00:18+09:00 Subject: Re: strange syntax error on rename This is a multi-part message in MIME format. --------------090205020009090507070707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/07/2012 08:32 PM, Chris Hulan wrote: > i updated the gist, but i haven't actually run the code ;) > > > > On Fri, Dec 7, 2012 at 8:29 PM, Chris Hulan > wrote: > > is this happening every time? > possibly some non-mp3 files in the dir? > > also, Dir.foreach does not give the full path > so may have to append the path, > > > yeah some m4a files but the tag is read, I tried it with a single file it worked with just the tag code part. so yeah I was looking at appending the full path and tried it but strangely it does not find a valid file. scratching my head. I think I need to read more about the blocks and iterators. I'm trying to learn a bit hands on but once in a while one needs to read a bit :) --------------090205020009090507070707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 12/07/2012 08:32 PM, Chris Hulan wrote:
i updated the gist, but i haven't actually run the code ;)



On Fri, Dec 7, 2012 at 8:29 PM, Chris Hulan <chris.hulan@gmail.com> wrote:
is this happening every time?
possibly some non-mp3 files in the dir?

also, Dir.foreach does not give the full path
so may have to append the path, 



yeah some m4a files but the tag is read, I tried it with a single file it worked with just the tag code part. so yeah I was looking at appending the full path and tried it but strangely it does not find a valid file.
scratching my head. I think I need to read more about the blocks and iterators.
I'm trying to learn a bit hands on but once in a while one needs to read a bit :)


--------------090205020009090507070707--