Read ID3 Tags of Remote MP3 File in Ruby/Rails?
问题 Using Ruby, how can one parse the ID3 tags of remote mp3 files without downloading the entire file to disk? This question has been asked in Java and Silverlight, but no Ruby. Edit: Looking at the Java answer, it seems as though it's possible (HTTP supports it) to download just the tail end of a file, which is where the tags are. Can this be done in Ruby? 回答1: which Ruby version are you using? which ID3 Tag version are you trying to read? ID3v1 tags are at the end of a file, in the last 128