RubyGems Navigation menu

ruby-mp3info 0.6.1

* written in pure ruby * read low-level informations like bitrate, length, samplerate, etc... * read, write, remove id3v1 and id3v2 tags * only 2.3 version is supported for writings id3v2 tags == SYNOPSIS: a good exercise is to read the test.rb to understand how the library works deeper require "mp3info" # read and display infos & tags Mp3Info.open("myfile.mp3") do |mp3info| puts mp3info end # read/write tag1 and tag2 with Mp3Info#tag attribute # when reading tag2 have priority over tag1 # when writing, each tag is written. Mp3Info.open("myfile.mp3") do |mp3| puts mp3.tag.title puts mp3.tag.artist puts mp3.tag.album puts mp3.tag.tracknum mp3.tag.title = "track title" mp3.tag.artist = "artist name" end Mp3Info.open("myfile.mp3") do |mp3| # you can access four letter v2 tags like this puts mp3.tag2.TIT2 mp3.tag2.TIT2 = "new TIT2" # or like that mp3.tag2["TIT2"] # at this time, only COMM tag is processed after reading and before writing # according to ID3v2#options hash mp3.tag2.options[:lang] = "FRE" mp3.tag2.COMM = "my comment in french, correctly handled when reading and writing" end

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.8.10 - October 31, 2016 (89.0 KB)
  2. 0.8.9 - February 02, 2016 (89.0 KB)
  3. 0.8.8 - January 26, 2016 (89.0 KB)
  4. 0.8.7 - July 13, 2015 (89.0 KB)
  5. 0.8.6 - March 29, 2015 (26.0 KB)
  6. 0.6.1 - February 27, 2008* (25.0 KB)
显示所有版本 (共 34 个)

Runtime 依赖 (1):

hoe >= 1.5.0

业主:

作者:

  • Guillaume Pierronnet

SHA 256 校验和:

6a6f2dccdad7bded2492c88ecdd79fa25aaa2a5ae2381f185b2910fb2f51d919

下载总量 5,114,921

这个版本 3,360

许可:

需要的 Ruby 版本:

链接: