Socket
Book a DemoInstallSign in
Socket

vjt-ruby-audioinfo

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vjt-ruby-audioinfo

0.1.6
bundlerRubygems
Version published
Maintainers
2
Created
Source

= ruby-audioinfo

by Guillaume Pierronnet

  • http://ruby-audioinfo.rubyforge.org
  • http://rubyforge.org/projects/ruby-audioinfo/

== DESCRIPTION:

ruby-audioinfo glue together various audio ruby libraries and presents a unified API to the developper. Currently, supported formats are: mp3, ogg, mpc, ape, wma, flac, aac, mp4, m4a.

== FEATURES/PROBLEMS:

  • beta write support for mp3 and ogg tags (other to be written)
  • unified support for tag text-encoding. AudioInfo.new("file", "utf-8") and you're done!
  • support for MusicBrainz tags
  • AudioInfo::Album class included, which gives an unified way to manage an album in a given directory.

== SYNOPSIS:

AudioInfo.open("audio_file.one_of_supported_extensions") do |info| info.artist # or info["artist"] info.title # or info["title"] info.length # playing time of the file info.bitrate # average bitrate info.to_h # { "artist" => "artist", "title" => "title", etc... } end

== REQUIREMENTS:

== INSTALL:

  • sudo gem install ruby-audioinfo

== LICENSE:

Ruby

FAQs

Package last updated on 20 Mar 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.