ruby-mp3info
ruby-mp3info copied to clipboard
ruby-mp3info read low-level informations and manipulate tags on mp3 files.
Code to create ID3v2 chapters using ruby-mp3info here: https://gist.github.com/4696943 Would be great to have that as a simpler API.
``` /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:620 in find_next_frame /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:646 in block in parse_mp3 /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:645 in times /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:645 in parse_mp3 /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:293 in reload /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:230 in initialize /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:300 in new /gems/ruby-mp3info-0.8.9/lib/mp3info.rb:300 in open app/models/zip_file.rb:47 in read_mp3_data...
I am trying to just write the title, artist, album, and genre. But when I do that it removes the comment and lyrics tags. How can I keep other tags...
We use developed specially for [HardcodeFM podcast](https://hardcode.fm/) The latest build is here: https://travis-ci.org/hardcodefm/ruby-mp3info/builds/605733195 This version is very dirty but it works :) See usage in https://github.com/hardcodefm/hardcode/blob/master/bin/thor#L58
I am looking to get the size of the v2 tags and I can't find anything in the code even though I imagine it has to know to determine when...
Please add a binary with an interface similar to the old mp3info soft. @moumar Could you?
There can be a case when you need to get info for many mp3 files by their uris and you wouldn't like to download all of them. It seems it's...
I'm having trouble using mp3info 0.8.9 to read a particular comment tag. Here's the contents of the tag: ``` 0000030: 3543 4f4d 4d00 0000 0f00 0000 656e 6700 5COMM.......eng. 0000040:...
``` song = "song.mp3" artist = "artist name" Mp3Info.open(song) { |mp3info| puts mp3info # correctly shows info } Dir.mkdir(artist) unless File.exists?(artist) File.rename("./#{song}", "./#{artist}/#{song}" # moving file to a subfolder named...
Also, my editor cleaned up some whitespace