Categories: None [Edit]
wmainfo-rb
:: wmainfo-rb ::
Authors: Darren Kirby, Guillaume Pierronnet
mailto:[email protected]
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.
Total
Ranking: 46,746 of 182,853
Downloads: 21,935
Daily
Ranking: 39,387 of 182,840
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
123,690 | 4,674 | vjt-ruby-audioinfo |
125,281 | 4,572 | panmind-ruby-audioinfo |
Depends on
Rank | Downloads | Name |
---|
Owners
# | Gravatar | Handle |
---|---|---|
1 | bulliver |