3
4
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/mr_eko/tag_parser.rb', line 3
def self.parse(filename)
TagLib::FileRef.open(filename, false) do |file|
tag = file.tag
result = Result.new
result.artist = tag.artist
result.title = tag.title
result.album = tag.album
result
end
end
|