Skip to content

Commit

Permalink
Support for retrieving lyrics from ASF tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Jul 7, 2023
1 parent 10239ef commit 044a58a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/wahwah/asf_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class AsfTag < Tag
"WM/Genre" => :genre,
"WM/PartOfSet" => :disc,
"WM/TrackNumber" => :track,
"WM/Year" => :year
"WM/Year" => :year,
"WM/Lyrics" => :lyrics
}

private
Expand Down
Binary file modified test/files/test.wma
Binary file not shown.
1 change: 1 addition & 0 deletions test/wahwah/asf_tag_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_parse
assert_equal 192, tag.bitrate
assert_equal 44100, tag.sample_rate
assert_equal 16, tag.bit_depth
assert_equal "I'm feeling tragic like I'm Marlon Brando", tag.lyrics
assert file_io_closed?(tag)
end
end

0 comments on commit 044a58a

Please sign in to comment.