RubyGems Navigation menu

wmainfo-rb 0.8

:: wmainfo-rb :: Authors: Darren Kirby, Guillaume Pierronnet mailto:bulliver@gmail.com License: Ruby = Quick API docs = == Initializing == require 'wmainfo' foo = WmaInfo.new("someSong.wma") ... or ... foo = WmaInfo.new("someVideo.wmv", :encoding=>"UTF-16LE") (default encoding is ASCII) ... or ... foo = WmaInfo.new("someVideo.wmv", :debug=>1) == Public attributes == @drm :: 'true' if DRM present else 'false' @tags :: dict of strings (id3 like data) @info :: dict of variable types (non-id3 like data) @ext_info :: dict of variable types (non-id3 like data) from ASF_Extended_Content_Description_Object @headerObject :: dict of arrays (name, GUID, size and offset of ASF objects) @stream :: dict of variable types (stream properties data) == Public methods == print_objects :: pretty-print header objects hasdrm? :: returns True if file has DRM hastag?('str') :: returns True if @tags['str'] exists print_tags :: pretty-print @tags dict hasinfo?('str') :: returns True if @info['str'] exists print_info :: pretty-print @info dict print_stream :: pretty-print @stream dict == Thanks/Contributors == Ilmari Heikkinen sent in a fix for uninitialized '@ext_info'. Guillaume Pierronnet sent in a patch which improves character encoding handling.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.8 - August 29, 2014 (10.5 KB)
  2. 0.6 - June 07, 2009* (9.5 KB)
  3. 0.5 - March 18, 2008* (8.5 KB)
  4. 0.4 - October 09, 2007* (8.5 KB)
  5. 0.3 - August 05, 2006* (8.5 KB)

Owners:

Authors:

  • Darren Kirby, Guillaume Pierronnet

SHA 256 checksum:

a5246e616accd6e4c6dc768c80d56e4e68bf0d8e29ba1d0a6f59b3e3aa9a304e

Total downloads 21,402

For this version 4,280

License:

Ruby

Required Ruby Version: >= 0

Links: