def file_tail (file, offset)
56 f=File.new(file)
f.seek(-offset,IO::SEEK_END)
f.read
end
def get_tags file
file_tail(file, 128)
end
using these def to get ID3 data
works well till it encounters this
Äîðîãàÿïðîïàæà.mp3
56 :in ‘initialize’ : Invalid argument - c://///Äîðîãàÿïðîïàæà.mp3
(Errno::EINVAL)